Hello,
This is the code I am using to connect to a access database remotely.
(Actually I am connecting to database on the same machine. I couldn't get hold of a person with a dbms and net connection on his machine , to try remote connection)

VB Code:
  1. Private Sub Command1_Click()
  2. Set conn = New ADODB.Connection
  3. 'Set rs = New ADODB.Recordset
  4. On Error GoTo dberror
  5.  
  6. With conn
  7.   .ConnectionString = " PROVIDER = MS Remote ; " _
  8.                      & "Remote Server = http://x.x.x.x;" _
  9.                      & "Remote Provider = Microsoft.Jet.OLEDB.4.0 ;" _
  10.                      & "Data Source = d:\nse\nsedata.mdb" _
  11.                      & "User Id=Admin;Password=;"
  12.   .Open
  13.  
  14. End With
  15. 'rs.Open "todaydeal", conn, adOpenKeyset, adLockOptimistic, adCmdTable
  16. MsgBox ("successfully opened the connection")
  17. Exit Sub
  18. dberror:
  19.   MsgBox ("error connecting to database")
  20. Print Err.Source
  21. Print Err.Number
  22. Print Err.Description
  23. End Sub

This part works fine.
When I uncomment the statements involving recordsets, then I am getting the error:
microsoft ado/rds
8447
internet server error
I didn't post the actual ip address. May be I am getting paranoid , but I was not sure if it was the right thing to do.
What is it that I should do?
Thank you.