I just reproduced the exact same problem, and believe that I have found the solution. You had placed the \bibliogrpahy and \bibiographystyle commands after \end{document} by mistake.
And the next time you tried, it was corrected without you realising it.
Hoping that this post will help future ...
Search found 1 match
- Sat Oct 04, 2014 7:39 am
- Forum: Texmaker and TeXstudio
- Topic: The top-level auxiliary file found no \bibdata command
- Replies: 5
- Views: 128916