我在机器上重新安装了 SSRS,并尝试为每个配置 ReportServer 和 Report Portal 的 HTTP 和 HTTPS URL。
http://local-PC/reports > 401, changed to 503, 500 over time
http://local-PC/reportserver > 505 (NullRefEx), changed to 200 over time
https://local-PC/reports > 401, changed to 503, 500 over time
https://local-PC/reportserver > 404
当我尝试处理个别错误时,谁能帮我弄清楚为什么 URL 不稳定并且错误不断变化?
我已经尝试清除
Report Server Configuration Manager
和通过 netsh http delete urlacl URL=http://local-PC:80/Reports/
中的 URL 保留,重新安装 SSRS,清除 IIS 应用程序。
如果我直接在 IIS 中创建指向安装目录的 URL,它可以用于 IIS 目录浏览目的。
我也试过:
RsReportServer.config url 保留:
<URLReservations>
<Application>
<Name>ReportServerWebService</Name>
<VirtualDirectory>ReportServer</VirtualDirectory>
<URLs>
<URL>
<UrlString>http://+:80</UrlString>
<AccountSid>S-1-5-80-4050220999-2730734961-1537482082-519850261-379003301</AccountSid>
<AccountName>NT SERVICE\SQLServerReportingServices</AccountName>
</URL>
<URL>
<UrlString>https://local-PC:443</UrlString>
<AccountSid>S-1-5-80-4050220999-2730734961-1537482082-519850261-379003301</AccountSid>
<AccountName>NT SERVICE\SQLServerReportingServices</AccountName>
</URL>
</URLs>
</Application>
<Application>
<Name>ReportServerWebApp</Name>
<VirtualDirectory>Reports</VirtualDirectory>
<URLs>
<URL>
<UrlString>http://+:80</UrlString>
<AccountSid>S-1-5-80-4050220999-2730734961-1537482082-519850261-379003301</AccountSid>
<AccountName>NT SERVICE\SQLServerReportingServices</AccountName>
</URL>
<URL>
<UrlString>https://local-PC:443</UrlString>
<AccountSid>S-1-5-80-4050220999-2730734961-1537482082-519850261-379003301</AccountSid>
<AccountName>NT SERVICE\SQLServerReportingServices</AccountName>
</URL>
</URLs>
</Application>
</URLReservations>