WINDOWS VISTA + IIS7 + VS2005 = Confusion
With Windows Vista Ultimate decorating my laptop, I decided to open up an existing VS2005 web project (based on HTTP and not FileSystem) and as expected it didn't go smooth! I got an error saying "Unable to open web. The web server does not appear to have frontpage server extensions installed". After a quick bit of research (another name for googling), I found a solution which will benefit all. Here's what one should do to ensure that the project gets loaded:
1. First an foremost, IIS6 compatiblity needs to be enabled. There is no frontpage server extension now. In IIS7 we will have Sharepoitn Designer and Expression Web Designer. To enable compatibility with IIS6 go to Control Panel --> Programs --> Programs and Features --> Turn Windows features on or off. In the resulting dialog box, under Internet Information Services, navigate to Web Management Tools enable IIS6 Management Compatiblity.
2. Next you need to run VS2005 with elevated privileges. Only then you will get access to IIS. To do that right click the VS studio 2005 icon in Start --> Programs --> Microsoft Visual Studio 2005 and open Properties. Click on the Advanced button and check "Run as Administrator" and then click ok.
3. Now launch VS2005 using this shortcut with elevated privileges and open the website that earlier didnt open.
It should open this time without issues!!!
One thing that's torturing my mind is, how secure is it to run devenv in elevated privileges!!!??
1. First an foremost, IIS6 compatiblity needs to be enabled. There is no frontpage server extension now. In IIS7 we will have Sharepoitn Designer and Expression Web Designer. To enable compatibility with IIS6 go to Control Panel --> Programs --> Programs and Features --> Turn Windows features on or off. In the resulting dialog box, under Internet Information Services, navigate to Web Management Tools enable IIS6 Management Compatiblity.
2. Next you need to run VS2005 with elevated privileges. Only then you will get access to IIS. To do that right click the VS studio 2005 icon in Start --> Programs --> Microsoft Visual Studio 2005 and open Properties. Click on the Advanced button and check "Run as Administrator" and then click ok.
3. Now launch VS2005 using this shortcut with elevated privileges and open the website that earlier didnt open.
It should open this time without issues!!!
One thing that's torturing my mind is, how secure is it to run devenv in elevated privileges!!!??
