Reporting services SSRS上载14Mb报告不工作(超过最大请求长度。)

Reporting services SSRS上载14Mb报告不工作(超过最大请求长度。),reporting-services,ssrs-2012,Reporting Services,Ssrs 2012,我知道这是一个愚蠢的问题,但我找到的答案对我不起作用,或者我做错了什么 我需要上传一个14.2Mb的报告到SSRS,并且超过了最大请求长度 Maximum request length exceeded. 我已将web.config更改为:httpRuntime executionTimeout=“9000”maxRequestLength=“16384” httpRuntime executionTimeout="9000" maxRequestLength = "16384" 在里面 C:\

我知道这是一个愚蠢的问题,但我找到的答案对我不起作用,或者我做错了什么

我需要上传一个14.2Mb的报告到SSRS,并且超过了最大请求长度

Maximum request length exceeded. 我已将web.config更改为:httpRuntime executionTimeout=“9000”maxRequestLength=“16384” httpRuntime executionTimeout="9000" maxRequestLength = "16384" 在里面 C:\Program Files\Microsoft SQL Server\MSRS12.EXO\Reporting Services\ReportManager\Web.config

及 C:\Program Files\Microsoft SQL Server\MSRS12.EXO\Reporting Services\ReportServer\Web.config

然后我重新设置了IIS。在此之后,我出现了以下错误:

System.Web.Services.Protocols.SoapException: There was an exception running the extensions specified in the config file. ---> System.Web.HttpException: Maximum request length exceeded. at System.Web.HttpRequest.GetEntireRawContent() at System.Web.HttpRequest.get_InputStream() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() --- End of inner exception stack trace --- at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) System.Web.Services.Protocols.SoapException:运行配置文件中指定的扩展名时出现异常。-->System.Web.HttpException:超出最大请求长度。在System.Web.Services.Protocols.SoapServerProtocol.Initialize()处的System.Web.HttpRequest.get\u InputStream()处的System.Web.Services.Protocols.SoapServerProtocol.Initialize()---内部异常堆栈跟踪的结尾---在System.Web.Services.Protocols.SoapServerProtocol.Initialize()处的System.Web.Services.Protocols.ServerProtocols.SetContext处的(类型类型,HttpContext上下文,HttpRequest请求,HttpResponse响应)位于System.Web.Services.ProtocolProtocolFactory.Create(类型,HttpContext上下文,HttpRequest请求,HttpResponse响应,布尔值和中止处理)
我做错了什么?

问题是我必须更改maxRequestLength=“1048576”。我不确定为什么16384的值对14Mb报表不起作用?但问题对我来说已经解决了:)

你说你重置了IIS。。。你真的重启了SSRS服务吗?SSRS在SQL Server 2005之后不使用IIS。是的,但是在测试maxRequestLength=“1048576”之后,它就可以工作了??所以我不明白maxRequestLength的值,是10Mb还是104Mb?