Link to home
Start Free TrialLog in
Avatar of rkulp
rkulpFlag for United States of America

asked on

Sudden Permission Problem in VS2010

I am developing a VB.Net application in VS2010. The project folder has no special permissions over any other project folder. Suddenly VS2010 will not open the project without elevated permissions when I start VS2010 and then click on the project in the MRU list. However, I can right-click the VS2010 icon to bring up a list of projects and select the project without elevated permissions. The error screen is shown below. I would appreciate a fix for this and instruction on what I may have done to cause this behavior.
Permissions-Error-Screen.jpg
Avatar of Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger)
Flag of Canada image

The icon for VS2010 might have been set to Start the application as administrator (Right click, Properties, Advanced), but this does not happen with the MRU list.

"special permissions" for folders are not always easy to pinpoint in .NET. As an example, C:\Program Files is available for anybody when running standard Windows applications, but is read-only unless you run as an administrator (with elevated permissions) for .NET applications.

Moving the application to another directory such as My Documents might solve your problem.
Avatar of rkulp

ASKER

James,

Thanks for your response. The icon was not set to run as administrator, but when run as administrator the same thing happens. The curious things are (1) it does not happen with any other project and all the projects are in subfolders of the projects directory; and (2) it just started happening after working on the project for over a month.  I didn't do anything to either folder.
Avatar of rkulp

ASKER

James,

I'm sorry for the delay in getting back. My computer died and I'm not back up yet. Hence, no testing. It will take about a week to resolve the computer issue.
ASKER CERTIFIED SOLUTION
Avatar of Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger)
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rkulp

ASKER

James,
The computer power supply failed and fried the mother board. I'm having trouble getting the replacement in place. I installed VS2010 on another computer and hooked up the dead computer's hard drive as an external USB drive. VS opens the project fine without elevated permission. The new barebones PC is due in on 11/21 and I'll try again with the original installation (if I'm lucky and can just move over the hard drives without reinstalling everything!). Thanks for your patience. I'll get back ASAP.

Dick
Avatar of rkulp

ASKER

I have had to rebuild the system so it is unlikely to find the culprit now. I'm going to close the question and award you the points. Thanks for your interest.
Avatar of rkulp

ASKER

It is unlikely that we will ever know what caused the problem. Thanks for sticking with me.