B
Bruce Whitehouse
I've an appartment threaded VB6 COM object thats been configured in COM+ to
run under a specific domain user.
I've tried instantiating the object in my VB.NET class and I get the
following error....
------------------------------------------------------------------------
----------------------------
A first chance exception of type 'System.InvalidCastException' occurred
in gbasvr07.dll
Additional information: QueryInterface for interface ALFA._Sage failed.
------------------------------------------------------------------------
----------------------------
If I continue, I eventually get the message (in the browser)
------------------------------------------------------------------------
----------------------------
Server Error in '/' Application.
QueryInterface for interface ALFA._Sage failed.
Description: An unhandled exception occurred during the execution of the
current
web request. Please review the stack trace for more information about
the error and
where it originated in the code.
Exception Details: System.InvalidCastException: QueryInterface for
interface
ALFA._Sage failed.
------------------------------------------------------------------------
----------------------------
If I try to catch the exception, I get "Thread was being aborted" as the
exception message.
I've been searching for answers and it seems to point to the threading, but
all options I've seen state that aspcompt must be set to true, which it is.
Does anyone have any idea why I'm getting this? BTW - it worked the first
time I ran the page!
regards,
Bruce
run under a specific domain user.
I've tried instantiating the object in my VB.NET class and I get the
following error....
------------------------------------------------------------------------
----------------------------
A first chance exception of type 'System.InvalidCastException' occurred
in gbasvr07.dll
Additional information: QueryInterface for interface ALFA._Sage failed.
------------------------------------------------------------------------
----------------------------
If I continue, I eventually get the message (in the browser)
------------------------------------------------------------------------
----------------------------
Server Error in '/' Application.
QueryInterface for interface ALFA._Sage failed.
Description: An unhandled exception occurred during the execution of the
current
web request. Please review the stack trace for more information about
the error and
where it originated in the code.
Exception Details: System.InvalidCastException: QueryInterface for
interface
ALFA._Sage failed.
------------------------------------------------------------------------
----------------------------
If I try to catch the exception, I get "Thread was being aborted" as the
exception message.
I've been searching for answers and it seems to point to the threading, but
all options I've seen state that aspcompt must be set to true, which it is.
Does anyone have any idea why I'm getting this? BTW - it worked the first
time I ran the page!
regards,
Bruce