• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Adding a new DSN Connection (.mdb)

M

martha

Guest
Hi all,

for the life of me, I can't get the db file path correct for this. Do I put in the full path to the database? I've tried different methods, but test connection always fails.

Hoping someone has an answer to this.

Thx.
 
Hello

We did it this mornig and had to enter the whole path to the database. in our case was that:

e:\www\vhosts\yourdomain.ch\httpdocs\test.mdb

and the test fas sucessfull.
 
Thanks for the reply sonics,

I did try that, but here's the error i'm getting:

unable to connect to datasource with specified settings. server returned: odbcerror hy000: [microsoft][odbc microsoft access driver] not a valid filename.


But i've double and triple checked to ensure that the file name was correct, even using sample.mdb and testing.mdb, but result is the same.

any ideas?
 
you need to enter the real path to the database and also the name of the db.

it should work.
 
When you want to know the real path to the database file. Run this script in the directory of the database:

Just put it in a example.asp (or something like that)
<%
Response.Write Server.MapPath(Request.ServerVariables("PATH_INFO"))
%>
this line shows the real path to the databasefile.

View this example on: http://mappath.denit.net

You can add this path it in the plesk control panel under odbc. Test the connection et voila.

Do not forget to set write permissions on the database file.
 
Back
Top