My Oracle Support Banner

ODBC:DAO Application Fails With "The connection string is too long" While Long Password Used In 19c (Doc ID 2835837.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle ODBC Driver - Version and later
Information in this document applies to any platform.


DAO Application using  ODBC driver to connect the Oracle Database. In the connection string if we specify the password is more than 15 charactor length then application raising "DAO.Database: The connection string is too long." error

"DSN=<OracleDSN>;UID=<DBUser>;PWD=<Less then 5 Charater>;"     = > Works
"DSN=<OracleDSN>;UID=<DBUser>;PWD=<Grater then 15 Charater>;" => Fails

Sample Code:



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.