All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Ticket #207 (new defect)

Opened 8 years ago

Last modified 8 years ago

Request timed out

Reported by: jonathanssewell@… Owned by: alexander@…
Priority: major Component: LinkDetective
Keywords: Cc:


When starting LinkDetective on a live/staging site it times out with the error below. I have run the source code on my development machine and it takes a long time to process around 250 external links. It doesn't time out on my development machine but I assume that's because it's running in the Visual Studio development server.

Server Error in '/' Application.
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.]

Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3082

Change History

comment:1 Changed 8 years ago by jonathanssewell@…

Some more notes on this issue:

On the local development website, setting debug="false" in the web.config for the compilation element will reproduce the timeout error.

I have managed to get around this by increasing the value of HttpContext.Current.Server.ScriptTimeout in the CheckLinksByHTTP() method:

private void CheckLinksByHTTP()


HttpContext.Current.Server.ScriptTimeout = RemainingLinks.Count*30;


Note: See HelpUser/Tickets for help on using tickets.