Search code examples
asp.netiisvisual-studio-2013iis-express

Configuring IIS Express failed with the following error: Unable to acces the IIS metabase


When I try to create a new ASP.NET Empty Web Site in Visual Studio Premium 2013 on my windows 8.1 machine, I get the following error message:

Configuring IIS Express failed with the following error:
Unable to acces the IIS metabase. You do not have sufficient privilege to acces IIS web sites on your machine.

I am aware questions about this error have been asked all around the web numerous times and I have tried every solution I came upon so far, but nothing has worked. I have reinstalled Visual Studio, I have reinstalled IIS several times (and included all options), I have obviously run Visual Studio as administrator and I have navigated to C:\Windows\System32\inetsrv\config\Export and clicked "Continue" on the popups I got (for permission to access the folders).
I am completely out of ideas and sincerely hope that one of you can help me with my problems, thanks.


Solution

  • Well, somehow it started working, I think it might have to do with me repairing Visual Studio via the programs and features dialogue, which I did because my SASS wasn't compiling, but apparently it fixed the IIS Express problems too. Quite strange, considering I did a complete reinstall of Visual Studio only yesterday...