How to fix the “Sorry, but C:…miktex-pdftex.exe did not succeed. ” error? The 2019 Stack...

Word to describe a time interval

Are spiders unable to hurt humans, especially very small spiders?

What options are there, if any, to get information from an enemy's familiar?

How to make Illustrator type tool selection automatically adapt with text length

Lightning List Vew Search Not Returning Expected Results

Can we generate random numbers using irrational numbers like π and e?

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

What aspect of planet earth must be changed to prevent the industrial revolution?

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Make it rain characters

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

Mortgage adviser recommends a longer term than necessary combined with overpayments

Is 'stolen' appropriate word?

Taking the derivative of a differential equation

How do you keep chess fun when your opponent constantly beats you?

Free operad over a monoid object

Why are there uneven bright areas in this photo of black hole?

Is Cinnamon a desktop environment or a window manager? (Or both?)

Variable with quotation marks "$()"

Business and Tourism Trip to Schengen Area. Which consulate should I approach for visa?

Do ℕ, mathbb{N}, BbbN, symbb{N} effectively differ, and is there a "canonical" specification of the naturals?

What information about me do stores get via my credit card?

How can I define good in a religion that claims no moral authority?

Can the Right Ascension and Argument of Perigee of a spacecraft's orbit keep varying by themselves with time?



How to fix the “Sorry, but C:…miktex-pdftex.exe did not succeed. ” error?



