I'm moving to Windows Vista (using Vista Business SP1) and so far
everything has worked just fine until I tried to continue working on a
"ASP.NET" project I had previously started on my old Windows XP machine.
Anyway,
the first thing I tried was to click "File->Open Web Site->Local
IIS" and I received a message that I needed to install several
components before I could access IIS.
So I installed the missing
components, started Visual Studio 2008 SP1 as Administrator and now I
see the same message but no missing components are listed!
Here's the exact message I see:
Local Internet Information Server
To access local IIS Web sites, you must install the following IIS components:
In addition, you must run Visual Studio in the context of an administrator account.
For more information, press F1.
Here's a link to see a screenshot of the dialog:
http://software.xfx.net/vs2008_iis7_vista_error.jpg
I
think I have followed every single workaround/solution I found on the
Internet until I had to do a System Restore as it looks I ended
corrupting IIS. After the System Restore everything is back to normal:
VS2008 works just fine, IIS works just fine but I cannot connect to IIS
from VS20008
Oh, one additional piece of information:
At some point I found out that the IIS Admin Service (IISADMIN) was not running due to a 0x8009000F error.
After
doing some research it looks like this error is caused by the
MachineKeys folder not having the appropriate permissions (both the
Administrator and System accounts should have full rights on this
folder and child items).
Once the permissions were corrected the
service was able to start... although I keep receiving the same error
message from VS2008
Here's a link to an article that explains how to overcome all these issues:
http://developershelf.blogspot.com/2008/05/problem-loading-iis7-hosted-wap.html
Any help in getting VS2008 to access the local IIS will be GREATLY appreciated.