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
 
Chris

Thanks for your help!

This proved to be the problem!

Bruce
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top