Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Visual Basic .NET in a network

Posted on 2008-06-20
5
Medium Priority
?
211 Views
Last Modified: 2013-12-02
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.
0
Comment
Question by:OddyIT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 5

Expert Comment

by:JuckMan
ID: 21835249
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
0
 
LVL 7

Accepted Solution

by:
YourReference earned 2000 total points
ID: 21835252
0
 

Author Comment

by:OddyIT
ID: 21835309
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"
0
 
LVL 5

Expert Comment

by:JuckMan
ID: 21835556
-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
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Introduction People like FTP.  It's a solid, stable, robust protocol for quickly transferring files between two hosts using TCP/IP.  In most cases it's much faster than SMB or CIFS, and certainly much easier to set up between organizations.  This…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

618 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