This article was previously published under Q245407
Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
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:
Can't update. Database or object is read-only.
When importing, this is followed by:
An error occurred trying to import file filename. The file was not imported.
The file that you are importing or that you are trying to export does not have a recognized file name extension.
Rename the file name extension so that it matches one of extensions listed in the "More Information" section later in this article.
Modify the following registry key to include the extension of the file that you are importing.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
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
For security reasons, the latest service pack for Jet (by default) allows only text files with the following extensions to be imported:
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: