• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 835
  • Last Modified:

Sys.WebForms.PageRequest.... Error

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.
0
Mayank_Agarwal
Asked:
Mayank_Agarwal
1 Solution
 
Sachintana DissanayakeSenior Web DeveloperCommented:
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

0
 
Mayank_AgarwalAuthor Commented:
Thanks for the solution.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now