Running Web Applications on Windows Vista with IIS 7.0 and Visual Studio
To access local IIS Web sites, you must run Visual Studio in the context of an administrator account. By default, Windows runs applications in a limited-rights user account even when you are logged on to the computer as an administrator.
To run Visual Studio with administrative permissions in Windows Vista
-
In Windows Vista, click Start, click All Programs, and then locate Visual Studio.
-
Right-click Microsoft Visual Studio, and then click Run as administrator.
For more details refer to :