且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

错误:指定的 TargetServerURL 无效.在部署设置中为报表服务器指定有效的 URL

更新时间:2023-11-27 13:46:28

我发现了一些东西,所以这就是我发布这个老问题的原因.

I found out something, so that's why I post to this old question.

在启动一个新的 VS2013 s-s-rS 项目并尝试部署到同一 RS 服务器后,我遇到了同样的问题,但部署到了不同的服务器.

I had the same problems after starting a new VS2013 s-s-rS project and tried to deploy to the same RS server, but to a different server.

我不断收到错误消息:指定的 TargetServerURL 无效.在部署设置中为报表服务器指定一个有效的 URL.

I kept getting the error: The specified TargetServerURL is not valid. Specify a valid URL for report server in the deployment settings.

四重检查所有内容后,我发现我在发布模式下更改了 s-s-rs 项目属性,但在 VS 2013 中我在调试模式下部署了项目.将 VS 2013 配置更改为作为 Release 运行后,它找到了正确的 s-s-rs 项目设置并在首次运行时部署良好.

After quadruple checking everything,I found that I was changing the s-s-rs project property on Release mode but in VS 2013 I was deploying the project in Debug mode. After changing the VS 2013 configuration to run as Release it found the right s-s-rs project settings and deployed fine on first run.