Consider the following scenario:
- You install the 64-bit version of the Microsoft .NET Framework 2.0 on a 64-bit computer.
- You install the Microsoft .NET Framework 1.1.
- You uninstall the Microsoft .NET Framework 1.1.
Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the client and server ports are the same. If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection. If the server is on the local machine, and if the before mentioned registry value does not exist or is set to 0, then the state server connection string must use either 'localhost' or '127.0.0.1' as the server name.
This problem occurs because the .NET Framework 1.1 uninstall process removes the Microsoft ASP.NET state service.
To work around this problem, reregister ASP.NET 2.0 with Microsoft Internet Information Services (IIS). To do this, follow these steps:
- Click Start, click Run, type cmd, and then click OK.
- Type the following command, and then press ENTER:cd %windir%\Microsoft.NET\Framework64\VersionNote %windir% represents the path of the Microsoft Windows system folder. Typically, this path is C:\Windows.
Version represents the .NET Framework 2.0 version number. For example, type v2.0.50727.
- Type the following command, and then press ENTER:aspnet_regiis -i -enable
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
For more information about the ASP.NET state service, visit the following Microsoft Developer Network (MSDN) Web site:
Article ID: 919080 - Last Review: Mar 29, 2017 - Revision: 4