strong name exception on SecurityAction.Demand, works fine for LinkDemand




Hi,
I have a component that is protected by the
StrongNameIdentityPermission.
I m calling this component from a web application that has the
appropriate strong name.
I noticed that calling the component fails when the
SecurityAction.Demand is on, while it succeeds when
SecurityAction.LinkDemand is on.
Since I m calling the component directly from my application, I was
wondering , what could be in the method stack that is causing the demand
to fail.
Is there a way to make it work ?

Regards


*** Sent via Developersdex http://www.developersdex.com ***
.



Relevant Pages