Click here to Skip to main content
15,893,904 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am getting java Secript error while transferring control to another screen with the help of Response.Redirect.

Plz Help


XML
Error: 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.
Details: Error parsing near '<BODY><ASP_SMARTNAV_'.
Posted
Comments
Tejas Vaishnav 2-Apr-12 0:22am    
please provide your code and notify from where you got that error.
Deepak Manuja 2-Apr-12 4:12am    
If lblError.Text = "Record Updated Successfully" Then
lblError.Attributes.Add("class", "AlertMsg")
Clear()
Response.Redirect("ApplicantInformation.aspx?msg=Record Updated Successfully")

When the control reaches to response.redirect statement than it throws this exception

Else
lblError.Attributes.Add("class", "ErrorMsg")
End If

1 solution

I believe this [^] is a good explanation about the error you are getting. If not, there are tons of articles if you search the error on google.
 
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