Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, September 28, 2017 7:20 PM
If I start VS2017 with standard user (i.e. non-administrative) privileges and attempt to create any type of new project (C#, C++, VB, etc) then this generates the error message "Access is denied (Exception from HRESULT: 0x8007005 (E_ACCESSDENIED))". I have 4 drives on my system (2 SSDs and 2 HD) and the same error message is generated regardless of which drive and/or directory (including the public directory) is used to to create the project. I've enabled sharing on all drives and changed the security permissions to "Full control" but the problem persists.
When I start VS2017 with standard user privileges then other problems occur. For example, if I attempt to create a text file in VS2017 ( File -> New -> General -> Text File) then this also generates the Access is denied error message. On the other hand, if an existing project is opened and I attempt to create a text file, an HTML page, a Java script file or any other file type then the error message generated is "Value does not fall within the expected range".
These problems do not occurs when I start VS2017 with full administrative privileges.
Does anyone have any ideas of why these problems are occurring with VS2017 when it is run on a standard user account?
All replies (4)
Friday, September 29, 2017 5:52 PM âś…Answered
Were you able to use VS after installation without these problems? If not then probably there was a problem with the installation. That seems very obvious. Are you aware of anything you did differently than what would be normal for the installation? My guess is that the members more experienced than I will suggest doing a repair install. Or maybe you need to first uninstall everything but I don't know how to do that to ensure that everything gets removed.
One possibility is that there is a problem with an extension. I think there is a way to start VS without extensions but I don't know what that is. Something else to look at is the Event Viewer. Look at the Security log; there might be something relevant there. I don't think the events have ever helped me determine a problem but I would look just in case it helps.
Sam Hobbs
SimpleSamples.Info
Friday, September 29, 2017 6:31 PM
I've only just started using VS2017.
Good suggestion on your part to disable extensions. Never thought about that as I've focused on security and authorization settings. If that does not work then I try your next suggestion which is to re-install VS2017. I've already had to re-install VS2017 several times (e.g. Win7 auto update crashed system and could not even restart Win7).
Thanks for your suggestions. Will let you know what I find.
Ian
Friday, September 29, 2017 9:55 PM
Hi Sam,
Good news.
Disabling the extensions in VS2017 did not work. After doing so then VS2017 failed to start up and generated an error message saying I should read the contents of a cached XML file.
Your suggestion to re-install VS2017 corrected the problem. I then re-installed all extensions, one at at time, testing on both admin and non-admin accounts. Everything appears to be working fine.
Thanks for your input and re-directing my troubleshooting activities.
Cheers,
Ian
Saturday, September 30, 2017 2:03 AM
Hi Ian,
I'm so glad to hear that your issue is solved and thank you for your sharing, it will help other community members who meet the same or similar issues.
If you have any other issues about VS IDE in the future, please feel free to let us know.
Best regards,
Sara
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]