I am using Visual Studio 2010 ultimate and have a solution that contains a website project. Under XP Pro evrything built fine. I moved over to a new machine running Windows 7 Ultimate, and now when I go to build the website I get the following error meesage:
------ Build started: Project: C:...\WebSite\, Configuration: Debug Any CPU ------ Validating Web Site : Build (web): Failed to map the path '/'
If I pick the "Run As Administrator" option for launching Visual Studio then the website builds perfectly and I have no errors ata all.
I would prefer to not have to constantly run Visual Studio as administrator. Any suggestions?
Without Administrative permissions Visual Studio is not able to write to the hard drive outside of your specific user account privileges. This severely limits what can be done to build custom ArcGIS based applications.
Welcome to Microsoft Q&A! For reasons of security, the administrator permissions are required when installing Visual Studio. According to your description, you can try to create a network installation and deploy to client workstations.
On the Windows desktop, right-click the Visual Studio shortcut, and then select Properties. Select the Advanced button, and then select the Run as administrator check box. Select OK, and then select OK again.
You right-click the .exe file, go to properties, then click on the "shortcut" tab and click on "advanced" - then uncheck "run as administrator".
You can right have Visual Studio
permanently running as an Administrator
.
Simply follow these steps:
1) Find the Visual Studio Executable.
Visual Studio 2010 C# Express:
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\VCSExpress.exe
Visual Studio 2010 Professional:
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
2) Right-click on the Visual Studio Executable and left-click Properties
3) On the new window, click the Compatibility tab
4) Tick the option "Run this program as an administrator"
5) Click OK to save the settings
Enjoy Visual Studio
without having to "Run as Administrator" each time. ;)
You have two options in this case.
Personally I run as Admin all the time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With