PRB: Visual FoxPro ODBC Driver Creates an Invalid File DSNLast reviewed: August 13, 1997Article ID: Q172695 |
The information in this article applies to:
SYMPTOMSWhen trying to configure a Visual FoxPro file DSN a message similar to the following appears:
General error: Invalid file dsn 'Windows\ODBC\Data Sources\MyData.dsn'When trying to make a connection to a Visual FoxPro database with a file DSN the following message appears:
[Microsoft][ODBC Driver Manager]Data source name not found and no default driver specified CAUSEThe Visual FoxPro ODBC driver incorrectly adds the entry "DSN=" to the file DSN.
RESOLUTIONTo correct this problem, remove the "DSN=" line from the .dsn file. This file, by default, is located in the "\Windows\ODBC\Data Sources" directory. Be aware that every time this DSN entry is configured using the ODBC Data Source Administrator, the .dsn file is rewritten along with the "DSN=" line. This means that any time you modify this DSN entry using the ODBC Data Source Administrator, you must also remove the "DSN=" line. Some applications save the DSN information (including the "DSN=") when an ODBC connection is made. Even after the original file DSN is corrected, problems still occur when these connections are used. To correct this problem, delete and re-create the connection.
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThis problem affects the Visual FoxPro ODBC Driver version 5.00.00402 only.
|
Additional query words: 80004005
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |