Article ID: 245407
Article Last Modified on 7/28/2004
APPLIES TO
- Microsoft Access 2000 Standard Edition
This article was previously published under Q245407
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SYMPTOMS
After you install the latest service pack for Microsoft Jet 4.0, when you import text files or try to export an Access object to text format, you may receive the following error message:
When importing, this is followed by:
CAUSE
The file that you are importing or that you are trying to export does not have a recognized file name extension.
RESOLUTION
Rename the file name extension so that it matches one of extensions listed in the "More Information" section later in this article.
-or-
Modify the following registry key to include the extension of the file that you are importing.
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
HKEY_LOCAL_MACHINE\Software\Microsoft\Jet\4.0\Engines\Text\DisabledExtensions
For additional information about setting this registry key see the More Information section of the following article, click the article number below to view the article in the Microsoft Knowledge Base:
239471 Jet 4.0 Text IISAM Allows Users to Append Lines to System Files
MORE INFORMATION
For security reasons, the latest service pack for Jet (by default) allows only text files with the following extensions to be imported:
- txt
- csv
- tab
- asc
- htm
- html
If you try to import a text file or to export an Access object to text format with any other extension, you receive the error message that is mentioned in the "Symptoms" section.
Steps to Reproduce the Behavior
- Install Microsoft Jet 4.0 Service Pack 3. For additional information about installing this service pack, click the following article number to view the article in the Microsoft Knowledge Base:
239114 How to obtain the latest service pack for the Microsoft Jet 4.0 Database Engine
- Click Start, point to Programs, point to Accessories, and then click Notepad.
Type the following text:
1,John,Doe 2,John,Smith 3,John,Jones
- Save the file as C:\Test.dat, and then close it.
- Start Microsoft Access 2000.
- Create a new database.
- On the File menu, point to Get External Data, and then click Import.
- In the Files of type list, click Text Files (*.txt;*.csv;*.tab;*.asc).
- In the File name box, type C:\Test.dat, and then press ENTER.
- Click Finish. Note that you receive the following error message:
Additional query words: prb Can t Update. Database or Object Is Read-only
Keywords: kberrmsg kbexport kbimport kbprb KB245407