Creation of the virtual directory http://localhost.... failed with the error : Unable to access the IIS metabase. You do not have sufficient privilege

  • Thread starter Thread starter Zachery Minton
  • Start date Start date
Z

Zachery Minton

Guest
I am running Windows 10 Enterprise Build 17134 and Visual Studios 2017 Enterprise Version 15.7.4. Today I tried to open the source code for one of my projects for our company and I cant open the solution file I end up getting an error message when trying to open the source stating the following error message.

Creation of the virtual directory http://localhost:xxxx failed with the error : Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine.


I am an Administrator on my machine. I have uninstalled and reinstalled IIS Express, and Visual Studios I have followed lots suggested fixes and nothing works such as running as admin, Granting access to C:\WINDOWS\System32\inetsrv\Config and C:\WINDOWS\System32\inetsrv\Config\export, running aspnet_regiis -ga domain\username, I have checked the Reg key referring to user profile which is local we don't have roaming profiles or redirected directories. I have edited the project files and changed the USEIIS and USEIISEXPRESS flags to false but everything has failed short of a whole reimage of my PC. is there any solution to this issue?

Continue reading...
 
Back
Top