RESOLUTION
To resolve this problem, if SQL Server session state is currently configured, remove it by using the original UninstallSqlState.sql script before you install this software update. For more information, see the "References" section.
This software update will install new InstallSqlStateTemplate.sql and UninstallSqlStateTemplate.sql files. Make a copy of these files for each Session database that you want to create. Modify each file by following the instructions that appear in the "More Information" section.
Note These instructions are also included in the comment section of the InstallSqlStateTemplate.sql file.
After you have completed the modifications, run the InstallSqlStateTemplate.sql file to install SQL Server session state for a specified database. After you configure the Session database, modify the sessionstate section of the Web.config file to reference a specific database for the session state, as in the following example:
Note In the following sample code, you must change
user id=UserName and
password=StrongPassword to the correct values. Make sure that the user ID has the appropriate permissions to perform this operation on the database.
<sessionState
mode="SQLServer"
allowCustomSqlDatabase = "true"
<!-- This line is a new attribute to sessionState -->
sqlConnectionString="data source=127.0.0.1;database=mydatabase;user
id=UserName;password=StrongPassword"
cookieless="false"
timeout="20"
/>
Note The sqlConnectionString now contains a parameter for database. In this example,
mydatabase is the database that you specify for the session state.
Important This software update contains the following two types of packages:
- A Microsoft Windows Installer package (.msi file)
- An Optional Component Manager package (OCM)
If you use Microsoft Windows Server 2003, you must use the Windows Server 2003 (OCM) update because Windows Server 2003 File Protection monitors the .NET Framework 1.1 files. If you use an operating system that is different from Windows Server 2003, you must continue to use the Windows Installer package.
Hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next .NET Framework 1.1 Service Pack 1 that contains this hotfix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
File information
The English version of this hotfix has the file attributes (or later) 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
---------------------------------------------------------------------------------------------
20-Mar-2004 04:35 1.1.4322.1014 258,048 Aspnet_isapi.dll
20-Mar-2004 04:35 1.1.4322.1014 20,480 Aspnet_regiis.exe
20-Mar-2004 04:35 1.1.4322.1014 32,768 Aspnet_state.exe
20-Mar-2004 04:35 1.1.4322.1014 32,768 Aspnet_wp.exe
16-May-2003 00:49 33,522 Installpersistsqlstate.sql
16-May-2003 00:49 34,150 Installsqlstate.sql
03-Oct-2003 19:20 35,017 Installsqlstatetemplate.sql
20-Mar-2004 04:24 1.1.4322.1014 94,208 Perfcounter.dll
20-Mar-2004 04:30 8,571 Smartnav.js
22-Mar-2004 04:43 1.1.4322.1014 1,220,608 System.dll
22-Mar-2004 04:43 1.1.4322.1014 241,664 System.messaging.dll
22-Mar-2004 04:43 1.1.4322.1014 323,584 System.runtime.remoting.dll
22-Mar-2004 04:43 1.1.4322.1014 131,072 System.runtime.serialization.formatters.soap.dll
22-Mar-2004 04:43 1.1.4322.1014 1,257,472 System.web.dll
22-Mar-2004 04:43 1.1.4322.1014 819,200 System.web.mobile.dll
22-Mar-2004 04:43 1.1.4322.1014 569,344 System.web.services.dll
22-Mar-2004 04:43 1.1.4322.1014 1,339,392 System.xml.dll
03-Oct-2003 19:20 2,119 Uninstallsqlstatetemplate.sql
20-Mar-2004 04:30 14,482 Webuivalidation.js