ax21
asked on
VB / RDS Problem
Hi !
Here is my case :
I have COM object (that is written in VB6) which is DLL. I need to work with this object remotely via HTTP (via RDS.DataSpace Object). In addition, my DLL is placed in the MS Transaction Server.
Here is my code :
Dim ds As New RDS.DataSpace
Dim phRS As ADODB.Recordset
Set obj = ds.CreateObject("ADOTest.G etRecordse t", "http://xxx")
Set phRS = obj.GetRecordset(3, 2)
MsgBox phRS.Fields.Item(1).Name
And now the problem :
I have 2 remote Windows NT 4.0 Servers, while there is no error in one of them, at the second the phRS
variable is returned “nothing”. I have checked the possible security settings (dcomcnfg.exe) but nothing
helps. I have also rechecked the object – it’s registered and it’s the same object.
What can be wrong ?
Thanks a lot !
Here is my case :
I have COM object (that is written in VB6) which is DLL. I need to work with this object remotely via HTTP (via RDS.DataSpace Object). In addition, my DLL is placed in the MS Transaction Server.
Here is my code :
Dim ds As New RDS.DataSpace
Dim phRS As ADODB.Recordset
Set obj = ds.CreateObject("ADOTest.G
Set phRS = obj.GetRecordset(3, 2)
MsgBox phRS.Fields.Item(1).Name
And now the problem :
I have 2 remote Windows NT 4.0 Servers, while there is no error in one of them, at the second the phRS
variable is returned “nothing”. I have checked the possible security settings (dcomcnfg.exe) but nothing
helps. I have also rechecked the object – it’s registered and it’s the same object.
What can be wrong ?
Thanks a lot !
Is the security for the MTS package enabled, and for MTS it self ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Unfortunatelly, I don't have time to deal with this problem, so I just hope it would help...
Thanks. Tell me if you want more info or you have any doubts.