ssrs 错误超出最大请求长度
ssrs error Maximum request length exceeded
我在 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。
您需要修改 httpruntime 元素下的两个 Web.config 文件 属性。您会在
的路径下找到
1)报表管理器\程序Files\MicrosoftSQLServer\MSSQL.12\ReportingServices\ReportManager
2)报表服务器\程序Files\MicrosoftSQLServer\MSSQL.12\ReportingServices\ReportServer
httpRuntime executionTimeout = "9000" maxRequestLength="500000"
用粗体文本编辑上面的行(如##sqluser 所解释)
错误:“SQL Reporting Services 错误 - 超过最大请求长度”
虽然这很容易修复。您必须为网络应用程序调整 web.config,在报告服务器的情况下,通常是这样的:
C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer
找到您的报告服务实例的 web.config 文件,将其打开,然后找到类似这样的行
executionTimeout = “9000” />
现在只需在其中添加最大请求长度属性即可解决问题,并根据需要调整大小。这是5兆。
executionTimeout = “9000” maxRequestLength=”500000″ />
现在您需要重新启动 IIS。开始->运行->”iisreset”
我最近在更换图片时遇到了同样的问题header。
我发现每次添加图像资源时,它都会将其保存在图像下的报告中。
检查您是否有任何可以删除的内容:
我在 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。
您需要修改 httpruntime 元素下的两个 Web.config 文件 属性。您会在
的路径下找到
1)报表管理器\程序Files\MicrosoftSQLServer\MSSQL.12\ReportingServices\ReportManager
2)报表服务器\程序Files\MicrosoftSQLServer\MSSQL.12\ReportingServices\ReportServer
httpRuntime executionTimeout = "9000" maxRequestLength="500000"
用粗体文本编辑上面的行(如##sqluser 所解释)
错误:“SQL Reporting Services 错误 - 超过最大请求长度”
虽然这很容易修复。您必须为网络应用程序调整 web.config,在报告服务器的情况下,通常是这样的:
C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer 找到您的报告服务实例的 web.config 文件,将其打开,然后找到类似这样的行
executionTimeout = “9000” />
现在只需在其中添加最大请求长度属性即可解决问题,并根据需要调整大小。这是5兆。
executionTimeout = “9000” maxRequestLength=”500000″ />
现在您需要重新启动 IIS。开始->运行->”iisreset”
我最近在更换图片时遇到了同样的问题header。 我发现每次添加图像资源时,它都会将其保存在图像下的报告中。 检查您是否有任何可以删除的内容: