On Windows 8 I have a short cut that runs Visual Studio with admin rights. This is fine but if I click a Visual Studio Project or Solution VS will run without admin rights when opening a project. Then I will see something like "failed to load project user does not have rights to IIS metabase".
To get around this issue you can update the registry to always run Visual Studio as an admin.
Follow These Steps:
1. Run RegEdt32.exe
2. Create an entry for the current or all users by going to the following key: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
3. Right click under \Layers and add a new string value
4. Enter the path to Visual Studio on your machine: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
5. Double click the new string value and add ~ RUNASADMIN under Value Data
Your enter should look like the following:
Now anytime your run Visual Studio or open a Project or Solution File you will be prompted "Do you want this application to make changes on your computer" click Yes and Visual Studio is running with Admin rights.