Red Gate forums :: View topic - profiling a page with update panels
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 6
ANTS Performance Profiler 6 forum

profiling a page with update panels

Search in ANTS Performance Profiler 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
asawyer



Joined: 08 Nov 2011
Posts: 1

PostPosted: Tue Nov 08, 2011 3:46 pm    Post subject: profiling a page with update panels Reply with quote

I'm trying to track down a performance problem with a legacy asp.net site, however I'm getting an error clicking any of the buttons:

Quote:
---------------------------
Error
---------------------------
A Runtime Error has occurred.
Do you wish to Debug?

Line: 4723
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 '

<!DOCTYPE html PUB'.
---------------------------
Yes No
---------------------------


I can't find any documentation on what I need to do to get around this. Could someone please let me know what I need to do to get the profiler working properly here?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6670

PostPosted: Wed Nov 09, 2011 12:09 pm    Post subject: Reply with quote

Hi,

ANTS Profiler breaks websites for a few reasons like permissions, code access policy changes, and failure to read the configuration properly. Unfortunately the symptoms are always different so it's impossible for us to construct any KBs that will help and therefore you won't find anything this specific on the website. Problems like yours have to be debugged individually.

I'd assume the reason for this message is that the server is returning an error response instead of the expected XML data that the control should be getting from the server. So ANTS more than likely has broken the configuration and caused an exception which is being concealed by IIS.

So I guess what you can do is use Fiddler or a packet analyzer to work out what response is coming back from the server (details about the actual error are probably in the response) or attach a debugger to see what the errors are. Then we have to take a few stabs at working out how ANTS Profiler managed to misconfigure the site or break the code.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6670

PostPosted: Fri Nov 11, 2011 12:44 pm    Post subject: Reply with quote

Do you need any further assistance to work out how to debug the website? Unfortunately you cannot get the failure cause from anywhere in ANTS Profiler like the log because the error is happening in the application.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group