Full trust for unsigned assembly on a network


N

Nitin

Hi!

I've got a .NET 2.0 application that I'm trying to run over a network
share. It's an unsigned assembly and I can't seem to get it to run
with full-trust - the application exits due to low-trust when run
directly from the network share... it runs fine off the local disk
though.

Is there any way I can grant full trust for the network location or to
the assembly? (I'm also looking for a way to grant full trust to any
assembly for a few test workstations).

-NiTiN
 
Ad

Advertisements

N

Norman Yuan

Yes, you can use CASPOL.exe (comes with .NET Framework) to give either local
intranet Full Trust, or create a code group, pointing to a network share
with full trust. Google "CASPOL.exe" for tons of links and instructions on
how to use CASPOL.exe.
 
Ad

Advertisements

M

Michael Nemtsev, MVP

Hello Nitin,

See the detailed description there http://blogs.msdn.com/shawnfa/archive/2003/06/20/57023.aspx

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


N> Hi!
N>
N> I've got a .NET 2.0 application that I'm trying to run over a network
N> share. It's an unsigned assembly and I can't seem to get it to run
N> with full-trust - the application exits due to low-trust when run
N> directly from the network share... it runs fine off the local disk
N> though.
N>
N> Is there any way I can grant full trust for the network location or
N> to the assembly? (I'm also looking for a way to grant full trust to
N> any assembly for a few test workstations).
N>
N> -NiTiN
N>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top