locked
Failed to access IIS metabase RRS feed

  • Question

  • User-428068715 posted

     

    I am using Visual Studio.Net 2008 to develop an ASP.Net web application. This is a "File System" web and is not even deployed to IIS. This is running on Windows Vista Ultimate. The web is configured to use the .Net Framework 3.0.

    When the application loads inside the Global.asax, Application_Start event this error happens when this is called:

    System.Configuration.Configuration config = WebConfigurationManager.OpenWebConfiguration(HttpContext.Current.Request.ApplicationPath);

    Thursday, January 31, 2008 9:40 AM

Answers

  • User-2017008401 posted

    Hi NickKA,

    As far as I know, most of the “Failed to access IIS metabase” errors on Vista can be solved by run VS.NET as administrator: Right click the shortcut of VS.NET, and then select “Run as Administrator”. If this method doesn’t work, try to reinstall the ASP.NET 2.0 and update IIS matabase with the following command: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 4, 2008 8:49 PM