Link to home
Start Free TrialLog in
Avatar of lianne143
lianne143Flag for United States of America

asked on

Visual Studio unable to copy the file ‘Application.Designer.vb’ from the project template to the project. Access is denied.

Hi

I have installed visual studio community onWin 7 PCs on our network. When users log into the visual studio application,
by default the application has taken path of the students home directory to save projects , that is located on the windows 2003 file server
\\File server-a\students\16\11jsmith\visual studio 2015\Projects.

Now when students open the Visual studio –Click New project
Select Visual Basic under templates, and Windows Forms Application and click ok
They get an error which says, unable to copy the file ‘Application.Designer.vb’ from the project template to the project. Access is denied.

Please see the attached snapshot of the process of opening the application and the error message.

Please help, what needs to be done to allow access and this application to work
Any help much appreciated
Thanks in advance.
Visual-error-snap-studio.pdf
ASKER CERTIFIED SOLUTION
Avatar of Dan McFadden
Dan McFadden
Flag of United States of America 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 lianne143

ASKER

Yes , I do have a write access to the Projects folder.
I went to Start >All programs>Accessories >notepad> typed few characters on the notepad and saved to the following location successfully.
Also can create a Directory as well.


"\\fileserver-a\students\16\11Jsmith\visual studio 2015\Projects"

Thanks
SOLUTION
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
My last UNC path is correct one, Initially  the posted format war not correct Apologies.

Not sure about the Visual studio templates location, this is the first time setting.
Under Program Files folder I can see Microsoft Visual studio 12.0

Under Program Files(x86) folder I can see Microsoft Visual studio 11.0
                                                                           Microsoft Visual studio 12.0
                                                                           Microsoft Visual studio 14.0
Please can you let me know the path for VS templates for the Local PC
I can see under
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\

WEb Templates folder
Item Templates folder
ItemTemplatescacshe
Not sure if this is the right folder.
SOLUTION
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
Shall i  right click the Microsoft Visual studio 14.0 folder on the local PC and give full permission for User(ICT2-PC2\users)
SOLUTION
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
The existing permissions is  for users  on this test PC is
Read &Execute
List folder contents
Read

Thanks
permis-snap2.png
SOLUTION
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
Yes I am running as a student (test user)

I opened a word document went to the "Projects folder" and saved and it saved successfully.
"\\fileserver-a\students\16\11Jsmith\visual studio 2015\Projects"



I tried with a test teacher account and the program doesn't throw any error  and the Location of home directory is same file server-a
SOLUTION
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
I am the member of the domain administrator group  and VS2015 works as expected and also I tried with a teacher account and it works good.

Access denied message pops only with student account.

These type users are located in different OUs on our AD
                                            --Student OU- Students
                                                 --Staff OU- Staff
SOLUTION
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
Thanks Dan

All sorted