running app on network drive

  • Thread starter Thread starter cj
  • Start date Start date
C

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?
 
cj said:
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>
 
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
 
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
 
Back
Top