?
Solved

Sudden Permission Problem in VS2010

Posted on 2011-10-24
7
Medium Priority
?
392 Views
Last Modified: 2012-05-12
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
0
Comment
Question by:rkulp
  • 5
  • 2
7 Comments
 
LVL 40
ID: 37022985
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.
0
 
LVL 1

Author Comment

by:rkulp
ID: 37023976
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.
0
 
LVL 1

Author Comment

by:rkulp
ID: 37090376
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.
0
Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 2000 total points
ID: 37090657
A computer that dies was usually ill. That might have been the cause of your problem from the start.
0
 
LVL 1

Author Comment

by:rkulp
ID: 37154320
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
0
 
LVL 1

Author Comment

by:rkulp
ID: 37195887
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.
0
 
LVL 1

Author Closing Comment

by:rkulp
ID: 37195889
It is unlikely that we will ever know what caused the problem. Thanks for sticking with me.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question