This is a migrated thread and some comments may be shown as answers.

Strange Ajax related error

3 Answers 26 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jialiang_liu
Top achievements
Rank 1
jialiang_liu asked on 20 Nov 2008, 04:42 PM
I have a grid on a page that has a editing template. When I run the grid in debug mode, everything works fine. But when I uploaded the site to server and run it, I got this 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 Respoonse.Write(), response filters, HttpModules, or server trace is enabled.

Details: Error parsing near '

<!DOCTYPE html P'.

Please advise.

3 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 24 Nov 2008, 02:14 PM
Hello jialiang_liu,

I think that the information from the following blog post on our site can help you address the issue you are currently facing when moving your web site to a production server:

http://blogs.telerik.com/HristoDeshev/Posts/07-06-24/Firewalls_breaking_ASP_NET_AJAX.aspx

Best regards,
Sebastian
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
jialiang_liu
Top achievements
Rank 1
answered on 26 Nov 2008, 08:16 PM
I have checked with the IT department in my company, there is no firewall between my computer and my test server. So it is not the firewall that is stripping the header. However, I further test, if I remote into the server and run the application from the server, the problem goes away. So I do think it is something to do with the communication between the server and my machine. Do you have any suggestion what it may be beside firewall?

Thanks,

George
0
Sebastian
Telerik team
answered on 01 Dec 2008, 11:11 AM
Hi jialiang_liu,

Unfortunately in your particular case I cannot say for certain what might be the exact cause for the PageRequestManager exception. To troubleshoot the error to find the reason and eliminate it, I suggest you inspect the traffic between your machine and the server using the Fiddler tool or FireBug - their statistics/logs can provide further insight about how to tackle the problem.

Best regards,
Sebastian
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
jialiang_liu
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
jialiang_liu
Top achievements
Rank 1
Share this question
or