dotNetChris @ Marisic.Net

September 15, 2008

Failed to access IIS metabase

Filed under: IIS — Tags: , — dotnetchris @ 10:11 pm

So I’m trying to get my home box setup to run IIS locally and first I must say I am pretty infuriated that there apparently is absolutely no way on this planet to install IIS6 or IIS7 on Windows Xp Pro 32bit, I spent atleast an hour searching and found absolutely nothing in reference to this so I decide I’ll get over with it and install IIS 5.1 the garbage that it is onto my WinXp.

After jumping through all the hoops I run into an error where port 80 is already in use (go Skype ::face palm:: so I resolved that in their advanced options) then I’m presented with this fantastic error message

Failed to access IIS metabase.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.

So I say wtf to myself and figure the KB article will solve everything, that article provided aboslutely NO information useful to solving this quickly so I turn to google and find Steve Lippert’s web plog where he posted the solution that required just the single command line call of

%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

You can check out his original article at Failed to access IIS metabase.

BloggingContext.ApplicationInstance.CompleteRequest();

About these ads

1 Comment »

  1. You really Rock!!!!!!!!!!

    Comment by sanky — January 2, 2009 @ 3:36 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Shocking Blue Green Theme. Create a free website or blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 242 other followers

%d bloggers like this: