Hi,
If you try to publish a web project to an IIS 7.0 web server on a Windows Vista computer and getting the "Publish failed" error message after the publish, be sure that you have run the Microsoft Visual Studio 2005 SP1 IDE as administrator.
Note that for a successful development on Visual Studio 2005,
Install the Visual Studio 2005 Service Pack 1 (SP1)
Install the Visual Studio 2005 Service Pack 1 Update for Windows Vista
After the above installation, you can compare your installation versions with my VS 2005 installation
After you have completed the SP1 and Update for Vista installations, when you run the Visual Studio 2005, a message will be displayed before the IDE launches.
The message issues that:
Administrator permissions are recommended for running Visual Studio 2005 SP1
Some Visual Studio 2005 tasks and scenarios will not work without Administrator permissions. We recommend that you use 'Run as administrator' to launch Visual Studio.
A publish without administrator rights or permissions will fail on Vista. So use the 'Run as administator' context menu item displayed when you right click on the Microsoft Visual Studio 2005 menu shortcut. If you launch the IDE (Integrated Development Environment) with the administator permission the publish command will be successfull without any other changes.