Help! File cannot be found.

Z

Zagor

I have this connection string in my pc

Dim oODBCConnection As OdbcConnection
Dim sConnString As String = _
"Driver={Microsoft Access Driver (*.mdb)};" & _
"Dbq=c:\database\mydb.mdb;" & _
"Uid=Admin;" & _
"Pwd="
oODBCConnection = New Odbc.OdbcConnection(sConnString)
oODBCConnection.Open()

.....and everything is fine.

When I upload the file to my hosting service , (I created a directory
"database" in my root folder and ftp the mdb).
As a DBQ I am using

Dbq = "\databse\mydb.mdb" ....the problem is that the file could not be
found.

Is there a particular way to set the path on a web server?

Please help
Thank you in advance
Frank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top