# Tex File No Longer Found After Previously Working TexMaker & Texlive for Windows 7

I set up TexMaker a while ago, and configured it to use TexLive. I specified all of my paths correctly such that I could generate some nice looking PDFs for a while working on my thesis.

I tried to open my main file the other day (main.tex) when I received the curious error message:

After stating this, the file opens anyway but cannot compile. Using the regular QuickBuild takes too long (it doesn't even finish), so I used the command line instead. Using 'latex main.tex' I receive the following message:

At this point I try and see from a command-line point of view whether the file 'main.tex' is there, so I run a simple 'dir' command:

Which simply shows me that the file is indeed there.

This worked for a while, but now doesn't do anything at all. My MWE would be quite long, however I downloaded the template from this source here.

If I try and compile a test file such as the following, it works fine:

\documentclass{article} \begin{document} This is a test document \end{document}

EDIT: I only have TexLive installed. If I try running pdflatex main.tex I have the following (rather lengthy) response, mainly about reference errors but since I can't use bibtex either I'm not sure what I can do:

Which continues to:

EDIT 2: I've noticed that if I remove /usepackage[version=3]{mhchem} the document compiles again (although without the features of the mhchem package).

• Normally I use a lot of references also, so I'm forever using latex, bibtex, latex, latex. Not sure if that's the best way to go about it but it seems to have worked for me up until now. – TheJerseyChemist Oct 19 '14 at 16:23
• My current version is Tex Live 2014, the one which was released in June of this year. – TheJerseyChemist Oct 19 '14 at 17:03
• Just looking at TexMaker now, the screen which should be the pdf viewer has 'read-only' in the top left of the window. Could it be anything to do with this? – TheJerseyChemist Oct 19 '14 at 18:29