I am running Visual Studio 2005 with the Vista-compatible SP1 installed on Windows 7 64 bit. I get this error (see screenshot) every time I start Visual Studio, even when I use the "Run as Administrator" menu option and/or set the shortcut options to always run as administrator. How do I fix this?
Run as administrator is fine but, have you tried un-checking the "Always show this message" option? I guess you haven't try that
Related
I'm attempting to run VS Ultimate 2013 in elevated privileges so that I can use IIS8 to host and debug web projects. When I follow the steps in Can you force Visual Studio to always run as an Administrator in Windows 8? I still get the same error and can not start VS. I've also tried checking the "Run As Administrator" checkbox in the compatibility tab of the actual VS executable...
The error I'm getting is the same as in this blog: http://blogs.msdn.com/b/visualstudio/archive/2009/10/29/how-to-fix-the-application-cannot-start-error.aspx
I am new to visual studio 2010. I hav IE10 and visual studio 2010 and windows 7 32 bit OS.
while running the website I am getting error as "attaching the script debugger to process(5580) iexplorer.exe on machine is failed. a debugger is already attached"
I tried by running this in command prompt run as administrator
regsvr32.exe "%ProgramFiles%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll"
but its not working for me.
how to solve this issue.
Please help me
I am new to visual studio 2010
thank you in advance
shubha
You may have some processes attached to the application pool worker process.
For instance, verify if you have installed and activated "Debug Diagnostic Tool" and uninstall it or just deactivate the rule.
There are many posts that tell you how to run Visual Studio 2010 as Administrator.
I will probably be very ashamed when I find my answer but...
My problem is that I can't start Visual Studio NOT elevated!
I always have the "(Administrator)" text on the title.
I want to be able to debug my application in a non-elevated environment.
I have no shortcut/application file that is marked with "Run As Administrator".
Not Devenv.exe and not VSLauncher.exe not shortcuts at Start Menu.. nothing is marked like this and still Visual Studio runs as Administrator.
My user belongs to the local Administrators group.. but that didn't use to enable this administrator mode.
UAC is disabled but this too didn't matter once.
Also checked
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
and removed Visual Studio from the list. Nothing.
Any idea will be appreciated.
I turned UAC back on and what a surprise... Visual Studio runs in normal mode again!
Thanks again Microsoft, for making things very clear...
You can try downloading VSCommands extension and using its Debug As Normal user feature.
Whenever I run VS as Administrator (on Windows 7) pressing play, hitting F5 or selecting start debugging from the drop-down all do nothing. No error message, just nothing.
The project builds ok, runs ok when you run VS as non-admin, and also works if run in release mode on admin or non-admin.
Is this a visual studio / windows 7 thing?
Edit; VS 2010 Ultimate, Windows 7 Ultimate SP1.
Try following the solution in this guide http://justgeeks.blogspot.com/2011/04/visual-studio-2010-wont-debug-under.html
I have been able to run Visual Studio 2010 in administrator mode while debugging, so it is not a Visual Studio 2010 / Windows 7 problem.
I am programming via Visual Studio 2008. I change my html page and save it using Ctrl + S and then hit Ctrl+F5 on the browser to test it. My problem is when I save my file in VS after refreshing the browser, "Save File As" dialog appears and when I want to save it with that file name, an error dialog appears which says file exists!!!. I am doing this every time in my company which uses Windows 2003 and Windows XP, but there I have no problem. At home I am using Windows 7, and this error is killing me.
I had the same problem
My C# projects were all under XPsp3
I installed Win7, then Vis Studio 8 SP1 and the rest of my development tools.
Opened up my C# projects and got the Save As problem. , try this, it worked for me.
Make sure you are running Visual Studio as an Adminstrator.
To do this, create a Desktop Short cut for Visual Studio 2008.
Right click on it, and select Properties.
Then select the Compatibility tab.
At the bottom under Priviledge Level, make sure Run the program as an adminstrator is checked.
Select the OK button.
Start Vis Studio again
Also, try this
1) Open the Visual Studio command prompt
2) Then run the following : devenv /ResetSettings.
Using VS 2008 Express SP1 under Vista I had the same problem. I was running IE9 and it's debugger. Closing IE9 debugger allowed the save. This typically did not happen.