We help IT Professionals succeed at work.

Sys.WebForms.PageRequest.... Error

Mayank_Agarwal
on
HI i am using asp.net ands ajax code to allow submit to DB. it seemed to be working fine but now i have started to get this error when i  click DONE button to save the text to DB
Sys.webforms.PageRequestManagerServerErrorexpection Unknown error occured when processing the request from server. the status code returned from the server was: 500

I am using the FCKEDitor component as well.
Comment
Watch Question

Senior Web Developer
CERTIFIED EXPERT
Commented:
Please add the following page directive to the page.
      ValidateRequest="false"

This happens due to AJAX timer bug according to some forums.
http://forums.asp.net/p/1069384/1555817.aspx
http://forums.asp.net/p/1046935/1576341.aspx#1576341

You can avoid the bug by adding to Session_Start...

void Session_Start(object sender, EventArgs e) 
{
    string sessionId = Session.SessionID;
}  

Open in new window

Author

Commented:
Thanks for the solution.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.