I am using a global variable in an SSRS but it is returning the wrong value.

Globals!ReportServerURL is supposed to return the actual report server URL, but instead it is returning "localhost" as the report server URL.

The Globals!ReportServerURL was returning the correct URL value on the test server, but as soon as I deployed it to the production server it started returning http://localhost:8090/ instead.

Can someone give me direction on how to resolve this?

Thanks in advance,

Marwan

有帮助吗?

解决方案

I solved this issue by adding the following to the server configuration file:

<UrlRoot>
     http://ServerName/ReportServerName
</UrlRoot>
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top