Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Has anyone used the "Remote Data Service?"

Status
Not open for further replies.

NeedVBHelp

Programmer
Mar 9, 2000
15
US
Hello I have a problem when try to use the &quot;Remote Data Service (RDS)&quot;, error: &quot;Internet server error&quot;.<br>I created a VB Script (ActiveX Control) the will connect to the store procedure and return the records:<br>'Sample Codes:<br>Dim Rds as Object<br>Dim ObjComm as Object<br>Dim Rcd as Object<br>Sub UserControl_Initialized()<br>&nbsp;Set Rds = CreateObject(&quot;Rds.DataSpace&quot;)<br>&nbsp;Set ObjComm = rds.CreateObject(&quot;MyDll.Class1&quot;, &quot;<A HREF=" TARGET="_new"> Rcd = ObjComm.ReturnRs(&quot;MyDB&quot;, &quot;MyProcedure&quot;, &quot;Parameters&quot;<br>End Sub.<br>'End Of Sample Code Here.<br>When it trying to Connect ot the &quot;Set ObjComm = rds.CreateObject(&quot;MyDll.Class1&quot;, &quot;<A HREF=" TARGET="_new"> that when I got the error.<br>Any suggestion?<br>Thanks<br>
 
just a shot in the dark here but have you double checked that you added the registry key needed to be able to initiate this object from the web browser

this key

&quot;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\ADCLaunch\MyDll.Class1&quot;

should be on the your web server.

and that you ran regsvr32 on your dll

[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top