Tricky
Jan 8th, 2001, 03:11 PM
I'm a newbie so sorry if this is simple...
I'm creating a simple online shopping site...
to connect to the database I have the lines
Set cn = Server.CreateObject("ADODB.Connection")
Set rs = Server.CreateObject("ADODB.Recordset")
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source='store.mdb'"
rs.Open strSQL,cn
rs.MoveFirst
when moved to a sever, the database i want to point to is at http://merlin/project2/store.mdb. I've tried replacing store.mdb with this path but i get the error messge 'C:\WINDOWS\Desktop\http:\\merlin\project2\onlinestore.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
Any ideas would be greatly appreciated
I'm creating a simple online shopping site...
to connect to the database I have the lines
Set cn = Server.CreateObject("ADODB.Connection")
Set rs = Server.CreateObject("ADODB.Recordset")
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source='store.mdb'"
rs.Open strSQL,cn
rs.MoveFirst
when moved to a sever, the database i want to point to is at http://merlin/project2/store.mdb. I've tried replacing store.mdb with this path but i get the error messge 'C:\WINDOWS\Desktop\http:\\merlin\project2\onlinestore.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
Any ideas would be greatly appreciated