COM+ object calling

  • Thread starter Thread starter Bruce Whitehouse
  • Start date Start date
B

Bruce Whitehouse

Is it possible to call a VB6 object, thats configured in COM from a VB class
file?

If so, how?

I keep getting errors.

regards,
Bruce Whitehouse
 
Yes I have.

It's set to true!

this only sets the compatability for the aspx page. I've a separate class
that calls the COM+ object.

Regards,
Bruce
 
Actually the "AspCompat" attribute causes the thread to execute in a STA
rather than a MTA, and somewhere in the code of the page you create the
class which calls the COM obj, still in the same thread, so you must use the
"AspCompat" attribute.

It may be a security issue then, specially if the COM obj is an out of
process exe.
To test it, switch anonymous access off to the virtual directory and use
impersonation,
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vxconimpersonation.asp
 
Back
Top