【发布时间】:2016-09-29 17:17:14
【问题描述】:
尝试在 SSRS 上部署 10mb 报告时,我收到以下错误 -
错误 1 System.Web.Services.Protocols.SoapException:运行配置文件中指定的扩展时出现异常。 ---> System.Web.HttpException:超出最大请求长度。在 System.Web.HttpRequest.GetEntireRawContent() 在 System.Web.HttpRequest.get_InputStream() 在 System.Web.Services.Protocols.SoapServerProtocol.Initialize() --- 内部异常堆栈跟踪结束 --- 在 System.Web .Services.Protocols.SoapServerProtocol.Initialize() 在 System.Web.Services.Protocols.ServerProtocol.SetContext(类型类型,HttpContext 上下文,HttpRequest 请求,HttpResponse 响应)在 System.Web.Services.Protocols.ServerProtocolFactory.Create(类型类型, HttpContext 上下文, HttpRequest 请求, HttpResponse 响应, Boolean& abortProcessing) 0 0
我已经对此进行了大量研究,根据我的发现,解决此问题的唯一方法是更改 web.config 文件。问题是我已经做到了,但我仍然无法让它工作。我们在 Sharepoint 模式下安装了 SSRS2012,因此C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer 文件夹不存在。我确实在以下位置找到了 web.config 文件 - C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\WebServices\Reporting。我将以下行更改为
<httpRuntime executionTimeout="9000" maxRequestLength="1048576" />
但这仍然不起作用。我还在以下位置找到了一个 web.config 文件 - C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\WebServices\Reporting 并像上面一样更改了文件,但仍然没有乐趣。还有其他我应该更改的配置文件吗?
【问题讨论】:
-
能否分享一下您在TargetDatasetFolder、TargetReportFolder中提供的内容.....?(可能是格式)
-
TargetDatasetFolder - 数据集和 TargetReportFolder - 销售报告。我在同一个项目中有另外 2 个较小的报告,它们部署得很好。
标签: ssrs-2012