我知道这是一个愚蠢的问题,但我发现的答案对我没有用,或者我做错了什么?
我需要向SSRS上传一份14.2Mb的报告并获得
Maximum request length exceeded.
我已将web.config更改为:
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)
我做错了什么?