[Tex/LaTex] Sorry, but “MiKTeX Compiler Driver” did not succeed. eX going again

bibtexmiktex

My bibtex works properly. But in my main file when I chose pdflatex+makeindex+bibtex, it gives me this error:

Sorry, but "MiKTeX Compiler Driver" did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

  C:\Users\PhD student\AppData\Local\MiKTeX\2.9\miktex\log\texify.log

If I just run

 pdflatex

it run the pdf file, not completely. Just from the introduction and without references.
What should I do.

\documentclass{aa}  
\usepackage{array}  
\newcolumntype{C}{>{$}c<{$}}
\usepackage{adjustbox}
\usepackage[skip=0.333\baselineskip]{caption}
\usepackage{booktabs, 
            amsmath,  
            siunitx}  
\usepackage{url}

\usepackage{graphicx}

\usepackage{txfonts}

\begin{document} 
\end{document}

Best Answer

i SOLVED THIS PROBLEM BY USING THIS METHOD:

I am using texmaker as the editor. I compile it as following:

pdflatex filename (with or without extensions)
bibtex filename (without extensions)
pdflatex filename (with or without extensions)
pdflatex filename (with or without extensions)

THEN IT WORKED PROPERLY.