Re: Trust An assembly with .NET framework 2.0
- From: "Nicole Calinoiu" <calinoiu REMOVETHIS AT gmail DOT com>
- Date: Mon, 27 Feb 2006 09:20:14 -0500
You also need to specify the name and version (or lack thereof) membership
criteria. e.g.:
caspol -m -ag All_Code -strong -hex
0024000004800000940000000602000000240000525341310004000001000100C7A5FBE6315AC80BE4EDA04CAAB20ABE28E4AFB16714DE59DF4C32E2A6194EF84495FC8F168F4B6CCCDC99FC63B432A3F2A90DC2E390F1A36061F0E3E3EA0ED544176C7D2A3CA11F5F56142DC8B1A9453F9CD386E92B3CD98203BDA952BFB272E0C1F631D4751EDE0E553F246E23C6993D3B9AEBADE9C35DF0888321EED4B9E8
-noname -noversion FullTrust -name Crescendo
BTW, unless you really need to grant full trust across all zones, it would
be add the new code group only under the zone from which code with this
signature is actually expected to be run.
"nectar@xxxxxxxxxxxxx" <nectaronlinenospam@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote
in message news:EAA6D5EB-B35E-4A75-9743-794EC84C7133@xxxxxxxxxxxxxxxx
Hi,
I have an ASP.NET web application that requires a signed assembly to be
downloaded from the server to the client. In prior versions of the .NET
framework, I used the .NET Framework configuration wizard to give full
trust
to this assembly or any other assembly with the same signature and it
worked
great.
But in the .NET Framework 2.0 the configuration wizard is only available
with the SDK which I can't install on every client PC. In the Microsoft
knowledge base I found an alternative solution using Caspol.exe but I
can't
get it to work.
This is what I tried to run from the command line:
caspol -m -ag All_Code -strong -hex
0024000004800000940000000602000000240000525341310004000001000100C7A5FBE6315AC80BE4EDA04CAAB20ABE28E4AFB16714DE59DF4C32E2A6194EF84495FC8F168F4B6CCCDC99FC63B432A3F2A90DC2E390F1A36061F0E3E3EA0ED544176C7D2A3CA11F5F56142DC8B1A9453F9CD386E92B3CD98203BDA952BFB272E0C1F631D4751EDE0E553F246E23C6993D3B9AEBADE9C35DF0888321EED4B9E8
FullTrust
-name Crescendo
I also tried:
caspol -m -ag All_Code -strong -file
http://servername/iAdmin/CSCiViewerRemoteClientLib.dll FullTrust -name
Crescendo
Any help would be greatly appreciated.
thanks in advance,
Nectar
.
- Prev by Date: Re: Proxy auth with default credentials
- Next by Date: Re: Proxy auth with default credentials
- Previous by thread: Login from a list of registrations on SQL on the web
- Next by thread: Re: Custom Profile Provider
- Index(es):