• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

ODBC connection problem

J

JeanieW

Guest
Our customer wants to put their database file in the web space, and setup ODBC connection to connect the microsoft access file.

Below are information entered in control panel:

Drive: "Microsoft Access Driver (*.mdb)
[DBQ] DB File Path: "C:\Inetpub\vhosts\domainname.com\httpdocs\foldername\databasename.mdb"

Below are customer's script

Set strConn = Server.CreateObject("ADODB.Connection")
strConn.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("
C:\Inetpub\vhosts\domainname.com\httpdocs\foldername\databasename.mdb"))


They found the path is totally not work. Why ?
Please help. Thanks.
 
hi jeanie

do you have solve your pbe, i've same pbe in plesk 10 on win2008 64bits; sql 2008 connection works well, but when i try to create odbc dsn, when i enter database path, i've this error :

Erreur: Impossible de se connecter à la source des données à l'aide des paramètres définis. Le serveur a renvoyé l'erreur suivante :
ODBCError HY000: [Microsoft][Pilote ODBC Microsoft Access] Nom de fichier incorrect.

thanks in advance for your answer
Antoine
 
To fix this problem please change in file:
"%plesk_bin%\odbc.conf.xml"
value of property 'curly' for parameter 'DBQ' from 'true to 'false' for driver
'Microsoft Access Driver (*.mdb)'.

====================================
...
<cstring driver="Microsoft Access Driver (*.mdb)">
<param>
<key>DRIVER</key>
<key_human></key_human>
<required>true</required>
<curly>true</curly>
<type>string</type>
<value>Microsoft Access Driver (*.mdb)</value>
</param>
<param>
<key>DBQ</key>
<key_human>DB File Path</key_human>
<required>true</required>
<curly>false</curly> <<<<<<<<<<<<<<<---------------
<type>string</type>
<value></value>
</param>
...
====================================
 
Back
Top