|
-
Feb 3rd, 2003, 01:05 AM
#1
Thread Starter
New Member
COM with MTS
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
-
Feb 3rd, 2003, 07:26 AM
#2
Lively Member
i realized that when u try to create the MTS object from remote machine, u have probelm? is it correct?
if it is, u have to install a proxy on the remote machine.
-
Feb 4th, 2003, 11:57 AM
#3
Thread Starter
New Member
Hi,
Thanx for your solu deja. In that what do u mean by 'proxy' .
With Advance thanx
Ethiraj.BalaKrishnan
-
Feb 5th, 2003, 11:36 AM
#4
Lively Member
when u create COM+ or MTS application, it works fine when u create one of those COM objects on the same machine. now u want to enable remote application to use these COM objects, so you must install proxy on those clients, so they could connect to the COM+ application.
if u using COM+, right click on your application (i.e. COM+ application) and choose export, select proxy application and COM+ will emit MSI installation file, take this file, copy it to the client machine and run it. that should work fine.
-
Feb 7th, 2003, 09:58 AM
#5
Hyperactive Member
hi,
other wise copy .tlb and .vbr files on client system and register the same using clireg32 to remote system then u r problem will be solved.
-
Feb 9th, 2003, 12:35 AM
#6
Lively Member
it is not absolute correct, because if u use clireg32, u must configure DCOM both on the server and the client.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|