AzMan problems -- InvalidCastException
From: Robert Ginsburg (robert.ginsburg_at_ver3.com)
Date: 04/06/05
- Next message: David Cross [MS]: "Re: Certificate path construction using CAPI"
- Previous message: erha: "Re: Default Container for Smart Card based Certificate"
- Next in thread: Robert Ginsburg: "Re: AzMan problems -- InvalidCastException"
- Reply: Robert Ginsburg: "Re: AzMan problems -- InvalidCastException"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 6 Apr 2005 06:38:26 -0400
I cannot find a newgroup dedicated to AzMan so if anyone has any ideas on
where else to go, I would appreciate the recomendation. On to my problem, I
have built a windows service that makes decisions based on AzMan roles and
operations. Client requests come in over .NET remoting. I am having problems
with the authorization manager store and application objects. If I create
the store and open the application for every request, it all works. However
I would like to open the store object and the application when the service
cranks up and use those objects to open client contexts (sounds like it
would perform better, but to date it just breaks) . When I try to do this, I
almost always get an interop error the error is "InvalidCastException
calling any method on the IAzApplication. (System.InvalidCastException:
QueryInterface for interface
Microsoft.Interop.Security.AzRoles.IAzApplication failed).". If I run the
exact same code in a winforms applicaitno, the calls work fine. I am pretty
sure I am hitting a threading problem here (see note below), but cant seem
to figure it out
Thanks in advance for any ideas or advice
-Robert
p.s. I have found a similar discussion on
http://www.dotnetmonster.com/Uwe/Forum.aspx/dotnet-interop/1590/InvalidCastException-Using-AzMan-from-ASP-NET,
but no resolution
- Next message: David Cross [MS]: "Re: Certificate path construction using CAPI"
- Previous message: erha: "Re: Default Container for Smart Card based Certificate"
- Next in thread: Robert Ginsburg: "Re: AzMan problems -- InvalidCastException"
- Reply: Robert Ginsburg: "Re: AzMan problems -- InvalidCastException"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|