none
Cannot uninstall Net Framework 2.0

    Question

  • I use Visual Studio Net.2003 for web development. I recently received the error http://localhost/(project) 'HTTP/1.1 500 Server Error'. I get a similar error if I try to access a webpage in http://localhost from Internet Explorer.

     

    To overcome this I have tried uninstalling IIS and .NET framework 1.1. This has worked ok. However, I cannot uninstall or repair .NET Framework 2.0. I receive the error 'Microsoft .NET Framework 2.0 has encountered a problem during setup. Setup did not complete correctly'.  'Please tell Microsoft about this problem...'  

     

    So I actually now have two problems. Any suggestions would be appreciated.

    Sunday, April 29, 2007 10:32 AM

Answers

  • Hi,

     

    The .NET Framework 2.0 uninstall process will create log files located at %temp%\dd_netfx*.txt.  Can you please zip and send me those log files so I could take a look and see if I can figure out why the uninstall is failing?  You can send the logs to Aaron.Stebner (at) microsoft.com.

     

    Also, in the meantime, it might help to try using the .NET Framework cleanup tool described at http://blogs.msdn.com/astebner/archive/2006/05/30/611355.aspx and then attempt to re-install IIS and the .NET Framework 1.1 (becuase you will need the .NET Framework 1.1 in order to be able to use Visual Studio .NET 2003).

     

    Thanks!  Aaron

     

    Sunday, April 29, 2007 6:31 PM
    Moderator

All replies

  • Hi,

     

    The .NET Framework 2.0 uninstall process will create log files located at %temp%\dd_netfx*.txt.  Can you please zip and send me those log files so I could take a look and see if I can figure out why the uninstall is failing?  You can send the logs to Aaron.Stebner (at) microsoft.com.

     

    Also, in the meantime, it might help to try using the .NET Framework cleanup tool described at http://blogs.msdn.com/astebner/archive/2006/05/30/611355.aspx and then attempt to re-install IIS and the .NET Framework 1.1 (becuase you will need the .NET Framework 1.1 in order to be able to use Visual Studio .NET 2003).

     

    Thanks!  Aaron

     

    Sunday, April 29, 2007 6:31 PM
    Moderator
  • Aaron, thanks for the response. I ran your cleanup tool and this resolved the 2.0 uninstall problem. I then re-installed IIS, .Net 1.1 and 2.0.

     

    I opened IE and tried running the localhost project again. This time I received an 'HTTP 500 Internal Server Error'. I checked the Event Viewer and the text of the error was "The server failed to load application '/LM/W3SVC'. The error was The specified metadata was not found."

     

    Thanks for your help.

    Monday, April 30, 2007 8:39 PM
  • The easiest pain is to reinstall IIS and register the ASP.NET extensions for IIS using aspnet_regiis -i
    Monday, April 30, 2007 9:04 PM
  • From Add/Remove Windows Components, I have re-installed IIS (using the defaults selected - do I need FrontPage 2000 Server Extensions as well?) and run aspnet_regiis -i from folders 1.1.4322 and 2.0.50727.

     

    I changed the Default Web Site ASP.NET tab to 1.1.4322 (I assume this is correct) and the same with the folder of the project I am using to test in IE.

     

    This time when I try to run the project in IE I get the message "Server Application Error". The Event Viewer shows the error

    "The server failed to load application '/LM/W3SVC'. The error was 'The specified metadata was not found."


     

    Tuesday, May 01, 2007 7:48 PM
  • I have done a Google search for the mentioned error and based from what I have read the problem seems to be with the Distributed Transaction Coordinator service. Several people had an entry in the event log that mentioned to run msdtc -resetlog. Can you look in the event viewer for error entries?
    Tuesday, May 01, 2007 9:49 PM
  • I have just tried this again. The Event Log record is in the System section. Source: W3SVC  Event-Id: 36

     

    The full message is:

     

    The server failed to load application '/LM/W3SVC'. The error was 'The specified metadata was not found.'

     

    For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.

     

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

     

    Thanks for your help.

     

    Wednesday, May 02, 2007 5:25 PM
  • 1. Uninstall IIS

    2. Uninstall .NET Framework 1.1 & 2.0

    3. Install IIS

    4. Install .NET Framework 1.1

    5. Install .NET Framework 2.0

     

    Keep the order and if that still does not work I recommend that you post a message on the IIS General Newsgroup:

    Wednesday, May 02, 2007 6:07 PM
  • I tried your suggestion but I still get the error:

    The server failed to load application '/LM/W3SVC'. The error was 'The specified metadata was not found.

     

    I'll try the other forum you mentioned. Considering the time I have spent on this I actually wonder if it would be quicker to re-install XP Pro.

     

    Thanks for your help.

     

    Friday, May 04, 2007 5:44 PM
  • If this is caused by third party software or by a Microsoft component then chances are that a reinstall of Windows XP will not solve the problem. That's why it is important to try to figure out what is causing this behaviour to prevent it from happening again or to find a workaround. What I always do is cleanly install Windows XP Pro and Windows Vista and take a Ghost image from it, then when I need to restore Windows this can be done in a couple of minutes except for the installation of the software.
    Friday, May 04, 2007 6:57 PM
  • I was able to resolve this issue after struggling a lot. the solution that worked was making the msdtc service start and reseting the IIS. Detailed steps are given in the following post:

    http://misc-tech.blogspot.com/2008/06/iis-http-500-internal-server-error.html
    Sunday, June 22, 2008 5:55 AM