Hi everybody, this is my problem :
I have a COM+ component containing 2 classes. One (clsMulti) with a multiuse instancing and another (clsPriv) with a private instancing.
This component is called from an asp page this way :
dim objTest
dim strTemp
set objTest = Server.CreateObject("prjTest.clsMulti"
strTemp = objTest.getInfo()
So, in clsMulti and clsPriv I have an GetObjectContext.SetComplete if everything's ok and a GetObjectContext.SetAbort in each if somethings goes bad.
When something goes bad in clsPriv, I setAbort the objectContext but it's seems that this action do anything. When I finally return to the asp page, it tells me that the transaction's complete!!!
Somebody tells me that I'm supposed to be able to have only one MultiUse Class and a lot of private class in one component and that the transaction context will be set correctly in the private class.
Do anybody have a hint on this.
Thank you.
Excuse my probably poor written english, not a lot of practice in Quebec City.
I have a COM+ component containing 2 classes. One (clsMulti) with a multiuse instancing and another (clsPriv) with a private instancing.
This component is called from an asp page this way :
dim objTest
dim strTemp
set objTest = Server.CreateObject("prjTest.clsMulti"
strTemp = objTest.getInfo()
So, in clsMulti and clsPriv I have an GetObjectContext.SetComplete if everything's ok and a GetObjectContext.SetAbort in each if somethings goes bad.
When something goes bad in clsPriv, I setAbort the objectContext but it's seems that this action do anything. When I finally return to the asp page, it tells me that the transaction's complete!!!
Somebody tells me that I'm supposed to be able to have only one MultiUse Class and a lot of private class in one component and that the transaction context will be set correctly in the private class.
Do anybody have a hint on this.
Thank you.
Excuse my probably poor written english, not a lot of practice in Quebec City.