Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm brand new to LaTeX; any idea how to overcome this error message?

"texify.exe: Windows API error 32: The process cannot access the file because it is
being used by another process.
texify.exe: Data: untitled-1.log"
share|improve this question
1  
Windows is unable to open a same file by 2 programs simultaneously. Either quit the program that owns untitler-1.log, or -- it's probably the best thing to do -- reboot your computer to clean the locks. –  Lionel MANSUY Feb 19 '13 at 8:17
add comment

1 Answer

Here's the suggestion copied from my answer to your cross-post Windows API Error 32 in the LaTeX-Community.org forum:

The error message says it: some process blocks the file, Windows cannot open it for that reason. For example, if you have the output file open in the Adobe Acrobat Reader, LaTeX cannot write on it because the reader blocks it, similarly having the .log file open in an editor may block it.

So you could do one of the following:

  • Stop compilation, if there's one running, and close viewer programs, specifically if you have the .log file open in an editor

  • Use the Windows task manager to locate process which may use it and kill them (editor, viewer, texify, ...)

  • Reboot your computer, which closes all programs and removes the file locks

  • Use other programs which don't block files

The first solutions are quick, the third one is clean, the last one an option for the future.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.