Google+ Peter Bromberg's .NET Blog | How To Fix "Unable to access the IIS Metabase" error when loading Web Application in Visual Studio

Peter Bromberg's .NET Blog All Things Programming

How To Fix "Unable to access the IIS Metabase" error when loading Web Application in Visual Studio

23. May 2016 06:58 by admin in

When you see:

<Path to Project> : error  : The Web Application <Project Name> 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.

There is an easy fix:

Browse to C:\Windows\System32\inetsrv and then double-click the “config” directory. You should get this warning dialog:

 

Click Continue, then do the same for the C:\Windows\System32\inetsrv\config\export directory and the other directories in C:\Windows\System32\inetsrv

This should fix the issue and you will be able to load the project.

 

 

Add comment

  Country flag


Loading