Control the timeout value that ASP.NET uses when ASP.NET stores and retrieves session data from SQL Server 2000 through the sqlCommandTimeout property (842044)



The information in this article applies to:

  • Microsoft .NET Framework 1.0
  • Microsoft Visual Studio .NET (2002), Academic Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft SQL Server 2000 (all editions)
  • Microsoft .NET Framework 1.1

SUMMARY

This hotfix includes a new Microsoft ASP.NET feature that lets you to control the timeout value that ASP.NET uses when ASP.NET stores and retrieves session data from Microsoft SQL Server 2000 through the sqlCommandTimeout property. When SQL Server 2000 experiences periods of more activity, you can increase or decrease the timeout value for your ASP.NET application.

The following is an example of the new sqlCommandTimeout property:

<sessionState 

mode="SQLServer"


stateConnectionString="tcpip=gtecdsv:42424"
sqlConnectionString="
data source=gtecdsv;
Trusted_Connection=no;
user id=sa;
password=password"
cookieless="false"
sqlCommandTimeout="90"
timeout="20"
/>

MORE INFORMATION

A supported feature that modifies the product's default behavior is now available from Microsoft, but it is only intended to modify the behavior that this article describes. Apply it only to systems that specifically require it. This feature may receive additional testing. Therefore, if the system is not severely affected by the lack of this feature, we recommend that you wait for the next Microsoft Visual Studio .NET 2003 service pack that contains this feature.

To obtain this feature immediately, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version            Size    File name
   --------------------------------------------------------------------------------------------------
   25-Jun-2004  05:22  1.1.4322.1059     258,048  Aspnet.isapi.dll  
   25-Jun-2004  05:22  1.1.4322.1059      20,480  Aspnet.regiis.exe  
   25-Jun-2004  05:22  1.1.4322.1059      32,768  Aspnet.state.exe  
   25-Jun-2004  05:22  1.1.4322.1059      32,768  Aspnet.wp.exe    
   05-Apr-2004  22:39                     33,718  Installpersistsqlstate.sql
   05-Apr-2004  22:39                     34,342  Installsqlstate.sql
   05-Apr-2004  22:39                     35,243  Installsqlstatetemplate.sql
   25-Jun-2004  05:13  1.1.4322.1059      94,208  Perfcounter.dll  
   25-Jun-2004  05:17                      8,685  Smartnav.js
   25-Jun-2004  19:11  1.1.4322.1059   1,224,704  System.dll       
   25-Jun-2004  19:10  1.1.4322.1059     241,664  System.messaging.dll  
   25-Jun-2004  19:10  1.1.4322.1059     323,584  System.runtime.remoting.dll  
   25-Jun-2004  19:10  1.1.4322.1059     131,072  System.runtime.serialization.formatters.soap.dl
   25-Jun-2004  19:10  1.1.4322.1059   1,257,472  System.web.dll.5
   25-Jun-2004  19:11  1.1.4322.1059     819,200  System.web.mobile.dll  
   25-Jun-2004  19:11  1.1.4322.1059     569,344  System.web.services.dll  
   25-Jun-2004  19:11  1.1.4322.1059   1,339,392  System.xml.dll   
   03-Oct-2003  21:20                      2,119  Uninstallsqlstatetemplate.sql
   25-Jun-2004  05:17                     14,482  Webuivalidation.js

Modification Type:MajorLast Reviewed:4/7/2006
Keywords:kbQFE KBHotfixServer kbvs2002sp1sweep kbBug kbfix KB842044 kbAudDeveloper