Pervasive: a DSN-less owner string fails with "Connect failed because you attempted a dsn less connection"

Applies to: Clarion 6.3 build 9058 with the Clarion Pervasive SQL driver; Pervasive 10.00.151.000 as reported.

Problem

To avoid setting up an ODBC DSN on every machine, the owner name of the table held servername|databasename. Through a Pervasive client that worked without a DSN. From another server against a remote Pervasive server it raised "Connect failed because you attempted a dsn less connection. Please retry your connection with a dsn. If you already attempted the connection using a dsn, please try after recreating the DSN." - and after OK the table displayed anyway. The form Driver={{Pervasive ODBC Client Interface};ServerName=servername;dbq=databasename; in the owner failed the same way.

Solution

  1. The driver trace showed why: the Clarion Pervasive SQL driver prefixes dbq= to whatever is in the owner, so the Driver= form reached Pervasive as dbq=driver={Pervasive....
  2. Put the database name first and the driver keywords after it, so the prefix lands on the database name. The poster's string began databasename;driver={Pervasive... and everything worked. He quoted only its start; the rest is the Driver and ServerName keywords from the attempt above.
  3. For other keyword spellings, connectionstrings.com was the reference another poster gave.

Caveats

  • The poster was not sure whether the dbq= prefix is specific to one Clarion build or driver version.
  • The string goes into the table's Owner Name; the thread's request for the complete string got no reply.

Today (2026)

Pervasive is now Actian Zen and the Clarion Pervasive driver has not been re-tested for this; the method stands: run the driver trace, read what the driver actually sends, and order the owner string to match. Not re-tested.

Sources: Barry C. (Oct 2008, the question and the answer), Tony T., Joachim H. (Oct 2008) in softvelocity.clarion.databasedrivers.