## LaTeX forum ⇒ Viewers for PDF, PS, and DVI ⇒ Problem with yap.exe after installing latest Miktex Topic is solved

mmhubbard
Posts: 4
Joined: Fri Mar 14, 2014 2:09 am

### Problem with yap.exe after installing latest Miktex

I have installed the latest Miktex 2.9, and now yap.exe will not work. It will not work on any .dvi file. Here is a MWE of a file that compiles but can't be viewed.

documentclass{article} \begin{document}This is a test of yap.exe.\end{document}

When I try to view the output from Texniccenter or if I double-click yap.exe from the folder, I get the following window

MiKTeX encountered an internal error.

index="4294967295"

I've tried replacing yap.exe from the portable version of Miktex, and I've tried uninstalling and reinstalling the package miktex-yap-bin-x64-2.9 from the Miktex console.

Miktex is being run as

Any ideas on what could be causing this problem?

mmhubbard
Posts: 4
Joined: Fri Mar 14, 2014 2:09 am
My original post should say that Miktex is being run as administrator.

Stefan Kottwitz
Posts: 9406
Joined: Mon Mar 10, 2008 9:44 pm
Hi!

No idea yet. Do you have any log file?

On the other hand, TeXnicCenter is not really maintained since several years. Would you like to try another editor, with a built-in PDF previewer, side-by-side with source code? I think TeXstudio and Texmaker are very good LaTeX editors on Windows too. I prefer the slim and fast editor TeXworks though, but that one doesn't have so many features (that I don't need anyway) but runs excellent for me. It may be possible that MiKTeX has installed it already, perhaps check and give it a try.

Stefan

mmhubbard
Posts: 4
Joined: Fri Mar 14, 2014 2:09 am
HI Stefan,

I was able to get it working. I had the AutoAdmin parameter set to True "t" in the miktex.ini file. Once I changed it back to "?" everything started working again. The problem had nothing to do with Texniccenter. I couldn't even execute yap.exe in a standalone fashion.

Thanks,
Mike

Stefan Kottwitz
Posts: 9406
Joined: Mon Mar 10, 2008 9:44 pm
Hi Mike,

thank you for telling us the cause and the solution!

Stefan