OddyIT
asked on
Visual Basic .NET in a network
At my school, i've installed visual basic .net for 1 class. Our students are only allowed to save file to their homefolder on the server. Visual however won't run a project out of a network-map. Does anyone have an idea how it could fix this. Because i don't want the student to need to have acces to the c-drive of the local computers.
By default .NET framework does not trust network drives. Every student need to run the following command in their computers/notebooks so that their .net framework in their machine will trust the network share
c:\>caspol -q -machine -addgroup 1 -url file://z:/* FullTrust -name "Z Drive"
same can be accomplished by using Program->Administrative tools->.net configuration
you will see multiple .net configuration programs if you have more than one version of framework installed in your machine.
hope this helps to resolve your issue
c:\>caspol -q -machine -addgroup 1 -url file://z:/* FullTrust -name "Z Drive"
same can be accomplished by using Program->Administrative tools->.net configuration
you will see multiple .net configuration programs if you have more than one version of framework installed in your machine.
hope this helps to resolve your issue
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
If the student use the H-drive as home, do I simply replace the z:/ by h:/, and het name what do I have to put there? The name that apears next to the H-drive in My Computer is different for every user for example: Tom Gellar is tgellar$ on File-server
c:\>caspol -q -machine -addgroup 1 -url file://z:/* FullTrust -name "Z Drive"
c:\>caspol -q -machine -addgroup 1 -url file://z:/* FullTrust -name "Z Drive"
-machine you do not use a machine name; you could simply use -m
Here is a more easy example
CasPol.exe -m -ag 1.2 -url file://z:/* FullTrust
In the setting 1.2 denotes the intranet group.. Mostly that is how the students would access the z drive.
hope this helps
Here is a more easy example
CasPol.exe -m -ag 1.2 -url file://z:/* FullTrust
In the setting 1.2 denotes the intranet group.. Mostly that is how the students would access the z drive.
hope this helps
http://blogs.msdn.com/shawnfa/archive/2004/12/30/344554.aspx