I understand and do use simple ODBC connection (thru Control Panel ODBC) to Access DB on the server in my office.
There are some web sites which I run on Godaddy. Godaddy reqires the following connection way to DB:
dsn_name = "access_tetra1"
sDSNDir = Server.MapPath("/_dsn")
connectstr = "filedsn=" & sDSNDir & "\" & dsn_name
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open connectstr
I need to configure similar connection on my "local" web server. What I have to do for it?
where "_dsn" folder should be?
Do I need to place my mdb there?
What about folder properties?
I ask for detailed step by step points to do to be able to use godaddy style of connetion on my local web server.
Thanks in advance.
There are some web sites which I run on Godaddy. Godaddy reqires the following connection way to DB:
dsn_name = "access_tetra1"
sDSNDir = Server.MapPath("/_dsn")
connectstr = "filedsn=" & sDSNDir & "\" & dsn_name
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open connectstr
I need to configure similar connection on my "local" web server. What I have to do for it?
where "_dsn" folder should be?
Do I need to place my mdb there?
What about folder properties?
I ask for detailed step by step points to do to be able to use godaddy style of connetion on my local web server.
Thanks in advance.