Posted By: Anonymous
After installing Visual Studio 2012 and opening my solution I get a series of errors in this form:
The Web Application Project Foo 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.
I get this for each of our web applications.
Things I have tried:
- Running Visual Studio as Administrator
- Running aspnet_regiis.exe -ga MyUserName
- Running aspnet_regiis.exe -i
These seem to be common solutions for this problem but I have not had any success with them.
Is there anything else I can try to do?
Thank you to everyone that answered. Since this was closed for a long time I couldn’t provide much feedback, but I did eventually fix my problem. I tried many of these other solutions and they didn’t fix my issue, but I’m sure they help when the root cause is different.
I solved this problem by turning off the IIS and .Net Framework features within Windows 7 and then turning them back on. It seems like this re-installation is what fixed my issue. I still don’t know what caused the problem, but at least one other developer on my team had the same issue.