Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
Page Index Toggle Pages: 1
Send Topic Print
access denied (Read 647 times)
Junior Member

Posts: 11
access denied
Aug 10th, 2019 at 3:35am
Just installed Visual Micro.  When I try to create a new Arduino project, the following error message appears.

Unable to create new sketch

Access to the path 'C:\Program Files (x86)\Arduino\test5' is denied.

Why is this occurring?
Back to top
IP Logged
Visual Micro

Posts: 10739
United Kingdom
Re: access denied
Reply #1 - Aug 10th, 2019 at 11:18am
This means that you have set your sketchBook folder to the arduino program files folder. That you do not have permissions for the program files folder because vs is not running as admin. You should NOT set the sketchbook to the program files folder. In the IDE Location window clear the value that you have entered into the "SketchBook Location" then Visual Micro will prompt use the default Arduino location which is "Documents\Arduino"
Back to top
IP Logged
Page Index Toggle Pages: 1
Send Topic Print