I have tried searching for two consecutive days, and read multiple treads, but no one seems to answer my question exactly. I am using MiKTeX 2.9, TeXstudio and Jabref 2.9. Here is a minimal code example:



  In this paper I will try to sucessfully make a reference 



This always returns the following errorlog from BibTeX:

This is BibTeX, Version 0.99d (MiKTeX 2.9)
The top-level auxiliary file: test.aux
The style file: plain.bst
I couldn't open database file bibli.bib
---line 4 of file test.aux
: \bibdata{bibli
: }
I'm skipping whatever remains of this command
I found no database files---while reading file test.aux
Warning--I didn't find a database entry for "hardin1968tragedy"
(There were 2 error messages)

My bib file contains my citation when checked, but my .bblfile is empty save for:


All the files in the example are contained in a separate directory. I have also tried compiling in quite possibly every way imaginable.

closed as unclear what you're asking by Christoph, Gonzalo Medina, ChrisS, Speravir, Heiko Oberdiek Mar 2 '14 at 1:26

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Is the aux-file in the same directory as your tex file? – Ulrike Fischer Aug 31 '13 at 12:53
  • Is your bib file, bibli.bib, located either in the same directory as our main .tex file is, or in a directory that's searched by BibTeX? – Mico Aug 31 '13 at 13:03
  • All the files in the example, including the .bib-file and the .aux file are contained in a separate folder created for this example. – DrH Aug 31 '13 at 13:08
  • Can you tell us the full path of your .tex file and the full path of the .bib one? Moreover, is bibli.bib or biblio.bib the name of your bibliography? Sorry for these silly questions, but one never knows. – karlkoeller Aug 31 '13 at 13:12
  • 1
    What happens if you move the tex and the bib to a new folder outside the user profile, e.g. C:\TeX-tests\...? Also what happens if you change the style plain to e.g. alpha. Does the error message then also mention alpha? – Ulrike Fischer Aug 31 '13 at 14:16