gpt4 book ai didi

reporting-services - ssrs 错误超出最大请求长度

转载 作者:行者123 更新时间:2023-12-02 07:21:04 26 4
gpt4 key购买 nike

我在 SSRS 2016 的报表生成器中打开一个报表文件(在 SSRS 2014 中创建),以便将其保存到报表管理器站点或预览它,我收到此错误:

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.ServerProtocolFactory.Create(Type type,
HttpContext context, HttpRequest request, HttpResponse response, Boolean&
abortProcessing)

报表管理器网站上的上传选项也不起作用。

最佳答案

此错误是由于 .rdl 文件的大小造成的。我的 .rdl 文件大约为 4MB,因此我只需要增加 web.config 文件中 httpRuntime 行的 maxRequestLength 的值,然后重新启动 iis:

 httpRuntime executionTimeout = "9000" maxRequestLength="500000"

在本例中,我将最大大小设置为 5 MB。

关于reporting-services - ssrs 错误超出最大请求长度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40646684/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com