When loading in a solution that uses IIS express, or trying to create a new ASP.NET Web Application I receive errors.
When loading an existing solution I get "Creation of the virtual directory failed with the error: Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine"
When creating a new project I get "Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))"
Following these responses:
Visual Studio 2013: Unable to access IIS metabase and
Error - Unable to access the IIS metabase
So far I have:
- Uninstalled/Reinstalled IIS
- Repaired, and uninstalled reinstalled Visual Studio
- Ran VS as admin
- Repaired IIS
- Changed the registry key in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Common Documents the value was set to P:\ updated to C:\Users\user\Documents
- Reinstalled .NET Framework and .NET Core
I have found that there is no IIS Express folder in Documents, even after reinstalling and I think this may be the cause of the issue - does anyone have a suggestion?