Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / September 2007

Tip: Looking for answers? Try searching our database.

Full trust for unsigned assembly on a network

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nitin - 01 Sep 2007 20:00 GMT
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
Norman Yuan - 02 Sep 2007 17:29 GMT
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.

> Hi!
>
[quoted text clipped - 9 lines]
>
> -NiTiN
Michael Nemtsev, MVP - 03 Sep 2007 03:14 GMT
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>

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.