MSQuery Error: 'DSN Name Too Long' or 'Data Truncated' |
In Microsoft Query, if you create a data source with a name that is 32 characters long using the Microsoft Access ODBC driver, one of the following symptoms occurs:
You can use that data source until you exit Microsoft Query. When you exit and then start Microsoft Query again, and attempt to use that same data source, you may receive the following error message:Data source name too long
When you choose OK in the ODBC Microsoft Access 2.0 Setup dialog box, you receive the following error message:Additionally, you receive this error message when you choose Other in the Select Data Source dialog box, and you cannot create a new data source.Data truncated
When you exit Microsoft Query, the data source name is written to the [Data
Sources] section of the MSQUERY.INI file, which located in your Microsoft
Windows directory. When you create a data source using the Microsoft Access
version 1.0 ODBC driver, if the data source name is 32 characters long, the
word "ADMIN" is appended to the data source name in the MSQUERY.INI file.
This causes the error message above to appear when you attempt to use the
data source again after you close and then start Microsoft Query again.
When you create a data source using the Microsoft Access version 2.0 ODBC
driver, if the data source name is 32 characters long, the entry is not
written to the MSQUERY.INI file, and does not appear in the Available Data
Sources list.
To avoid receiving this error message, create a data source name (DSN) that
is between 1 and 31 characters long.
NOTE: Because there are several versions of Windows, the following steps
may be different on your computer. If they are, please consult your product
documentation to complete these steps.
If you receive either of the above error messages after creating a data
source using the Microsoft Access ODBC driver, do the following to correct
this error message:
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
Additional query words: 5.00
Keywords : xlquery
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type :
Technology :
|
Last Reviewed: September 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |