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

Information and discussion about output viewers related to LaTeX (e.g. Adobe Reader, Ghostview, YAP, ...)
mmhubbard
Posts: 4
Joined: Fri Mar 14, 2014 2:09 am

Problem with yap.exe after installing latest Miktex

Postby mmhubbard » Sun Apr 07, 2019 6:21 pm

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.

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. documentclass{article}
  2.  
  3. \begin{document}
  4. This is a test of yap.exe.
  5. \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

Postby mmhubbard » Sun Apr 07, 2019 6:23 pm

My original post should say that Miktex is being run as administrator.

User avatar
Stefan Kottwitz
Site Admin
Posts: 9513
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Mon Apr 08, 2019 2:23 am

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
Site admin

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

Postby mmhubbard » Mon Apr 08, 2019 4:03 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

User avatar
Stefan Kottwitz
Site Admin
Posts: 9513
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Mon Apr 08, 2019 4:08 am

Hi Mike,

thank you for telling us the cause and the solution!

Stefan
Site admin

jaslam810
Posts: 1
Joined: Thu Jul 11, 2019 11:56 pm

Postby jaslam810 » Fri Jul 12, 2019 12:04 am

But where is the miktex.ini file?
I searched the whole installation but could not find it?


Return to “Viewers for PDF, PS, and DVI”

Who is online

Users browsing this forum: No registered users and 11 guests