# [texhax] A headache with MikTex 2.7

Thu Nov 6 11:58:46 CET 2008

mw253 at cornell.edu wrote:
> Hi,
>
> I just installed MikTeX 2.7 and TeXnicCenter.  When I tried to compile a
> very simple trial .tex file into DVI and PDF, an error occurs.  It says
> "Windows API error 2: The system cannot find the file specified.".  When
> I look at the log, basically Latex is not generating .aux file.
>
> Right now the path Latex=>DVI is C:\Program Files\MiKTeX
> 2.7\miktex\bin\latex.exe, I tried yap.exe, but it doesn't work.
>
> I hope that I can get some help from you.  It seems to me I just missed
> a correct path.  Thank you very much!
>
> Miao Wang
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org

are you sure that your document actually compiles?

Does something as simple as

\documentclass{article}
\begin{document}
hello world
\end{document}

work?

Most editors run in a mode that ignores errors, but if there is a fatal
error the dvi is not created, and thus Yap cannot find it.

--

/daleif