Error: Unable to write to .aux file
Version: 3.x, 4.x, 5.0 - Scientific WorkPlace & Scientific Word
After transferring a file from one computer to another on a CD-R disc, the .tex file no longer compiles. This LaTeX error is displayed:
Error: Unable to write to file 'swp0000.aux'.
LaTeX creates an .aux file when it compiles your document. It reads in the file and uses the information it contains to resolve cross-references and perform other typesetting functions.
If you transfer a document and its associated auxiliary files from one computer to another using a CD-R disc, the files can sometimes be marked as read-only. When you compile the document again, LaTeX copies the files to the temporary directory for the program installation and renames the .aux file as swp0000.aux. It retains the read-only attribute, which prevents opening and writing to the file and results in the error. The problem occurs with installations prior to build 2606.
If you have Version 5.0 prior to build 2606, you can resolve this problem by downloading and installing the patch update for build 2606. The error has been addressed in the patch update and in later builds.
If you have an earlier version of the software, delete any swp0000.* files, especially any marked as read-only, in the temporary directory of your program installation.
Last revised 11/11/05