Posted by: Cirilo Meggiolaro | 10/27/2008

Tip of the day #13 – PageRequestManagerParserErrorException

There are some good articles exploring this Ajax big named PageRequestManagerParserErrorException with some best practices and how to avoid it. They are really good sources to start but let’s think outside the box for a while.

Every time an error occurs on the server an exception is raised, right? Ajax is not different. An exception will be raised when processing asynchronous requests and the PageRequestManagerParserErrorException will be raised when processing the response for these requests.

I received an e-mail from a friend last week asking for suggestions because he was facing an error to update a data grid after a button click event. He checked some articles about the exception and the only thing he figured out is that he was not using any of the common code that causes a PageRequestManagerParserErrorException.

Since that any exception could be causing the error I suggested him to log the exceptions starting on the button event click until bind the grid data source.

The result: the user didn’t have permission to execute a procedure.

A large number of errors are caused by simple factors. So before you loose all your hair trying to figure out a problem, go back to the basics, debug your application and you will figure it out.

If there is a solution you will find it.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: