Re: Custom principles and DnsPermission.Demand()
From: andrew lowe (andrew.lowe###a-t###geac.com)
Date: 03/31/05
- Previous message: Suchita via DotNetMonster.com: "Re: Error instantiating RSACryptoServiceProvider"
- In reply to: Nicole Calinoiu: "Re: Custom principles and DnsPermission.Demand()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 31 Mar 2005 10:21:31 +1000
"Nicole Calinoiu" <calinoiu REMOVETHIS AT gmail DOT com> wrote in message
news:%23wDQEFTNFHA.3420@tk2msftngp13.phx.gbl...
> "andrew lowe" <andrew.lowe###a-t###geac.com> wrote in message Under normal
> circumstances, a demand will walk the entire call stack. The demand could
> be failing because some other assembly on the call stack doesn't possess
> DNS permission even if your assembly does. If you want to see the entire
> call chain at the time of the exception, take a look at the output from
> the exception's ToString method. My guess would be that one of the other
> callers either lacks the permission (likely) or is inserting a Deny or
> PermitOnly stack walk modifier (somewhat less likely). If you need help
> interpreting the exception information, please post the entire ToString
> output here.
Brilliant! You were right, not all of the assemblies on the call stack
possesed the DNS permission. thank you for your help guys.
andrew
- Previous message: Suchita via DotNetMonster.com: "Re: Error instantiating RSACryptoServiceProvider"
- In reply to: Nicole Calinoiu: "Re: Custom principles and DnsPermission.Demand()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|