[Tex/LaTex] .aux I couldn’t open database file file.bib.bib

auxiliary-filesbibtexpdftextexmaker

whenever I am trying to compile its showing .aux I couldn't open database file.bib.bib
I am using texmaker on windows 7.
I already reinstalled MiKTeX and texmaker many times.

Best Answer

You should not use \bibliography{bibfile.bib}{} but \bibliography{bibfile}:

\documentclass{article}
\begin{document}

\cite{foo}

\bibliography{bibfile} 

\end{document}

During the compilation LaTeX try to add the .bib extension and so it goes wrong. since the file bibfile.bib.bib does not exist.