Hopefully this is a relatively easy problem. I'm new to TeXnic center and LaTeX in general. My problem is that TeXnic center will not output a PDF when I'm using document class Beamer. Here's a "Hello, world" I tried:
When I go to view output, Adobe Acrobat opens but only displays an error message, which says "There was an error opening this document. This file cannot be found."
I have been able to output documents with no problem, as long as they have document class "Article," which suggests that this is a problem with how TeXnic center handles the Beamer class.
I would be very grateful for any suggestions. Thank you.
I'm sorry, I made the typo when I was copying the code into this site. I don't think that was the problem. I just double-checked, and there are no typos (and TeXnic center doesn't give me any error messages). However, when I press F5 to display the PDF, I get the same error message: "There was an error opening this document. This file could not be found." Again, I do not have that problem when I write a test document using the Article class.
Have you checked if at least the pdf file is generated? I mean, once you compile your document, if no error messages appeared, the generated pdf file should be in the same folder that contains your .tex; go to that folder and search the pdf file; if it is there and you can open it with your viewer, then the problem is a TeXnicCenter issue.
I think that the basic MiKTeX installation does not include beamer. But... didn't you said that you compiled a test document without any errors? If the beamer class is missing in your installation, of course your test document will produce errors when compiled.
Anyway, install beamer (MiKTeX can do it automatically through its Package Manager); I even would suggest you to do a complete MiKTeX installation.
Well, the successful test document was an Article class; that I did to make sure the system as a whole was working. I will try installing MikTeX complete...
EDIT: Okay, tried manually installing the beamer package using the MikTeX package manager. However, I got an error message saying: "MikTeX problem report. The operation failed for some reason." I then tried installing several random packages; all gave me this same error message. Do you know how I could fix that?
Hi,
I don't know if you are still having this problem but, I had the same exact problem and I think it might be the texnicCenter compatibility issue listed here: http://www.miktex.org/2.8/issues.
I simply opened Settings(Admin) and switched the "Install missing packages on-the-fly" option to yes. I now get a pdf generated from my beamer class document. Hopefully, this helps if you haven't already figured it out.