Failed to access IIS metabase error with ASP.NET 2.0 apps
Dec 11th, 2007 by ocvirek.com
If you had installed IIS on Windows XP Professional machine afterwards you had already installed Visual Studio 2003/2005 or .NET Framework 1.x/2.x you will probably encounter error “Failed to access IIS metabase” while trying to run your web app in IIS (http://localhost/appname). The solution that worked for me in that case was executing following command line: aspnet_regiis -i. This utility is known as ASP.NET IIS Registration Tool. Off course, before running this command line you’ll have to make sure that you’re in the right folder which is, in the case of ASP.NET 2.0, C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727. This will properly register ASP.NET ISAPI in IIS. More on this can be found here.
Error : failed to access iis metabase asp.net
This happens when you don’t have acces to IIS.
To avoid this, register Asp.net using aspreg_regiis -i
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
C:\Program Files\Microsoft Visual Studio 8\VC>aspnet_regiis -i
Start installing ASP.NET (2.0.50727).
……………
Finished installing ASP.NET (2.0.50727).
If the problem persists, then repair the .Net version using Add/Remove program wizard.