简体   繁体   English

HTTP错误404.15-导出水晶报表mvc4时找不到

[英]HTTP Error 404.15 - Not Found while exporting crystal report mvc4

I am able to view the report(crystal report) in ASP.NET mvc (aspx view) without any error 我能够在ASP.NET MVC(aspx视图)中查看报告(水晶报告)而没有任何错误

But when I export the report to either PDF or other format, the 但是当我将报告导出为PDF或其他格式时,

HTTP Error 404.15 - Not Found HTTP错误404.15-未找到

The request filtering module is configured to deny a request where the query string is too long. 请求过滤模块被配置为在查询字符串太长的情况下拒绝请求。

why its sending query string while exporting? 为什么在导出时发送查询字符串?

HTTP Error 404.15 - Not Found The request filtering module is configured to deny a request where the query string is too long. HTTP错误404.15-找不到请求过滤模块配置为在查询字符串过长的情况下拒绝请求。

Most likely causes: 最可能的原因:

Request filtering is configured on the Web server to deny the request because the query string is too long. 由于查询字符串太长,因此在Web服务器上将请求过滤配置为拒绝请求。

Things you can try: 您可以尝试的事情:

Verify the configuration/system.webServer/security/requestFiltering/requestLimits@maxQueryString setting in the applicationhost.config or web.config file. 验证applicationhost.config或web.config文件中的configuration/system.webServer/security/requestFiltering/requestLimits@maxQueryString设置。

<configuration>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxUrl="10999" maxQueryString="2097151" />
</requestFiltering>
</security>
</system.webServer>
</configuration>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM