Hi,

This is Bala, and i'm new to MTS & Dcom area. I created COM (activex.dll) and i deployed it into MTS (in new package). The Transaction type of MTS-package is 'Requires New Transaction'.

And compatibility type of COM is 'Binary Compatilibity'. After that i wrote Client Program with using of COM. It is successfully running in the same (MTS running-Server) machine. But it gives error message as 'Run Time Error 429, Activex Component Can't Create Object'.


I'm writing here, my client frm coding
=============================================
private function ConnectLocal() as boolean
Dim gCon as new ADODB.Connection
Dim obj As Object
Set obj = CreateObject("Connect.clsConnect")
If obj.gConnect(gCon) = True Then
ConnectLocal = True
Else
ConnectLocal = False
End If
end function
=============================================


Please help me and correct this code.

With Advance Thanx



Ethiraj.BalaKrishnan