Home All Groups Group Topic Archive Search About

running app on network drive

Author
10 May 2006 1:49 PM
cj
I have a program (soap client that also uses sql server stored procs)
that I built and tested on my c: and it works great.  It was decided it
should be put on the network drive.  I copied obj\release\*.* to a
folder on the network and the program hung trying to connect with the
soap server.  I tested on my machine and it works.  I copied the whole
project directory to the network and intended to run it in debug mode
from the network but when I go to open it I get "The project location is
not fully trusted by the .NET runtime...."  I've been doing some reading
but I'm still not sure I understand.  What do I do?

Author
10 May 2006 2:12 PM
Herfried K. Wagner [MVP]
"cj" <cj@nospam.nospam> schrieb:
>I have a program (soap client that also uses sql server stored procs) that
>I built and tested on my c: and it works great.  It was decided it should
>be put on the network drive.  I copied obj\release\*.* to a folder on the
>network and the program hung trying to connect with the soap server.  I
>tested on my machine and it works.  I copied the whole project directory to
>the network and intended to run it in debug mode from the network but when
>I go to open it I get "The project location is not fully trusted by the
>.NET runtime...."  I've been doing some reading but I'm still not sure I
>understand.  What do I do?

You can alter security settings by using the "CASPOL.EXE" command-line
tool which is part of the .NET Framework.  In large heterogenous corporate
networks it may be possible to deploy a security policy via an MSI
package alternatively:

How do I deploy my security policy?
<URL:http://staff.newtelligence.net/michaelw/PermaLink.aspx?guid=b424f73a-f762-42e2-9046-edaa08a75b8c>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
10 May 2006 2:13 PM
Mrozu
This msg shows when you open project from network drive. It is normal.
I don't know what to do with this:) I think that you can work normal

Mrozu
Author
10 May 2006 8:54 PM
cj
While the message does only come up when you load the app into the ide.
  The program also doesn't run.  Well, not completely.  It wouldn't
connect to the soap server.  If fixed it by following these steps on the
two machines that will be running the app.

1.  Start/settings/control pannel/administrative tools/microsoft .net
framework wizards/adjust .net security
2.  select make changes to this computer and click next
3.  select local intranet
4.  move slider to full trust and click next
5.  click finish


cj wrote:
Show quoteHide quote
> I have a program (soap client that also uses sql server stored procs)
> that I built and tested on my c: and it works great.  It was decided it
> should be put on the network drive.  I copied obj\release\*.* to a
> folder on the network and the program hung trying to connect with the
> soap server.  I tested on my machine and it works.  I copied the whole
> project directory to the network and intended to run it in debug mode
> from the network but when I go to open it I get "The project location is
> not fully trusted by the .NET runtime...."  I've been doing some reading
> but I'm still not sure I understand.  What do I do?