Globals!ReportServerUrl Returning LocalHost Instead of Report Server URL
-
31-05-2021 - |
Question
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
Solution
I solved this issue by adding the following to the server configuration file:
<UrlRoot>
http://ServerName/ReportServerName
</UrlRoot>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow