SSRS2005站点如果全部未分配访问没有问题,如果指定一个IP就会提示400 Bad Request错误,以前也遇到过这个问题,记录一下解决方法:
找到RSWebApplication.config文件,这个文件在SSRS的安装目录下,比如D:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportManager
清除ReportServerVirtualDirectory节点的值,将ReportServerUrl赋值为正确的地址,如下所示:
<UI>
<ReportServerUrl>http://192.168.0.1/reportserver</ReportServerUrl>
<ReportServerVirtualDirectory></ReportServerVirtualDirectory>
<ReportBuilderTrustLevel>FullTrust</ReportBuilderTrustLevel>
</UI>
<ReportServerUrl>http://192.168.0.1/reportserver</ReportServerUrl>
<ReportServerVirtualDirectory></ReportServerVirtualDirectory>
<ReportBuilderTrustLevel>FullTrust</ReportBuilderTrustLevel>
</UI>