entaroadun
Programmer
This is my first COM+ application, so please be gentle.
I created two ActiveX dlls for use in a COM+ application. The first is a business component and the second is a db component... pretty standard stuff.
I make extensive use of the ObjectContext and SecurityProperty objects, so I can't test my component outside of COM+. I tried enabling debugging for my COM+ app... that didn't go so well, and I don't feel like figuring out what the problem is.
The business component fails on initialization. I get an "Class does not support Automation or does not support expected interface" error. This happens both in a test Win32 exe and in ASP.
What is going on?
I know it's not a version compatibility problem, since both components are first builds. I know I added them into my COM+ app correctly because the component gave me a security error when I had not set up my roles properly. I know that the problem must be internal to either the business or db components, since the database component can be instantiated just fine.
The only thing I can think of is that I use GetObjectContext in Class_Initialize, but I'm using W2K SP2, which is supposed to have patched that bug over.
I am also using ADO extensively of course, in that same initialization routine.
Please help!
I created two ActiveX dlls for use in a COM+ application. The first is a business component and the second is a db component... pretty standard stuff.
I make extensive use of the ObjectContext and SecurityProperty objects, so I can't test my component outside of COM+. I tried enabling debugging for my COM+ app... that didn't go so well, and I don't feel like figuring out what the problem is.
The business component fails on initialization. I get an "Class does not support Automation or does not support expected interface" error. This happens both in a test Win32 exe and in ASP.
What is going on?
I know it's not a version compatibility problem, since both components are first builds. I know I added them into my COM+ app correctly because the component gave me a security error when I had not set up my roles properly. I know that the problem must be internal to either the business or db components, since the database component can be instantiated just fine.
The only thing I can think of is that I use GetObjectContext in Class_Initialize, but I'm using W2K SP2, which is supposed to have patched that bug over.
I am also using ADO extensively of course, in that same initialization routine.
Please help!