TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using a Windows Vista system. From the command line,

pdflatex ...document

works fine, with the expected errors about missing citations. It also reports:

No file document.bbl

which I assume is ok, because I think document.bbl is to be created by bibtex. However, when I run bibtex I get the error

document.blg: Forbidden to open for writing I couldn't open file ...document.blg

I thought bibtex created and wrote its own log file (.blg); so I am confused about how to proceed.

share|improve this question
try running the executables as administrator. This is probably a windows security error. Right click on the file and use run as administrator. – Yiannis Lazarides Dec 19 '11 at 17:18
Which TeX distribution are you using? – Martin Schröder Dec 19 '11 at 22:56
@YiannisLazarides: I wouldn't adivse on running arbitrary programs as administrator. Especially not to one still running Vista. ,-) – Martin Schröder Dec 20 '11 at 0:10

Google is your friend. I found these answers:

  1. http://tex.aanhet.net/rugtex/trouble.html
  2. http://www.tug.org/pipermail/tex-live/2010-September/027229.html
share|improve this answer
Thank you for your time and effort. The first reference is for a package called TeXnicCenter, which apparently provides for "make-like" command line arguments for bibtex. The second is for TexLive 2010, which is what I was using, but only the question is posted - no answer. I do appreciate your effort to help someone who is still working at the "magic" level. – Gene Dec 21 '11 at 15:19
@Gene: Follow the links next message for the second reference. It brings you to tug.org/pipermail/tex-live/2010-September/027234.html and tug.org/pipermail/tex-live/2010-September/027246.html – Martin Schröder Dec 21 '11 at 16:25

Your Answer


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.