Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
A few days ago I had a patch pushed to my machine and since then I cannot run or debug a project within the Visual Studio 2005 IDE.

Stuff I've noticed:
- I can open & close projects; compile and publish; use Source Control, etc.
- The "run" toolbar button is disabled
- F5/F10/F11 have no effect with no errors or warnings displayed
- 4 other devs received the same patch and have no problem
- If I “runas” local admin, everything works (but I don’t have access to network resources, so not a permanent solution)
- the Options/Tools/Debugging pane says, “An error occurred loading this property page”
- everything else seems to be working just fine
- can’t find similar situations through Google
- TechNet concierge gave up after 10 minutes
- Running under Vista Enterprise

Any hints or assistance would be greatly appreciated!
Posted
Updated 14-Sep-11 4:55am
v3
Comments
fjdiewornncalwe 14-Sep-11 10:40am    
What operating system. In Windows 7 you may have to run the application as administrator to access all features of the IDE.
Hooga Booga 14-Sep-11 10:54am    
Thanks for the feedback!

Vista Enterprise (don't hold it against me). It has been working for a couple years just fine, and none of the other devs with the same environment are having this problem.
Herman<T>.Instance 14-Sep-11 14:18pm    
if you do a rigth click on the visualstudio exe -->devenv.exe via your explorer use right mouse click, select properties and on the tab Compatability you can check Run as Administrator. Each time you run visual studio it will be run in admin mode
Hooga Booga 14-Sep-11 14:32pm    
Appreciate the feedback, but if I run in admin mode, I do not have access to my network resources (file servers, internet, etc). This is a stop-gap measure that I can use, but it can't be permanent.

Thanks
Albert Holguin 7-Nov-11 13:34pm    
Why wouldn't you have access to network resources? ...you should still have access to all that, just maybe the shortcuts won't load for you... Not being logged into a domain does not exclude you from accessing shares or the internet.

I have read all through problems and didn't find any good reason behind this. But I suspect one of your patch that you have installed on your PC. If possible try reinstalling all your products and as your OS is Win VISTA. Please try to run VS2005 with Compatibility settings.

If it still doesn't work. then try for newer versions of VS. Newer versions are more stable than VS2005.
 
Share this answer
 
After a call to MSDN, I was finally able to get through this problem. We tried quite a number of things over a couple sessions, but the final solution was finally reached. From the command line I had to run:
devenv /resetskippkgs 

We had run a couple of reset items similar to this, but this is the one that in the end seemed to work. The MSDN tech gave me a few other of these scripts and their intended outcomes that I give to you for your viewing pleasure:
devenv /resetsettings This command will erase all the setting if you have any custom settings for the project
devenv /resetskippkgs Clears all options to skip loading added to VSPackages by users wishing to avoid loading problem VSPackages, then starts Visual Studio.
devenv /setup Forces Visual Studio to merge the resource metadata that describes menus, toolbars, and command groups from all VSPackages available.
devenv /safemode opens visual studio in safemode
devenv /resetuserdata to reset Visual Studio

Hope this helps!
 
Share this answer
 
Comments
Jyoti Choudhury 8-Nov-11 20:05pm    
Good Job...Thanks for the solution...:-)
Albert Holguin 8-Nov-11 20:44pm    
Thanks for posting the info once you found these things out... hopefully it helps someone else in the future.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900