一般情况下,Reporting Services都是使用Web网站的默认端口80,最近有个项目由于原因特殊(具体原因就不细说了),不能使用80端口,需要通过防火墙映射端口过来。
由于端口发生变化,导致无法通过地址加端口的方式访问报表。后来通过修改一个配置文件 RSWebApplication.config 就OK了,修改 ReportServerUrl 节点,追加端口号。
由于端口发生变化,导致无法通过地址加端口的方式访问报表。后来通过修改一个配置文件 RSWebApplication.config 就OK了,修改 ReportServerUrl 节点,追加端口号。
1<Configuration>
2 <UI>
3 <ReportServerUrl>http://192.168.1.212:188/ReportServer</ReportServerUrl>
4 </UI>
5 <Extensions>
6 <DeliveryUI>
7 <Extension Name="Report Server Email" Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailDeliveryProviderControl,ReportingServicesEmailDeliveryProvider">
8 <DefaultDeliveryExtension>True</DefaultDeliveryExtension>
9 <Configuration>
10 <RSEmailDPConfiguration>
11 <DefaultRenderingExtension>MHTML</DefaultRenderingExtension>
12 </RSEmailDPConfiguration>
13 </Configuration>
14 </Extension>
15 <Extension Name="Report Server FileShare" Type="Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareUIControl,ReportingServicesFileShareDeliveryProvider">
16 <Configuration>
17 <FileShare>
18 <DefaultRenderingExtension>MHTML</DefaultRenderingExtension>
19 </FileShare>
20 </Configuration>
21 </Extension>
22 </DeliveryUI>
23 </Extensions>
24 <Add Key="MaxActiveReqForOneUser" Value="20"/>
25 <Add Key="DisplayErrorLink" Value="true"/>
26</Configuration>
27
2 <UI>
3 <ReportServerUrl>http://192.168.1.212:188/ReportServer</ReportServerUrl>
4 </UI>
5 <Extensions>
6 <DeliveryUI>
7 <Extension Name="Report Server Email" Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailDeliveryProviderControl,ReportingServicesEmailDeliveryProvider">
8 <DefaultDeliveryExtension>True</DefaultDeliveryExtension>
9 <Configuration>
10 <RSEmailDPConfiguration>
11 <DefaultRenderingExtension>MHTML</DefaultRenderingExtension>
12 </RSEmailDPConfiguration>
13 </Configuration>
14 </Extension>
15 <Extension Name="Report Server FileShare" Type="Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareUIControl,ReportingServicesFileShareDeliveryProvider">
16 <Configuration>
17 <FileShare>
18 <DefaultRenderingExtension>MHTML</DefaultRenderingExtension>
19 </FileShare>
20 </Configuration>
21 </Extension>
22 </DeliveryUI>
23 </Extensions>
24 <Add Key="MaxActiveReqForOneUser" Value="20"/>
25 <Add Key="DisplayErrorLink" Value="true"/>
26</Configuration>
27