Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Following error I'm getting:

Uncaught Sys.WebForms.PageRequestManagerParserErrorException: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Posted

The action that causes this code to execute MUST be a postback event, and not an AJAX call. This is due to the nature of the way AJAX requests are processed.
Check Sys.WebForms.PageRequestManagerParserErrorException - what it is and how to avoid it[^]

Hope it helps!

--Amit
 
Share this answer
 
I added
C#
if (Session.SessionID == "")
        {
            Page.Session.Add("SessionID", Session.SessionID);
        }


in Page Load.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900