Tuesday, December 2, 2008

IIS Errors on Windows XP: Failed to access IIS metabase, and Mutex could not be created

Failed to access IIS metabase

System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase

I solved this by Reinstalling the .NET 2.0 Framework via aspnet_regiis -i

Mutex could not be created

System.InvalidOperationException: Mutex could not be created

The Solution for this error is bit more complicate:

  1. Close all opened Visual Studios.
  2. Navigate to C:\Windows\Microsoft.NET\Framework\v2[....]\Temporary ASPNET pages.
  3. Delete the folder for your application (You can delete the temporary folder completley)
  4. Perform IISReset via command line or via inetmgr.exe
  5. Browse your application directly from IIS and not from any where else.
  6. You should see your application correctly now.

Good Luck !

http://blogs.microsoft.co.il/blogs/giladlavian/archive/2008/02/26/iis-errors-on-2003-server-failed-to-access-iis-metabase-and-mutex-could-not-be-created.aspx

No comments:

Counter