The 2019 Stack Overflow Developer Survey Results Are InMikTeX 2.8 Update Error “Windows API error 87”Windows API error 5: “Access is denied” when trying to compile TikZ pictureHow should one maintain and update a MiKTeX installation?How to fix “LaTeX Error: File `somepackage.sty' not found”?MiKTeX: Two things did not succeedMiKTeX won't typesetmiktex-makemf did not succeed for the following reasonMiktex 2.9 package updating fails in miktex-updateIncompability of the revtex4 class with the abstract packagemissing file from the package symbolTemp file fails verification every time I try to update MiKTeXUpdating FormatsSorry, but “MiKTeX Configuration Utility” did not succeedCryptic (to me) error messageMiktex 2.9 problem installing dsfont.styError in TeXstudio with unicode-data packageHow do I use latexdiff with MikTex without Perl given repository problem?Sorry, but pdflatex did not succeedMikTex 2.9 Portable - Error Compiling - 'miktex-pdftex.exe did not succeed'












10















I just installed MikTex 2.9 and tried just making a simple table:



documentclass{article}

begin{document}

begin{table}[h!]
begin{center}
caption{Caption for the table.}
label{tab:table1}
begin{tabular}{l|c||r}
1 & 2 & 3\
hline
a & b & c\
end{tabular}
end{center}
end{table}

end{document}


but got this message:



You may want to visit the MiKTeX project page (http://miktex.org), if you
need help.

Sorry, but C:Program Files (x86)MiKTeX 2.9miktexbinmiktex-pdftex.exe did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

C:/Users/Solarmew/AppData/Local/MiKTeX/2.9/miktex/log/miktex-pdftex.log

You may want to visit the MiKTeX project page (http://miktex.org), if you
need help.


first I tried the solution here (Open the package manager (admin), use repositories -> synchronize) and it didn't give me the same error, but this time it said forest.sty not found, so I went here and followed the advise and changed package repository by checking "packages shall be installed from the internet". Now I have the first error back and it's not going away :(



here's the log:



2015-09-12 19:38:41,935-0400 INFO  miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:39:28,578-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:41:23,134-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:41:23,183-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:41:23,184-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:41:23,184-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:41:23,184-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:47:23,559-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:47:28,535-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:55:27,809-0400 INFO miktex-pdftex - installing package pgf triggered by texlatexpgffrontendlayertikz.sty
2015-09-12 19:55:28,190-0400 INFO miktex-pdftex - mpm: starting package maintenance...
2015-09-12 19:55:28,190-0400 INFO miktex-pdftex - mpm: installation directory: "C:Program Files (x86)MiKTeX 2.9"
2015-09-12 19:55:28,190-0400 INFO miktex-pdftex - mpm: package repository: http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/
2015-09-12 19:55:28,433-0400 INFO miktex-pdftex - mpm: lightweight database digest: fd7a40a42ed2f1e70be3b6bdb1baccf2
2015-09-12 19:55:28,434-0400 INFO miktex-pdftex - mpm: going to download 9467103 bytes
2015-09-12 19:55:28,434-0400 INFO miktex-pdftex - mpm: going to install 658 file(s) (1 package(s))
2015-09-12 19:55:28,435-0400 INFO miktex-pdftex - mpm: downloading http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/pgf.tar.lzma...
2015-09-12 19:55:42,770-0400 INFO miktex-pdftex - mpm: 10594095 bytes, 722.22 KB/Sec
2015-09-12 19:55:42,798-0400 INFO miktex-pdftex - mpm: visiting repository http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/...
2015-09-12 19:55:42,798-0400 INFO miktex-pdftex - mpm: repository type: remote package repository
2015-09-12 19:55:42,798-0400 INFO miktex-pdftex - mpm: loading lightweight database...
2015-09-12 19:55:42,799-0400 INFO miktex-pdftex - mpm: downloading http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma...
2015-09-12 19:55:43,053-0400 INFO miktex-pdftex - mpm: 157260 bytes, 604.62 KB/Sec
2015-09-12 19:55:43,249-0400 INFO miktex-pdftex - mpm: lightweight database digest: effaaa46816771ed79be6c0905c3d630
2015-09-12 19:55:43,275-0400 INFO miktex-pdftex - mpm: extracting files from pgf.tar.lzma...
2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Windows API error 87: The parameter is incorrect.

2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Info: C:ProgramDataMiKTeX2.9miktex/data/leb1cfc6be702f63eea92ca0fbc9559e5c.fndb
2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCorewinwinMemoryMappedFile.cpp
2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Line: 120
2015-09-12 19:56:33,540-0400 INFO miktex-pdftex - installing package standalone triggered by texlatexstandalonestandalone.cls
2015-09-12 19:56:33,903-0400 INFO miktex-pdftex - mpm: starting package maintenance...
2015-09-12 19:56:33,904-0400 INFO miktex-pdftex - mpm: installation directory: "C:Program Files (x86)MiKTeX 2.9"
2015-09-12 19:56:33,904-0400 INFO miktex-pdftex - mpm: package repository: http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/
2015-09-12 19:56:34,071-0400 INFO miktex-pdftex - mpm: lightweight database digest: effaaa46816771ed79be6c0905c3d630
2015-09-12 19:56:34,071-0400 INFO miktex-pdftex - mpm: going to download 314852 bytes
2015-09-12 19:56:34,071-0400 INFO miktex-pdftex - mpm: going to install 8 file(s) (1 package(s))
2015-09-12 19:56:34,072-0400 INFO miktex-pdftex - mpm: downloading http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/standalone.tar.lzma...
2015-09-12 19:56:34,856-0400 INFO miktex-pdftex - mpm: 314852 bytes, 393.69 KB/Sec
2015-09-12 19:56:34,858-0400 INFO miktex-pdftex - mpm: extracting files from standalone.tar.lzma...
2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Windows API error 87: The parameter is incorrect.

2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Info: C:ProgramDataMiKTeX2.9miktex/data/leb1cfc6be702f63eea92ca0fbc9559e5c.fndb
2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCorewinwinMemoryMappedFile.cpp
2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Line: 120
2015-09-12 20:02:10,783-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:02:11,019-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:02:11,020-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:02:11,020-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:02:11,020-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 20:03:12,810-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:03:13,031-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:03:13,032-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:03:13,032-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:03:13,032-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 20:06:53,271-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:06:53,497-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:06:53,498-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:06:53,498-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:06:53,498-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 20:08:00,190-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:08:00,413-0400 FATAL miktex-pdftex - Line: 290









share|improve this question

























  • There seems to be problems with MiKTeX since an update at the end of last month. Did you try deleting auxiliary files?

    – Bernard
    Sep 13 '15 at 0:58











  • I don't know what those are or how to do that >.> This is literally my first time using LaTeX

    – Raksha
    Sep 13 '15 at 1:40











  • Well we had a few problems these days – perhaps due to a corrupted finename database, but I can't say more, I don't these technicalities. That said, to delete auxiliary files, that depends on your editor.

    – Bernard
    Sep 13 '15 at 1:57











  • Did you search this site for similar questions? This has been reported quite a lot. AFAIR one recommendation is to do a repro sync. The open the package manager (probably the admin one) search for all package names with miktex as a part of the title and install them.

    – daleif
    Sep 13 '15 at 6:21






  • 2





    Have you tried updating your system via the Update Wizard? See also How should one maintain and update a MiKTeX installation?. I suspect this is the same general issue as MiKTeX: Two things did not succeed, but I can't say for sure. The message about forest.sty looks quite suspicious if it came from the example above.

    – moewe
    Sep 13 '15 at 7:00


















10















I just installed MikTex 2.9 and tried just making a simple table:



documentclass{article}

begin{document}

begin{table}[h!]
begin{center}
caption{Caption for the table.}
label{tab:table1}
begin{tabular}{l|c||r}
1 & 2 & 3\
hline
a & b & c\
end{tabular}
end{center}
end{table}

end{document}


but got this message:



You may want to visit the MiKTeX project page (http://miktex.org), if you
need help.

Sorry, but C:Program Files (x86)MiKTeX 2.9miktexbinmiktex-pdftex.exe did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

C:/Users/Solarmew/AppData/Local/MiKTeX/2.9/miktex/log/miktex-pdftex.log

You may want to visit the MiKTeX project page (http://miktex.org), if you
need help.


first I tried the solution here (Open the package manager (admin), use repositories -> synchronize) and it didn't give me the same error, but this time it said forest.sty not found, so I went here and followed the advise and changed package repository by checking "packages shall be installed from the internet". Now I have the first error back and it's not going away :(



here's the log:



2015-09-12 19:38:41,935-0400 INFO  miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:39:28,578-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:41:23,134-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:41:23,183-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:41:23,184-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:41:23,184-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:41:23,184-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:47:23,559-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:47:28,535-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:55:27,809-0400 INFO miktex-pdftex - installing package pgf triggered by texlatexpgffrontendlayertikz.sty
2015-09-12 19:55:28,190-0400 INFO miktex-pdftex - mpm: starting package maintenance...
2015-09-12 19:55:28,190-0400 INFO miktex-pdftex - mpm: installation directory: "C:Program Files (x86)MiKTeX 2.9"
2015-09-12 19:55:28,190-0400 INFO miktex-pdftex - mpm: package repository: http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/
2015-09-12 19:55:28,433-0400 INFO miktex-pdftex - mpm: lightweight database digest: fd7a40a42ed2f1e70be3b6bdb1baccf2
2015-09-12 19:55:28,434-0400 INFO miktex-pdftex - mpm: going to download 9467103 bytes
2015-09-12 19:55:28,434-0400 INFO miktex-pdftex - mpm: going to install 658 file(s) (1 package(s))
2015-09-12 19:55:28,435-0400 INFO miktex-pdftex - mpm: downloading http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/pgf.tar.lzma...
2015-09-12 19:55:42,770-0400 INFO miktex-pdftex - mpm: 10594095 bytes, 722.22 KB/Sec
2015-09-12 19:55:42,798-0400 INFO miktex-pdftex - mpm: visiting repository http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/...
2015-09-12 19:55:42,798-0400 INFO miktex-pdftex - mpm: repository type: remote package repository
2015-09-12 19:55:42,798-0400 INFO miktex-pdftex - mpm: loading lightweight database...
2015-09-12 19:55:42,799-0400 INFO miktex-pdftex - mpm: downloading http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma...
2015-09-12 19:55:43,053-0400 INFO miktex-pdftex - mpm: 157260 bytes, 604.62 KB/Sec
2015-09-12 19:55:43,249-0400 INFO miktex-pdftex - mpm: lightweight database digest: effaaa46816771ed79be6c0905c3d630
2015-09-12 19:55:43,275-0400 INFO miktex-pdftex - mpm: extracting files from pgf.tar.lzma...
2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Windows API error 87: The parameter is incorrect.

2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Info: C:ProgramDataMiKTeX2.9miktex/data/leb1cfc6be702f63eea92ca0fbc9559e5c.fndb
2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCorewinwinMemoryMappedFile.cpp
2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Line: 120
2015-09-12 19:56:33,540-0400 INFO miktex-pdftex - installing package standalone triggered by texlatexstandalonestandalone.cls
2015-09-12 19:56:33,903-0400 INFO miktex-pdftex - mpm: starting package maintenance...
2015-09-12 19:56:33,904-0400 INFO miktex-pdftex - mpm: installation directory: "C:Program Files (x86)MiKTeX 2.9"
2015-09-12 19:56:33,904-0400 INFO miktex-pdftex - mpm: package repository: http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/
2015-09-12 19:56:34,071-0400 INFO miktex-pdftex - mpm: lightweight database digest: effaaa46816771ed79be6c0905c3d630
2015-09-12 19:56:34,071-0400 INFO miktex-pdftex - mpm: going to download 314852 bytes
2015-09-12 19:56:34,071-0400 INFO miktex-pdftex - mpm: going to install 8 file(s) (1 package(s))
2015-09-12 19:56:34,072-0400 INFO miktex-pdftex - mpm: downloading http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/standalone.tar.lzma...
2015-09-12 19:56:34,856-0400 INFO miktex-pdftex - mpm: 314852 bytes, 393.69 KB/Sec
2015-09-12 19:56:34,858-0400 INFO miktex-pdftex - mpm: extracting files from standalone.tar.lzma...
2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Windows API error 87: The parameter is incorrect.

2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Info: C:ProgramDataMiKTeX2.9miktex/data/leb1cfc6be702f63eea92ca0fbc9559e5c.fndb
2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCorewinwinMemoryMappedFile.cpp
2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Line: 120
2015-09-12 20:02:10,783-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:02:11,019-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:02:11,020-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:02:11,020-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:02:11,020-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 20:03:12,810-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:03:13,031-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:03:13,032-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:03:13,032-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:03:13,032-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 20:06:53,271-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:06:53,497-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:06:53,498-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:06:53,498-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:06:53,498-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 20:08:00,190-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:08:00,413-0400 FATAL miktex-pdftex - Line: 290









share|improve this question

























  • There seems to be problems with MiKTeX since an update at the end of last month. Did you try deleting auxiliary files?

    – Bernard
    Sep 13 '15 at 0:58











  • I don't know what those are or how to do that >.> This is literally my first time using LaTeX

    – Raksha
    Sep 13 '15 at 1:40











  • Well we had a few problems these days – perhaps due to a corrupted finename database, but I can't say more, I don't these technicalities. That said, to delete auxiliary files, that depends on your editor.

    – Bernard
    Sep 13 '15 at 1:57











  • Did you search this site for similar questions? This has been reported quite a lot. AFAIR one recommendation is to do a repro sync. The open the package manager (probably the admin one) search for all package names with miktex as a part of the title and install them.

    – daleif
    Sep 13 '15 at 6:21






  • 2





    Have you tried updating your system via the Update Wizard? See also How should one maintain and update a MiKTeX installation?. I suspect this is the same general issue as MiKTeX: Two things did not succeed, but I can't say for sure. The message about forest.sty looks quite suspicious if it came from the example above.

    – moewe
    Sep 13 '15 at 7:00
















10












10








10


6






I just installed MikTex 2.9 and tried just making a simple table:



documentclass{article}

begin{document}

begin{table}[h!]
begin{center}
caption{Caption for the table.}
label{tab:table1}
begin{tabular}{l|c||r}
1 & 2 & 3\
hline
a & b & c\
end{tabular}
end{center}
end{table}

end{document}


but got this message:



You may want to visit the MiKTeX project page (http://miktex.org), if you
need help.

Sorry, but C:Program Files (x86)MiKTeX 2.9miktexbinmiktex-pdftex.exe did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

C:/Users/Solarmew/AppData/Local/MiKTeX/2.9/miktex/log/miktex-pdftex.log

You may want to visit the MiKTeX project page (http://miktex.org), if you
need help.


first I tried the solution here (Open the package manager (admin), use repositories -> synchronize) and it didn't give me the same error, but this time it said forest.sty not found, so I went here and followed the advise and changed package repository by checking "packages shall be installed from the internet". Now I have the first error back and it's not going away :(



here's the log:



2015-09-12 19:38:41,935-0400 INFO  miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:39:28,578-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:41:23,134-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:41:23,183-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:41:23,184-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:41:23,184-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:41:23,184-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:47:23,559-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:47:28,535-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:55:27,809-0400 INFO miktex-pdftex - installing package pgf triggered by texlatexpgffrontendlayertikz.sty
2015-09-12 19:55:28,190-0400 INFO miktex-pdftex - mpm: starting package maintenance...
2015-09-12 19:55:28,190-0400 INFO miktex-pdftex - mpm: installation directory: "C:Program Files (x86)MiKTeX 2.9"
2015-09-12 19:55:28,190-0400 INFO miktex-pdftex - mpm: package repository: http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/
2015-09-12 19:55:28,433-0400 INFO miktex-pdftex - mpm: lightweight database digest: fd7a40a42ed2f1e70be3b6bdb1baccf2
2015-09-12 19:55:28,434-0400 INFO miktex-pdftex - mpm: going to download 9467103 bytes
2015-09-12 19:55:28,434-0400 INFO miktex-pdftex - mpm: going to install 658 file(s) (1 package(s))
2015-09-12 19:55:28,435-0400 INFO miktex-pdftex - mpm: downloading http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/pgf.tar.lzma...
2015-09-12 19:55:42,770-0400 INFO miktex-pdftex - mpm: 10594095 bytes, 722.22 KB/Sec
2015-09-12 19:55:42,798-0400 INFO miktex-pdftex - mpm: visiting repository http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/...
2015-09-12 19:55:42,798-0400 INFO miktex-pdftex - mpm: repository type: remote package repository
2015-09-12 19:55:42,798-0400 INFO miktex-pdftex - mpm: loading lightweight database...
2015-09-12 19:55:42,799-0400 INFO miktex-pdftex - mpm: downloading http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma...
2015-09-12 19:55:43,053-0400 INFO miktex-pdftex - mpm: 157260 bytes, 604.62 KB/Sec
2015-09-12 19:55:43,249-0400 INFO miktex-pdftex - mpm: lightweight database digest: effaaa46816771ed79be6c0905c3d630
2015-09-12 19:55:43,275-0400 INFO miktex-pdftex - mpm: extracting files from pgf.tar.lzma...
2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Windows API error 87: The parameter is incorrect.

2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Info: C:ProgramDataMiKTeX2.9miktex/data/leb1cfc6be702f63eea92ca0fbc9559e5c.fndb
2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCorewinwinMemoryMappedFile.cpp
2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Line: 120
2015-09-12 19:56:33,540-0400 INFO miktex-pdftex - installing package standalone triggered by texlatexstandalonestandalone.cls
2015-09-12 19:56:33,903-0400 INFO miktex-pdftex - mpm: starting package maintenance...
2015-09-12 19:56:33,904-0400 INFO miktex-pdftex - mpm: installation directory: "C:Program Files (x86)MiKTeX 2.9"
2015-09-12 19:56:33,904-0400 INFO miktex-pdftex - mpm: package repository: http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/
2015-09-12 19:56:34,071-0400 INFO miktex-pdftex - mpm: lightweight database digest: effaaa46816771ed79be6c0905c3d630
2015-09-12 19:56:34,071-0400 INFO miktex-pdftex - mpm: going to download 314852 bytes
2015-09-12 19:56:34,071-0400 INFO miktex-pdftex - mpm: going to install 8 file(s) (1 package(s))
2015-09-12 19:56:34,072-0400 INFO miktex-pdftex - mpm: downloading http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/standalone.tar.lzma...
2015-09-12 19:56:34,856-0400 INFO miktex-pdftex - mpm: 314852 bytes, 393.69 KB/Sec
2015-09-12 19:56:34,858-0400 INFO miktex-pdftex - mpm: extracting files from standalone.tar.lzma...
2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Windows API error 87: The parameter is incorrect.

2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Info: C:ProgramDataMiKTeX2.9miktex/data/leb1cfc6be702f63eea92ca0fbc9559e5c.fndb
2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCorewinwinMemoryMappedFile.cpp
2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Line: 120
2015-09-12 20:02:10,783-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:02:11,019-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:02:11,020-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:02:11,020-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:02:11,020-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 20:03:12,810-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:03:13,031-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:03:13,032-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:03:13,032-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:03:13,032-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 20:06:53,271-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:06:53,497-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:06:53,498-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:06:53,498-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:06:53,498-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 20:08:00,190-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:08:00,413-0400 FATAL miktex-pdftex - Line: 290









share|improve this question
















I just installed MikTex 2.9 and tried just making a simple table:



documentclass{article}

begin{document}

begin{table}[h!]
begin{center}
caption{Caption for the table.}
label{tab:table1}
begin{tabular}{l|c||r}
1 & 2 & 3\
hline
a & b & c\
end{tabular}
end{center}
end{table}

end{document}


but got this message:



You may want to visit the MiKTeX project page (http://miktex.org), if you
need help.

Sorry, but C:Program Files (x86)MiKTeX 2.9miktexbinmiktex-pdftex.exe did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

C:/Users/Solarmew/AppData/Local/MiKTeX/2.9/miktex/log/miktex-pdftex.log

You may want to visit the MiKTeX project page (http://miktex.org), if you
need help.


first I tried the solution here (Open the package manager (admin), use repositories -> synchronize) and it didn't give me the same error, but this time it said forest.sty not found, so I went here and followed the advise and changed package repository by checking "packages shall be installed from the internet". Now I have the first error back and it's not going away :(



here's the log:



2015-09-12 19:38:41,935-0400 INFO  miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:38:41,985-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:39:28,578-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:39:28,630-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:41:23,134-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:41:23,183-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:41:23,184-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:41:23,184-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:41:23,184-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:47:23,559-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:47:23,612-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:47:28,535-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 19:47:28,588-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 19:55:27,809-0400 INFO miktex-pdftex - installing package pgf triggered by texlatexpgffrontendlayertikz.sty
2015-09-12 19:55:28,190-0400 INFO miktex-pdftex - mpm: starting package maintenance...
2015-09-12 19:55:28,190-0400 INFO miktex-pdftex - mpm: installation directory: "C:Program Files (x86)MiKTeX 2.9"
2015-09-12 19:55:28,190-0400 INFO miktex-pdftex - mpm: package repository: http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/
2015-09-12 19:55:28,433-0400 INFO miktex-pdftex - mpm: lightweight database digest: fd7a40a42ed2f1e70be3b6bdb1baccf2
2015-09-12 19:55:28,434-0400 INFO miktex-pdftex - mpm: going to download 9467103 bytes
2015-09-12 19:55:28,434-0400 INFO miktex-pdftex - mpm: going to install 658 file(s) (1 package(s))
2015-09-12 19:55:28,435-0400 INFO miktex-pdftex - mpm: downloading http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/pgf.tar.lzma...
2015-09-12 19:55:42,770-0400 INFO miktex-pdftex - mpm: 10594095 bytes, 722.22 KB/Sec
2015-09-12 19:55:42,798-0400 INFO miktex-pdftex - mpm: visiting repository http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/...
2015-09-12 19:55:42,798-0400 INFO miktex-pdftex - mpm: repository type: remote package repository
2015-09-12 19:55:42,798-0400 INFO miktex-pdftex - mpm: loading lightweight database...
2015-09-12 19:55:42,799-0400 INFO miktex-pdftex - mpm: downloading http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma...
2015-09-12 19:55:43,053-0400 INFO miktex-pdftex - mpm: 157260 bytes, 604.62 KB/Sec
2015-09-12 19:55:43,249-0400 INFO miktex-pdftex - mpm: lightweight database digest: effaaa46816771ed79be6c0905c3d630
2015-09-12 19:55:43,275-0400 INFO miktex-pdftex - mpm: extracting files from pgf.tar.lzma...
2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Windows API error 87: The parameter is incorrect.

2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Info: C:ProgramDataMiKTeX2.9miktex/data/leb1cfc6be702f63eea92ca0fbc9559e5c.fndb
2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCorewinwinMemoryMappedFile.cpp
2015-09-12 19:55:43,834-0400 FATAL miktex-pdftex - Line: 120
2015-09-12 19:56:33,540-0400 INFO miktex-pdftex - installing package standalone triggered by texlatexstandalonestandalone.cls
2015-09-12 19:56:33,903-0400 INFO miktex-pdftex - mpm: starting package maintenance...
2015-09-12 19:56:33,904-0400 INFO miktex-pdftex - mpm: installation directory: "C:Program Files (x86)MiKTeX 2.9"
2015-09-12 19:56:33,904-0400 INFO miktex-pdftex - mpm: package repository: http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/
2015-09-12 19:56:34,071-0400 INFO miktex-pdftex - mpm: lightweight database digest: effaaa46816771ed79be6c0905c3d630
2015-09-12 19:56:34,071-0400 INFO miktex-pdftex - mpm: going to download 314852 bytes
2015-09-12 19:56:34,071-0400 INFO miktex-pdftex - mpm: going to install 8 file(s) (1 package(s))
2015-09-12 19:56:34,072-0400 INFO miktex-pdftex - mpm: downloading http://mirror.jmu.edu/pub/CTAN/systems/win32/miktex/tm/packages/standalone.tar.lzma...
2015-09-12 19:56:34,856-0400 INFO miktex-pdftex - mpm: 314852 bytes, 393.69 KB/Sec
2015-09-12 19:56:34,858-0400 INFO miktex-pdftex - mpm: extracting files from standalone.tar.lzma...
2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Windows API error 87: The parameter is incorrect.

2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Info: C:ProgramDataMiKTeX2.9miktex/data/leb1cfc6be702f63eea92ca0fbc9559e5c.fndb
2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCorewinwinMemoryMappedFile.cpp
2015-09-12 19:56:34,887-0400 FATAL miktex-pdftex - Line: 120
2015-09-12 20:02:10,783-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:02:11,019-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:02:11,020-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:02:11,020-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:02:11,020-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 20:03:12,810-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:03:13,031-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:03:13,032-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:03:13,032-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:03:13,032-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 20:06:53,271-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:06:53,497-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:06:53,498-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:06:53,498-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:06:53,498-0400 FATAL miktex-pdftex - Line: 290
2015-09-12 20:08:00,190-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:08:00,413-0400 FATAL miktex-pdftex - Line: 290






errors packages






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:35









Community

1




1










asked Sep 13 '15 at 0:17









RakshaRaksha

184119




184119













  • There seems to be problems with MiKTeX since an update at the end of last month. Did you try deleting auxiliary files?

    – Bernard
    Sep 13 '15 at 0:58











  • I don't know what those are or how to do that >.> This is literally my first time using LaTeX

    – Raksha
    Sep 13 '15 at 1:40











  • Well we had a few problems these days – perhaps due to a corrupted finename database, but I can't say more, I don't these technicalities. That said, to delete auxiliary files, that depends on your editor.

    – Bernard
    Sep 13 '15 at 1:57











  • Did you search this site for similar questions? This has been reported quite a lot. AFAIR one recommendation is to do a repro sync. The open the package manager (probably the admin one) search for all package names with miktex as a part of the title and install them.

    – daleif
    Sep 13 '15 at 6:21






  • 2





    Have you tried updating your system via the Update Wizard? See also How should one maintain and update a MiKTeX installation?. I suspect this is the same general issue as MiKTeX: Two things did not succeed, but I can't say for sure. The message about forest.sty looks quite suspicious if it came from the example above.

    – moewe
    Sep 13 '15 at 7:00





















  • There seems to be problems with MiKTeX since an update at the end of last month. Did you try deleting auxiliary files?

    – Bernard
    Sep 13 '15 at 0:58











  • I don't know what those are or how to do that >.> This is literally my first time using LaTeX

    – Raksha
    Sep 13 '15 at 1:40











  • Well we had a few problems these days – perhaps due to a corrupted finename database, but I can't say more, I don't these technicalities. That said, to delete auxiliary files, that depends on your editor.

    – Bernard
    Sep 13 '15 at 1:57











  • Did you search this site for similar questions? This has been reported quite a lot. AFAIR one recommendation is to do a repro sync. The open the package manager (probably the admin one) search for all package names with miktex as a part of the title and install them.

    – daleif
    Sep 13 '15 at 6:21






  • 2





    Have you tried updating your system via the Update Wizard? See also How should one maintain and update a MiKTeX installation?. I suspect this is the same general issue as MiKTeX: Two things did not succeed, but I can't say for sure. The message about forest.sty looks quite suspicious if it came from the example above.

    – moewe
    Sep 13 '15 at 7:00



















There seems to be problems with MiKTeX since an update at the end of last month. Did you try deleting auxiliary files?

– Bernard
Sep 13 '15 at 0:58





There seems to be problems with MiKTeX since an update at the end of last month. Did you try deleting auxiliary files?

– Bernard
Sep 13 '15 at 0:58













I don't know what those are or how to do that >.> This is literally my first time using LaTeX

– Raksha
Sep 13 '15 at 1:40





I don't know what those are or how to do that >.> This is literally my first time using LaTeX

– Raksha
Sep 13 '15 at 1:40













Well we had a few problems these days – perhaps due to a corrupted finename database, but I can't say more, I don't these technicalities. That said, to delete auxiliary files, that depends on your editor.

– Bernard
Sep 13 '15 at 1:57





Well we had a few problems these days – perhaps due to a corrupted finename database, but I can't say more, I don't these technicalities. That said, to delete auxiliary files, that depends on your editor.

– Bernard
Sep 13 '15 at 1:57













Did you search this site for similar questions? This has been reported quite a lot. AFAIR one recommendation is to do a repro sync. The open the package manager (probably the admin one) search for all package names with miktex as a part of the title and install them.

– daleif
Sep 13 '15 at 6:21





Did you search this site for similar questions? This has been reported quite a lot. AFAIR one recommendation is to do a repro sync. The open the package manager (probably the admin one) search for all package names with miktex as a part of the title and install them.

– daleif
Sep 13 '15 at 6:21




2




2





Have you tried updating your system via the Update Wizard? See also How should one maintain and update a MiKTeX installation?. I suspect this is the same general issue as MiKTeX: Two things did not succeed, but I can't say for sure. The message about forest.sty looks quite suspicious if it came from the example above.

– moewe
Sep 13 '15 at 7:00







Have you tried updating your system via the Update Wizard? See also How should one maintain and update a MiKTeX installation?. I suspect this is the same general issue as MiKTeX: Two things did not succeed, but I can't say for sure. The message about forest.sty looks quite suspicious if it came from the example above.

– moewe
Sep 13 '15 at 7:00












10 Answers
10






active

oldest

votes


















10














The problem is with your installation, not updating packages. I had the same errors installing MiKTeX 2.9.5721 on windows 10 today.




2015-09-12 20:08:00,190-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - The operation failed for some reason.
2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
2015-09-12 20:08:00,413-0400 FATAL miktex-pdftex - Line: 290




After trying several fixes in this thread, this is what worked for me. I think first, there's a problem with the permissions in C:/Program Files (x86), which you can fix by creating a file on C:/ directly. Second (for me, maybe not you), I think there was an issue with another program trying to use one of the pdf map dl files (?) which was mentioned here. To solve this:




  1. uninstalled my previous version of MiKTeX2.9

  2. uninstalled adobe reader

  3. reinstalled adobe reader

  4. reboot

  5. moved the MiKTeX download to a folder on the desktop

  6. created a folder C:/MiKTeX 2.9

  7. ran the install wizard and installed to my new folder as single user. (I never got the system install to work.)

  8. After the wizard, immediately run MiKTeX Update Wizard. I selected to update only miktex-texworks-bin. (If I didn't run the updates before trying to TeX a document, nothing worked at all.)


You may be able to get away with not messing with your PDF viewer install, but definitely try creating a folder other than the Program Files (x86).






share|improve this answer





















  • 2





    I had exactly the same problem. It was being caused by a version of the PDF that was also open on Adobe. Looks like the logging is not very accurate on it.

    – marco
    Oct 11 '16 at 10:51






  • 2





    My problem was solved only by installing as single user. Did not need to do all steps.

    – RMAAlmeida
    May 30 '17 at 19:55



















4














That error can also appear, when you insert an image and the path of the image has special symbols in it like umlauts (ä,ü,ö). So make sure you don't have any of these in your image path.






share|improve this answer































    1














    I have this error just because I opened the pdf file in Adobe Reader while I am compiling the Latex. Simply close this pdf file in Adobe Reader will solve the problem.






    share|improve this answer































      1














      I had the same issue, this solution solved it without re-installation of MikTeX. Just search for MikTex Update (Admin) and update all the updatable packages. the first time the select all button is grayed out. go ahead with the preselected updates and finish. and then update again, this time select all. The trick is to run the Admin version of MikTex Update. That's it!






      share|improve this answer

































        1














        In my case the problem was that the PDF document was open (in the browser) when I wanted to build it.






        share|improve this answer

































          0














          My problem was that I had two installations of MikTeX on my system (for whatever reason I don't know).



          Simply deleting one of them solved the problem.






          share|improve this answer































            0














            I had the same problem and looked into the log. It said that this command had failed:



            C:Program FilesMiKTeX 2.9miktexbinx64>initexmf.exe --mklinks --mkmaps


            I opened a command prompt in administrator mode and executed it and now pdflatex is working for me. I first tried to execute that in a non-administrator window and it failed because of permissions. So I am pretty sure this is the right solution.






            share|improve this answer































              0














              Had a similar Problem:




              Sorry, but pdflatex did not succeed.




              The log file hopefully contains the information to get MiKTeX going again:




              C:/Users/Solarmew/AppData/Local/MiKTeX/2.9/miktex/log/pdflatex.log




              --> set texmaker as default program for *.tex data solved this (... because texworks was set as default program)






              share|improve this answer

































                0














                I had this problem, and the "solution" was to close the PDF that was open in another application (Microsoft Edge).






                share|improve this answer































                  0














                  I experience this issue and the way I resolved this was by uninstalling MiKTeX and TexStudio and reinstall them and the issue was resolved.
                  Thank You.






                  share|improve this answer








                  New contributor




                  Rohini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





















                    Your Answer








                    StackExchange.ready(function() {
                    var channelOptions = {
                    tags: "".split(" "),
                    id: "85"
                    };
                    initTagRenderer("".split(" "), "".split(" "), channelOptions);

                    StackExchange.using("externalEditor", function() {
                    // Have to fire editor after snippets, if snippets enabled
                    if (StackExchange.settings.snippets.snippetsEnabled) {
                    StackExchange.using("snippets", function() {
                    createEditor();
                    });
                    }
                    else {
                    createEditor();
                    }
                    });

                    function createEditor() {
                    StackExchange.prepareEditor({
                    heartbeatType: 'answer',
                    autoActivateHeartbeat: false,
                    convertImagesToLinks: false,
                    noModals: true,
                    showLowRepImageUploadWarning: true,
                    reputationToPostImages: null,
                    bindNavPrevention: true,
                    postfix: "",
                    imageUploader: {
                    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                    allowUrls: true
                    },
                    onDemand: true,
                    discardSelector: ".discard-answer"
                    ,immediatelyShowMarkdownHelp:true
                    });


                    }
                    });














                    draft saved

                    draft discarded


















                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f267299%2fhow-to-fix-the-sorry-but-c-miktex-pdftex-exe-did-not-succeed-error%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown

























                    10 Answers
                    10






                    active

                    oldest

                    votes








                    10 Answers
                    10






                    active

                    oldest

                    votes









                    active

                    oldest

                    votes






                    active

                    oldest

                    votes









                    10














                    The problem is with your installation, not updating packages. I had the same errors installing MiKTeX 2.9.5721 on windows 10 today.




                    2015-09-12 20:08:00,190-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
                    2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - The operation failed for some reason.
                    2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
                    2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
                    2015-09-12 20:08:00,413-0400 FATAL miktex-pdftex - Line: 290




                    After trying several fixes in this thread, this is what worked for me. I think first, there's a problem with the permissions in C:/Program Files (x86), which you can fix by creating a file on C:/ directly. Second (for me, maybe not you), I think there was an issue with another program trying to use one of the pdf map dl files (?) which was mentioned here. To solve this:




                    1. uninstalled my previous version of MiKTeX2.9

                    2. uninstalled adobe reader

                    3. reinstalled adobe reader

                    4. reboot

                    5. moved the MiKTeX download to a folder on the desktop

                    6. created a folder C:/MiKTeX 2.9

                    7. ran the install wizard and installed to my new folder as single user. (I never got the system install to work.)

                    8. After the wizard, immediately run MiKTeX Update Wizard. I selected to update only miktex-texworks-bin. (If I didn't run the updates before trying to TeX a document, nothing worked at all.)


                    You may be able to get away with not messing with your PDF viewer install, but definitely try creating a folder other than the Program Files (x86).






                    share|improve this answer





















                    • 2





                      I had exactly the same problem. It was being caused by a version of the PDF that was also open on Adobe. Looks like the logging is not very accurate on it.

                      – marco
                      Oct 11 '16 at 10:51






                    • 2





                      My problem was solved only by installing as single user. Did not need to do all steps.

                      – RMAAlmeida
                      May 30 '17 at 19:55
















                    10














                    The problem is with your installation, not updating packages. I had the same errors installing MiKTeX 2.9.5721 on windows 10 today.




                    2015-09-12 20:08:00,190-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
                    2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - The operation failed for some reason.
                    2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
                    2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
                    2015-09-12 20:08:00,413-0400 FATAL miktex-pdftex - Line: 290




                    After trying several fixes in this thread, this is what worked for me. I think first, there's a problem with the permissions in C:/Program Files (x86), which you can fix by creating a file on C:/ directly. Second (for me, maybe not you), I think there was an issue with another program trying to use one of the pdf map dl files (?) which was mentioned here. To solve this:




                    1. uninstalled my previous version of MiKTeX2.9

                    2. uninstalled adobe reader

                    3. reinstalled adobe reader

                    4. reboot

                    5. moved the MiKTeX download to a folder on the desktop

                    6. created a folder C:/MiKTeX 2.9

                    7. ran the install wizard and installed to my new folder as single user. (I never got the system install to work.)

                    8. After the wizard, immediately run MiKTeX Update Wizard. I selected to update only miktex-texworks-bin. (If I didn't run the updates before trying to TeX a document, nothing worked at all.)


                    You may be able to get away with not messing with your PDF viewer install, but definitely try creating a folder other than the Program Files (x86).






                    share|improve this answer





















                    • 2





                      I had exactly the same problem. It was being caused by a version of the PDF that was also open on Adobe. Looks like the logging is not very accurate on it.

                      – marco
                      Oct 11 '16 at 10:51






                    • 2





                      My problem was solved only by installing as single user. Did not need to do all steps.

                      – RMAAlmeida
                      May 30 '17 at 19:55














                    10












                    10








                    10







                    The problem is with your installation, not updating packages. I had the same errors installing MiKTeX 2.9.5721 on windows 10 today.




                    2015-09-12 20:08:00,190-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
                    2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - The operation failed for some reason.
                    2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
                    2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
                    2015-09-12 20:08:00,413-0400 FATAL miktex-pdftex - Line: 290




                    After trying several fixes in this thread, this is what worked for me. I think first, there's a problem with the permissions in C:/Program Files (x86), which you can fix by creating a file on C:/ directly. Second (for me, maybe not you), I think there was an issue with another program trying to use one of the pdf map dl files (?) which was mentioned here. To solve this:




                    1. uninstalled my previous version of MiKTeX2.9

                    2. uninstalled adobe reader

                    3. reinstalled adobe reader

                    4. reboot

                    5. moved the MiKTeX download to a folder on the desktop

                    6. created a folder C:/MiKTeX 2.9

                    7. ran the install wizard and installed to my new folder as single user. (I never got the system install to work.)

                    8. After the wizard, immediately run MiKTeX Update Wizard. I selected to update only miktex-texworks-bin. (If I didn't run the updates before trying to TeX a document, nothing worked at all.)


                    You may be able to get away with not messing with your PDF viewer install, but definitely try creating a folder other than the Program Files (x86).






                    share|improve this answer















                    The problem is with your installation, not updating packages. I had the same errors installing MiKTeX 2.9.5721 on windows 10 today.




                    2015-09-12 20:08:00,190-0400 INFO miktex-pdftex - running 'initexmf --quiet --update-fndb' to refresh the file name database
                    2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - The operation failed for some reason.
                    2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Info: C:Program Files (x86)MiKTeX 2.9miktexbininitexmf.exe
                    2015-09-12 20:08:00,412-0400 FATAL miktex-pdftex - Source: LibrariesMiKTeXCoreProcess.cpp
                    2015-09-12 20:08:00,413-0400 FATAL miktex-pdftex - Line: 290




                    After trying several fixes in this thread, this is what worked for me. I think first, there's a problem with the permissions in C:/Program Files (x86), which you can fix by creating a file on C:/ directly. Second (for me, maybe not you), I think there was an issue with another program trying to use one of the pdf map dl files (?) which was mentioned here. To solve this:




                    1. uninstalled my previous version of MiKTeX2.9

                    2. uninstalled adobe reader

                    3. reinstalled adobe reader

                    4. reboot

                    5. moved the MiKTeX download to a folder on the desktop

                    6. created a folder C:/MiKTeX 2.9

                    7. ran the install wizard and installed to my new folder as single user. (I never got the system install to work.)

                    8. After the wizard, immediately run MiKTeX Update Wizard. I selected to update only miktex-texworks-bin. (If I didn't run the updates before trying to TeX a document, nothing worked at all.)


                    You may be able to get away with not messing with your PDF viewer install, but definitely try creating a folder other than the Program Files (x86).







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Apr 13 '17 at 12:35









                    Community

                    1




                    1










                    answered Nov 19 '15 at 4:28









                    SkiDocSkiDoc

                    11624




                    11624








                    • 2





                      I had exactly the same problem. It was being caused by a version of the PDF that was also open on Adobe. Looks like the logging is not very accurate on it.

                      – marco
                      Oct 11 '16 at 10:51






                    • 2





                      My problem was solved only by installing as single user. Did not need to do all steps.

                      – RMAAlmeida
                      May 30 '17 at 19:55














                    • 2





                      I had exactly the same problem. It was being caused by a version of the PDF that was also open on Adobe. Looks like the logging is not very accurate on it.

                      – marco
                      Oct 11 '16 at 10:51






                    • 2





                      My problem was solved only by installing as single user. Did not need to do all steps.

                      – RMAAlmeida
                      May 30 '17 at 19:55








                    2




                    2





                    I had exactly the same problem. It was being caused by a version of the PDF that was also open on Adobe. Looks like the logging is not very accurate on it.

                    – marco
                    Oct 11 '16 at 10:51





                    I had exactly the same problem. It was being caused by a version of the PDF that was also open on Adobe. Looks like the logging is not very accurate on it.

                    – marco
                    Oct 11 '16 at 10:51




                    2




                    2





                    My problem was solved only by installing as single user. Did not need to do all steps.

                    – RMAAlmeida
                    May 30 '17 at 19:55





                    My problem was solved only by installing as single user. Did not need to do all steps.

                    – RMAAlmeida
                    May 30 '17 at 19:55











                    4














                    That error can also appear, when you insert an image and the path of the image has special symbols in it like umlauts (ä,ü,ö). So make sure you don't have any of these in your image path.






                    share|improve this answer




























                      4














                      That error can also appear, when you insert an image and the path of the image has special symbols in it like umlauts (ä,ü,ö). So make sure you don't have any of these in your image path.






                      share|improve this answer


























                        4












                        4








                        4







                        That error can also appear, when you insert an image and the path of the image has special symbols in it like umlauts (ä,ü,ö). So make sure you don't have any of these in your image path.






                        share|improve this answer













                        That error can also appear, when you insert an image and the path of the image has special symbols in it like umlauts (ä,ü,ö). So make sure you don't have any of these in your image path.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Apr 18 '17 at 2:04









                        SheldorSheldor

                        411




                        411























                            1














                            I have this error just because I opened the pdf file in Adobe Reader while I am compiling the Latex. Simply close this pdf file in Adobe Reader will solve the problem.






                            share|improve this answer




























                              1














                              I have this error just because I opened the pdf file in Adobe Reader while I am compiling the Latex. Simply close this pdf file in Adobe Reader will solve the problem.






                              share|improve this answer


























                                1












                                1








                                1







                                I have this error just because I opened the pdf file in Adobe Reader while I am compiling the Latex. Simply close this pdf file in Adobe Reader will solve the problem.






                                share|improve this answer













                                I have this error just because I opened the pdf file in Adobe Reader while I am compiling the Latex. Simply close this pdf file in Adobe Reader will solve the problem.







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Mar 7 '17 at 13:17









                                Siyi ZhouSiyi Zhou

                                111




                                111























                                    1














                                    I had the same issue, this solution solved it without re-installation of MikTeX. Just search for MikTex Update (Admin) and update all the updatable packages. the first time the select all button is grayed out. go ahead with the preselected updates and finish. and then update again, this time select all. The trick is to run the Admin version of MikTex Update. That's it!






                                    share|improve this answer






























                                      1














                                      I had the same issue, this solution solved it without re-installation of MikTeX. Just search for MikTex Update (Admin) and update all the updatable packages. the first time the select all button is grayed out. go ahead with the preselected updates and finish. and then update again, this time select all. The trick is to run the Admin version of MikTex Update. That's it!






                                      share|improve this answer




























                                        1












                                        1








                                        1







                                        I had the same issue, this solution solved it without re-installation of MikTeX. Just search for MikTex Update (Admin) and update all the updatable packages. the first time the select all button is grayed out. go ahead with the preselected updates and finish. and then update again, this time select all. The trick is to run the Admin version of MikTex Update. That's it!






                                        share|improve this answer















                                        I had the same issue, this solution solved it without re-installation of MikTeX. Just search for MikTex Update (Admin) and update all the updatable packages. the first time the select all button is grayed out. go ahead with the preselected updates and finish. and then update again, this time select all. The trick is to run the Admin version of MikTex Update. That's it!







                                        share|improve this answer














                                        share|improve this answer



                                        share|improve this answer








                                        edited Jan 9 '18 at 8:10

























                                        answered Dec 11 '17 at 15:36









                                        FoadFoad

                                        415312




                                        415312























                                            1














                                            In my case the problem was that the PDF document was open (in the browser) when I wanted to build it.






                                            share|improve this answer






























                                              1














                                              In my case the problem was that the PDF document was open (in the browser) when I wanted to build it.






                                              share|improve this answer




























                                                1












                                                1








                                                1







                                                In my case the problem was that the PDF document was open (in the browser) when I wanted to build it.






                                                share|improve this answer















                                                In my case the problem was that the PDF document was open (in the browser) when I wanted to build it.







                                                share|improve this answer














                                                share|improve this answer



                                                share|improve this answer








                                                edited Dec 10 '18 at 13:42









                                                siracusa

                                                5,23011429




                                                5,23011429










                                                answered Dec 10 '18 at 12:24









                                                user176501user176501

                                                111




                                                111























                                                    0














                                                    My problem was that I had two installations of MikTeX on my system (for whatever reason I don't know).



                                                    Simply deleting one of them solved the problem.






                                                    share|improve this answer




























                                                      0














                                                      My problem was that I had two installations of MikTeX on my system (for whatever reason I don't know).



                                                      Simply deleting one of them solved the problem.






                                                      share|improve this answer


























                                                        0












                                                        0








                                                        0







                                                        My problem was that I had two installations of MikTeX on my system (for whatever reason I don't know).



                                                        Simply deleting one of them solved the problem.






                                                        share|improve this answer













                                                        My problem was that I had two installations of MikTeX on my system (for whatever reason I don't know).



                                                        Simply deleting one of them solved the problem.







                                                        share|improve this answer












                                                        share|improve this answer



                                                        share|improve this answer










                                                        answered May 31 '16 at 7:27









                                                        AttaqueAttaque

                                                        17112




                                                        17112























                                                            0














                                                            I had the same problem and looked into the log. It said that this command had failed:



                                                            C:Program FilesMiKTeX 2.9miktexbinx64>initexmf.exe --mklinks --mkmaps


                                                            I opened a command prompt in administrator mode and executed it and now pdflatex is working for me. I first tried to execute that in a non-administrator window and it failed because of permissions. So I am pretty sure this is the right solution.






                                                            share|improve this answer




























                                                              0














                                                              I had the same problem and looked into the log. It said that this command had failed:



                                                              C:Program FilesMiKTeX 2.9miktexbinx64>initexmf.exe --mklinks --mkmaps


                                                              I opened a command prompt in administrator mode and executed it and now pdflatex is working for me. I first tried to execute that in a non-administrator window and it failed because of permissions. So I am pretty sure this is the right solution.






                                                              share|improve this answer


























                                                                0












                                                                0








                                                                0







                                                                I had the same problem and looked into the log. It said that this command had failed:



                                                                C:Program FilesMiKTeX 2.9miktexbinx64>initexmf.exe --mklinks --mkmaps


                                                                I opened a command prompt in administrator mode and executed it and now pdflatex is working for me. I first tried to execute that in a non-administrator window and it failed because of permissions. So I am pretty sure this is the right solution.






                                                                share|improve this answer













                                                                I had the same problem and looked into the log. It said that this command had failed:



                                                                C:Program FilesMiKTeX 2.9miktexbinx64>initexmf.exe --mklinks --mkmaps


                                                                I opened a command prompt in administrator mode and executed it and now pdflatex is working for me. I first tried to execute that in a non-administrator window and it failed because of permissions. So I am pretty sure this is the right solution.







                                                                share|improve this answer












                                                                share|improve this answer



                                                                share|improve this answer










                                                                answered Aug 8 '17 at 16:38









                                                                Mike BarnettMike Barnett

                                                                111




                                                                111























                                                                    0














                                                                    Had a similar Problem:




                                                                    Sorry, but pdflatex did not succeed.




                                                                    The log file hopefully contains the information to get MiKTeX going again:




                                                                    C:/Users/Solarmew/AppData/Local/MiKTeX/2.9/miktex/log/pdflatex.log




                                                                    --> set texmaker as default program for *.tex data solved this (... because texworks was set as default program)






                                                                    share|improve this answer






























                                                                      0














                                                                      Had a similar Problem:




                                                                      Sorry, but pdflatex did not succeed.




                                                                      The log file hopefully contains the information to get MiKTeX going again:




                                                                      C:/Users/Solarmew/AppData/Local/MiKTeX/2.9/miktex/log/pdflatex.log




                                                                      --> set texmaker as default program for *.tex data solved this (... because texworks was set as default program)






                                                                      share|improve this answer




























                                                                        0












                                                                        0








                                                                        0







                                                                        Had a similar Problem:




                                                                        Sorry, but pdflatex did not succeed.




                                                                        The log file hopefully contains the information to get MiKTeX going again:




                                                                        C:/Users/Solarmew/AppData/Local/MiKTeX/2.9/miktex/log/pdflatex.log




                                                                        --> set texmaker as default program for *.tex data solved this (... because texworks was set as default program)






                                                                        share|improve this answer















                                                                        Had a similar Problem:




                                                                        Sorry, but pdflatex did not succeed.




                                                                        The log file hopefully contains the information to get MiKTeX going again:




                                                                        C:/Users/Solarmew/AppData/Local/MiKTeX/2.9/miktex/log/pdflatex.log




                                                                        --> set texmaker as default program for *.tex data solved this (... because texworks was set as default program)







                                                                        share|improve this answer














                                                                        share|improve this answer



                                                                        share|improve this answer








                                                                        edited Dec 10 '18 at 13:30









                                                                        Romain Picot

                                                                        4,52731952




                                                                        4,52731952










                                                                        answered Sep 25 '17 at 13:11









                                                                        user144237user144237

                                                                        1




                                                                        1























                                                                            0














                                                                            I had this problem, and the "solution" was to close the PDF that was open in another application (Microsoft Edge).






                                                                            share|improve this answer




























                                                                              0














                                                                              I had this problem, and the "solution" was to close the PDF that was open in another application (Microsoft Edge).






                                                                              share|improve this answer


























                                                                                0












                                                                                0








                                                                                0







                                                                                I had this problem, and the "solution" was to close the PDF that was open in another application (Microsoft Edge).






                                                                                share|improve this answer













                                                                                I had this problem, and the "solution" was to close the PDF that was open in another application (Microsoft Edge).







                                                                                share|improve this answer












                                                                                share|improve this answer



                                                                                share|improve this answer










                                                                                answered Feb 19 at 1:34









                                                                                Kyle MillsKyle Mills

                                                                                616




                                                                                616























                                                                                    0














                                                                                    I experience this issue and the way I resolved this was by uninstalling MiKTeX and TexStudio and reinstall them and the issue was resolved.
                                                                                    Thank You.






                                                                                    share|improve this answer








                                                                                    New contributor




                                                                                    Rohini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                    Check out our Code of Conduct.

























                                                                                      0














                                                                                      I experience this issue and the way I resolved this was by uninstalling MiKTeX and TexStudio and reinstall them and the issue was resolved.
                                                                                      Thank You.






                                                                                      share|improve this answer








                                                                                      New contributor




                                                                                      Rohini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                      Check out our Code of Conduct.























                                                                                        0












                                                                                        0








                                                                                        0







                                                                                        I experience this issue and the way I resolved this was by uninstalling MiKTeX and TexStudio and reinstall them and the issue was resolved.
                                                                                        Thank You.






                                                                                        share|improve this answer








                                                                                        New contributor




                                                                                        Rohini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                        Check out our Code of Conduct.










                                                                                        I experience this issue and the way I resolved this was by uninstalling MiKTeX and TexStudio and reinstall them and the issue was resolved.
                                                                                        Thank You.







                                                                                        share|improve this answer








                                                                                        New contributor




                                                                                        Rohini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                        Check out our Code of Conduct.









                                                                                        share|improve this answer



                                                                                        share|improve this answer






                                                                                        New contributor




                                                                                        Rohini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                        Check out our Code of Conduct.









                                                                                        answered 13 mins ago









                                                                                        RohiniRohini

                                                                                        1




                                                                                        1




                                                                                        New contributor




                                                                                        Rohini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                        Check out our Code of Conduct.





                                                                                        New contributor





                                                                                        Rohini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                        Check out our Code of Conduct.






                                                                                        Rohini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                        Check out our Code of Conduct.






























                                                                                            draft saved

                                                                                            draft discarded




















































                                                                                            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                                                                                            • Please be sure to answer the question. Provide details and share your research!

                                                                                            But avoid



                                                                                            • Asking for help, clarification, or responding to other answers.

                                                                                            • Making statements based on opinion; back them up with references or personal experience.


                                                                                            To learn more, see our tips on writing great answers.




                                                                                            draft saved


                                                                                            draft discarded














                                                                                            StackExchange.ready(
                                                                                            function () {
                                                                                            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f267299%2fhow-to-fix-the-sorry-but-c-miktex-pdftex-exe-did-not-succeed-error%23new-answer', 'question_page');
                                                                                            }
                                                                                            );

                                                                                            Post as a guest















                                                                                            Required, but never shown





















































                                                                                            Required, but never shown














                                                                                            Required, but never shown












                                                                                            Required, but never shown







                                                                                            Required, but never shown

































                                                                                            Required, but never shown














                                                                                            Required, but never shown












                                                                                            Required, but never shown







                                                                                            Required, but never shown







                                                                                            Popular posts from this blog

                                                                                            IEEEtran - How to include ORCID in TeX/PDF with PdfLatexIs there a standard way to include ORCID in TeX /...

                                                                                            Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...