Title

Kodyaz Development Resources

Development resources, articles, tutorials, samples, codes and tools for .Net, SQL Server, Vista, etc.
Welcome to Kodyaz Development Resources Sign in | Join | Help
in Search

Eralper's Blog on Software Development



Publish Fails if you publish your web project to IIS 7.0 web server on Vista

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.

 

Published Tuesday, May 08, 2007 1:10 AM by eralper
Filed Under: , ,

Comments

No Comments
Anonymous comments are disabled
Copyright © 2004 - 2008 Eralper Yilmaz. All rights reserved.
Powered by Community Server, by Telligent Systems