
MTS - Microsoft Transaction Server
Scenario: I have 2 DLL's that I have deployed in MTX(on a server) and a
simple interface sitting on my PC. My interface accesses DLL1, which calls
to DLL2, gets and answer. DLL1 sends the answer back to the interface.
It keeps telling me that DLL1 cannot create object DLL2.
(Yes I've referenced the MTS object.)
(And yes I've set the Transaction tab on both components to 'Requires a New
Transaction' and 'Requires a Transaction', respectively.)
(Yes, I exported the package and installed the client application on my PC.)
In DLL1 I'm using the code:
'**************************************************************************
Dim objContext as ObjectContext
Dim objSqRoot As clsFigureSqRoot
objContext = GetObjectContext()
Set objSqRoot = objContext.CreateInstance("clsFigureSqRoot")
'**************************************************************************
Questions:
1) Do I need to compile DLL2 with Remote Server Files, since DLL2 which is
sitting on the same server is accessing it?
If you have some insight into all this, please send me an email. I am
losing my hair at warp speed over this.
Thanks in advance,
Maria Turpin