AzMan threading problems
From: Robert Ginsburg (robert.ginsburg_at_ver3.com)
Date: 04/05/05
- Previous message: Nicole Calinoiu: "Re: web application can not access event log"
- Next in thread: richlm: "Re: AzMan threading problems"
- Reply: richlm: "Re: AzMan threading problems"
- Reply: Robert Ginsburg: "Re: AzMan threading problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 5 Apr 2005 09:01:34 -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
- Previous message: Nicole Calinoiu: "Re: web application can not access event log"
- Next in thread: richlm: "Re: AzMan threading problems"
- Reply: richlm: "Re: AzMan threading problems"
- Reply: Robert Ginsburg: "Re: AzMan threading problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|