ASP site generates: HttpException (0×80004005): Request timed out.

2014 年 4 月 17 日5440

Hi All,

I have a basicASP.NET 4.0 site that just has two input fields, and runs a look up against a IBM Informix database. The site runs very quick and fast on my local 32 bit XP machine (returns data in secs) in VS 2010 using ASP Development Server Version: 4.0.30319.1022,

without any issues.

When I moved the site to the following IIS server. It was working fine for about 3months.

Server: Windows Server 2008 R2 Standard 64bit

Build: Window Server 6.1 (Build 7601: Service Pack 1)

IIS Version: 7.5.7600.16385

Then just recently when I tried the site, ittakes over 2mins then timeouts, not loading data into my Grid. I get the following error.

Server Error in '/ReqTest' 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:4.0.30319; ASP.NET Version:4.0.30319.272

Any idea why the site would work perfectly on my 32bit XP Pro Dev PC using ASP Development Server, but timesout on IIS all of sudden?

My webconfig looks like the following

<?xml version="1.0"?>



<!--



For more information on how to configure your ASP.NET application, please visit



http://http://www.zjjv.com///fwlink/?LinkId=169433



-->



<configuration>



<connectionStrings>



<add name="CT_Prod" connectionString="Host=199.99.99.199;Service=1034;Server=ol_dypdb0001;Database=ct;DB_LOCALE=en_US.819;CLIENT_LOCALE=en_US.819;UID=******;Password=*********;"/>



</connectionStrings>



<system.web>



<customErrors mode="Off"/>



<compilation debug="false" targetFramework="4.0">



<assemblies>



<add assembly="System.Printing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>



<add assembly="IBM.Data.Informix, Version=2.81.0.0, Culture=neutral, PublicKeyToken=7C307B91AA13D208"/></assemblies></compilation>



</system.web>



</configuration>



Thanks,

0 0