PRB: "Error Writing to File" Error Using a Table on a CD-ROMLast reviewed: December 4, 1997Article ID: Q177143 |
The information in this article applies to:
SYMPTOMSWhen closing a table or executing a COPY TO or APPEND FROM command on a table that has no code page located on a CD-ROM, the following error message appears:
Error Writing To FileThis error occurs only under Windows 95. Windows NT version 4.0 does not produce the error message. This message is most likely to happen with a CD- ROM drive installed on the local computer. If the CD-ROM drive is mapped over a network, the message may not occur.
CAUSEVisual FoxPro tries to write the code page selected in the Code Page dialog box back to the table. However, since the CD-ROM is read-only, the error occurs. Visual FoxPro versions 3.0x and 5.0x running on Windows 95 cannot detect that the CD-ROM is a read-only device.
RESOLUTIONHere are four workarounds for this problem:
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThis error is more difficult to invoke when using the COPY TO and APPEND FROM commands. Depending on the size of the table, the error occurs only after many hundreds or thousands of records are copied. Therefore, the message may appear as an intermittently occurring error that is difficult to reproduce. This makes troubleshooting the problem extremely difficult. The problem does not appear to be linked to the read-only attribute on the file. If a read-only table without a code page is located on the hard drive, Visual FoxPro does not prompt for a code page.
Steps to Reproduce Behavior
|
Additional query words: error writing file append copy cd-rom
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |