Link to home
Start Free TrialLog in
Avatar of Eric_Shugarts
Eric_ShugartsFlag for United States of America

asked on

AJAX Exception

Folks,
I am developing a ASP.Net application. I have extensively used AJAX in my development. Frequently, when I submit a form which generates a pdf dynamically based on the form contents submitted, I get the error:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500

I tried reinstalling AJAX but it did not help.

Please help
ASKER CERTIFIED SOLUTION
Avatar of skiltz
skiltz
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Eric_Shugarts

ASKER

thanks
Avatar of sgidman
sgidman

I solved it myself in the end the webconfig file must contain the line

<httpRuntime maxRequestLength="100000" requestValidationMode="2.0"/>