Sometimes error in same page

S

Sorin Sandu

I have a simple page with a grid on it based on a stored procedure
Sometimes I get this error :
Request timed out.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Request timed out.

Source Error:


An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.


Stack Trace:


[HttpException (0x80004005): Request timed out.]


How can I resolve this ?
 
H

Hans Kesting

Sorin Sandu said:
I have a simple page with a grid on it based on a stored procedure
Sometimes I get this error :
Request timed out.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Request timed out.

Source Error:


An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.


Stack Trace:


[HttpException (0x80004005): Request timed out.]


How can I resolve this ?

"Something" seems to take a lot of time.

You can set Tracing on to see how long the various processingsteps take.
(you might need to add a few tracing statements)

First points to check, based on your short description:
* How complicated is the stored procedure (read: how long does it take) ?
* How big is the dataset returned? (number of rows, size of row)
* Is viewstate on or off? (viewstate combined with grid can lead to large html output!)

Hans Kesting
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top