Microsoft Knowledge Base Email Alertz

BUG: Error message after you uninstall the .NET Framework 1.1 on a 64-bit computer that has the 64-bit version of the .NET Framework 2.0 installed: Unable to make the session state request to the session state server

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 919080 - Last Review: January 15, 2007 - Revision: 1.4

BUG: Error message after you uninstall the .NET Framework 1.1 on a 64-bit computer that has the 64-bit version of the .NET Framework 2.0 installed: "Unable to make the session state request to the session state server"

SYMPTOMS

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.
In this scenario, you receive the following error message:
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.

CAUSE

This problem occurs because the .NET Framework 1.1 uninstall process removes the Microsoft ASP.NET state service.

WORKAROUND

To work around this problem, reregister ASP.NET 2.0 with Microsoft Internet Information Services (IIS). To do this, follow these steps:
  1. Click Start, click Run, type cmd, and then click OK.
  2. Type the following command, and then press ENTER:
    cd %windir%\Microsoft.NET\Framework64\Version
    Note %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.
  3. Type the following command, and then press ENTER:
    aspnet_regiis -i -enable

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

REFERENCES

For more information about the ASP.NET state service, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/0bb0a3a3-650f-4c47-a0c5-b08b9b591bb4.aspx (http://msdn2.microsoft.com/en-us/library/0bb0a3a3-650f-4c47-a0c5-b08b9b591bb4.aspx)
For more information about the ASP.NET IIS Registration Tool (Aspnet_regiis.exe), visit the following MSDN Web site:
http://msdn2.microsoft.com/en-us/library/k6h9cz8h.aspx (http://msdn2.microsoft.com/en-us/library/k6h9cz8h.aspx)

APPLIES TO
  • Microsoft ASP.NET 2.0
  • Microsoft ASP.NET 1.1
Keywords: 
kbprb kbtshoot kbbug KB919080
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate