PRB: Datasource Name Too Long Error as Establishing ConnectionLast reviewed: August 13, 1995Article ID: Q134723 |
The information in this article applies to:
SYMPTOMSWhen attempting to establish a connection to a remote data source using a connection created with the Connection Designer, Visual FoxPro fails, and displays this error message:
Connectivity error: [Microsoft][ODBC DLL]Data Source Name Too Long CAUSEIn the Connection Designer, the Connect String was chained together using commas instead of semi-colons.
WORKAROUNDThe connection string specified in the connection designer must be changed to be chained together using semi-colons.
STATUSThis behavior is by design.
MORE INFORMATIONThe following connection string, if entered in the Connection Designer, fails due to the presence of commas:
DSN=vfpsql,USERID=sa,PASSWORD=sa,DATABASE=pubsThe correct syntax is:
DSN=vfpsql;USERID=sa;PASSWORD=sa;DATABASE=pubs |
Additional reference words: 3.00 VFoxWin ODBC
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |