简体   繁体   中英

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

But when I export the report to either PDF or other format, the

HTTP Error 404.15 - Not Found

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.

Most likely causes:

Request filtering is configured on the Web server to deny the request because the query string is too long.

Things you can try:

Verify the configuration/system.webServer/security/requestFiltering/requestLimits@maxQueryString setting in the applicationhost.config or web.config file.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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