Author Topic: Using projects on a network drive  (Read 1903 times)

0 Members and 1 Guest are viewing this topic.

Offline Patriiick

  • Administrator
  • *****
  • Posts: 130
  • Karma: +1/-0
  • Gender: Male
    • prefered language: VB
    • Prog expertise: Good
    • View Profile
  • Twitter: @Patriiick
Using projects on a network drive
« on: November 17, 2010, 09:36:35 PM »
It seems not possible to place .NET projects on a server, I get fatal errors when trying (curiously, not always), it seems there is a Security Exception problem. Do you know why this is like that and what could be done to overcome it? Thanks.
target audience:{beginner}
« Last Edit: November 21, 2010, 05:34:56 PM by Patriiick »

Offline Patriiick

  • Administrator
  • *****
  • Posts: 130
  • Karma: +1/-0
  • Gender: Male
    • prefered language: VB
    • Prog expertise: Good
    • View Profile
  • Twitter: @Patriiick
Re: Using projects on a network drive
« Reply #1 on: November 19, 2010, 09:02:49 AM »
Thanks to (gile) who gives us the solution:

To launch DLL from a network drive, you have to authorise that on each computer.

One way to do this is to open a command window on each computer, go to .NET install directory (generaly "c:\windows\microsoft.net\framework\version\") , and enter the following command (with the true path to installed DLLs) :

caspol.exe -machine -quiet -addgroup 1 -url "file://Server/pathtoDLL/*" FullTrust