Access the IIS metabase

For quality purposes we add a new person to our project. The problems found will be documented for future reference. Here is the first problem.

Opening the solution in visual studio would not load the web project. In the output window is an error message:

LoginPortal.Web.csproj : error : The Web Application Project LoginPortal.Web is configured to use IIS. Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine.

The solution (windows 8.1) is to grant access to the %SYSTEMROOT%\System32\inetsrv\config folder by browsing to it.
iis.metabase.access

References

Stackoverflow – Error – Unable to access the IIS metabase

About erictummers

Working in a DevOps team is the best thing that happened to me. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Development and tagged , , , , , , . Bookmark the permalink.

4 Responses to Access the IIS metabase

  1. Thanks for this. Ran into a very similar problem and this solved it. Otherwise I was going to need to spend a day uninstalling and re-installing everything on our build box in order and I did not look forward to it!

  2. Mr.Jackrith says:

    Thank you, Eric. You made my day.

  3. Samu says:

    My inetsrv folder is empty. This solution cannot be done.

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 )

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.