Error MSVCR120.dll is missing on starting XnView

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

jgh
Posts: 5
Joined: Wed Jul 19, 2017 4:08 pm

Error MSVCR120.dll is missing on starting XnView

Postby jgh » Wed Jul 19, 2017 4:46 pm

Having just installed XnView (2.40, new download of full version), when I start it I get an XnView.exe System error message box come up ''The program can't start because MSVCR120.dll is missing from your computer. Try reinstalling...". But when I click ok, it (XnView) does seem to start up. Neither re-installation of XnView (as suggested in the message), nor a system reboot, have cured the problem.

My system: Windows 7 Professional, 32 bit.

(Edited to correst missing file name in title)
Last edited by jgh on Wed Jul 19, 2017 10:28 pm, edited 1 time in total.

User avatar
xnview
Author of XnView
Posts: 28299
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Error MSCVCR120.dll is missing on starting XnView

Postby xnview » Wed Jul 19, 2017 8:00 pm

please try to remove plugin\openexr.dll?
Pierre.

jgh
Posts: 5
Joined: Wed Jul 19, 2017 4:08 pm

Re: Error MSVCR120.dll is missing on starting XnView

Postby jgh » Wed Jul 19, 2017 10:21 pm

How might I do that?

Looking under Info > Plug-Ins Information it does not appear in the list of either plugins or Addons; nor can I see it in C:\Program Files\XnView , or any of its subfolders; nor is it mentioned in Plugins.txt.

(But one thing I did notice was in \XnView\Addon\Microsoft.VC90.CRT\msvcr90.dll ,dated 2008)

At installation I left the list of plugins and addons as it came.

User avatar
xnview
Author of XnView
Posts: 28299
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Error MSVCR120.dll is missing on starting XnView

Postby xnview » Thu Jul 20, 2017 11:32 am

what do you have in XnView\Plugins folder?
Pierre.

jgh
Posts: 5
Joined: Wed Jul 19, 2017 4:08 pm

Re: Error MSVCR120.dll is missing on starting XnView

Postby jgh » Thu Jul 20, 2017 1:11 pm

In C:\Program Files\XnView\PlugIns :

Code: Select all

BMF_read.dll       
bpg.txt           
bpgdec.exe         
CADImage.dll       
CADImageLicense.txt
charls.dll         
cpa.dll           
CS_Manager.exe     
DC120.dll         
deco_32.dll       
fif-license.txt   
flif_license.txt   
jbig2dec.exe       
ldf.dll           
ldf_jpm.dll       
libflif.dll       
libjpeg-62.dll     
libmng.dll         
libpng15-15.dll   
lwf.dll           
mpeg.dll           
ncc.dll           
openjp2.dll       
pcdlib32.dll       
rwz_sdk.dll       
slide.exe         
VTFLib.dll         
WaveL.dll         
webp.dll           
Xbmf.dll           
Xcompound.dll     
Xeri.dll           
Xfif.dll           
Xfpx.dll           
Xiwc.dll           
Xjbig.dll         
Xjng.dll           
XMrSid.dll         
Xp2.dll           
Xpax.dll           
Xpwc.dll           
Xsff.dll           
Xwhypic.dll       
Xwic.dll           
Xwlm.dll           
Xwmp.dll           
Xwsq.dll           
zlib1.dll     


And (in case its relevant) in C:\Program Files\XnView\Addon

Code: Select all

7z.dll           
cacert.pem       
FIPL.txt         
Flash.lng         
Flash.xnp         
FreeImage.dll     
FTP.lng           
FTP.xnp           
id3lib.dll       
libcurl.dll       
libdsw-1.1.0.dll 
libeay32.dll     
libmcl-6.0.1.dll 
libmpg-2.4.0.dll 
libogg-2.1.0.dll 
libquant.dll     
libquant.txt     
libwmv-3.0.1.dll 
Masks             
Microsoft.VC90.CRT
NeroCD.lng       
NeroCD.xnp       
packJPG.dll       
PackJPG.lng       
PackJPG.xnp       
Paint.lng         
Paint.xnp         
PhotoMasque.dat   
PhotoMasque.lng   
PhotoMasque.xnp   
pngout.exe       
PNGout.lng       
PNgout.xnp       
Riot.dll         
Riot.xnp         
riot_changelog.txt
riot_license.txt 
sqx20.dll         
ssleay32.dll     
UNACEV2.DLL       
unrar.dll         
Unzip32.dll       
xmp.dll           
Zip32.dll         
ZIPPack.lng       
ZIPPack.xnp       
zlib1.dll         


with subfolders Masks & Microsoft.VC90.CRT

User avatar
xnview
Author of XnView
Posts: 28299
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Error MSVCR120.dll is missing on starting XnView

Postby xnview » Thu Jul 20, 2017 8:35 pm

Try to move openjp2.dll or webp.dll?
Pierre.

jgh
Posts: 5
Joined: Wed Jul 19, 2017 4:08 pm

Re: Error MSVCR120.dll is missing on starting XnView

Postby jgh » Thu Jul 20, 2017 10:57 pm

Renamed webp.dll to ~.dl$, problem has gone away XnView now starts without error.
Just wondering what it was for - it didn't show up in plugins information, so I hope I don't need it.

Anyway, thanks - merci.

User avatar
XnTriq
Moderator & Librarian
Posts: 5104
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Error MSVCR120.dll is missing on starting XnView

Postby XnTriq » Sat Jul 22, 2017 7:45 am

jgh wrote:Renamed webp.dll to ~.dl$, problem has gone away XnView now starts without error.
Just wondering what it was for - it didn't show up in plugins information, so I hope I don't need it.

This I/O plug-in adds read and write support for the WebP file format to XnView.

jgh
Posts: 5
Joined: Wed Jul 19, 2017 4:08 pm

Re: Error MSVCR120.dll is missing on starting XnView

Postby jgh » Mon Jul 24, 2017 12:06 pm

Downloaded and unzipped that webp.dll, and copied it to plugins folder, problem has not recurred.

But I notice that that version of webp.dll is not the same size (and date) as the version which came with the XnView 2.40 (Extended) that I downloaded and installed, and that the version in the 'all plugins' zip file is different from both! - I would have expected them to be all the same.

michelg77
Posts: 1
Joined: Tue Oct 17, 2017 6:02 am

Re: Error MSVCR120.dll is missing on starting XnView

Postby michelg77 » Tue Oct 17, 2017 6:06 am

too complicated to read, too long. Headline needed : rename webp.dll webp2.dll

Qastet
Posts: 1
Joined: Thu Oct 19, 2017 4:15 pm

Re: Error MSVCR120.dll is missing on starting XnView

Postby Qastet » Thu Oct 19, 2017 4:20 pm

Version 2.43, WinXP, the problem remained. The decision from jgh helped, but it's inconvenient: I advise you to include the library webp.dll in the distribution.

User avatar
XnTriq
Moderator & Librarian
Posts: 5104
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Error MSVCR120.dll is missing on starting XnView

Postby XnTriq » Fri Oct 20, 2017 8:30 pm

Please download and install the Visual C++ 2013 runtime libraries:


XnView-User
Posts: 12
Joined: Wed Mar 09, 2016 11:22 am

Re: Error MSVCR120.dll is missing on starting XnView

Postby XnView-User » Wed Oct 25, 2017 10:13 am

The same applies to me on my Windows 7 64-Bit system. I upgraded today from Xnview Full-Version 2.40 to Xnview Full-Version 2.42.

But with this current Version 2.42 I get the same error message saying that “MSVCR120.dll is missing” when starting XnView.

xnview.exe - Systemfehler ab V.2.42.jpg
xnview.exe - Systemfehler ab V.2.42.jpg (20.52 KiB) Viewed 369 times


Strangely, after clicking on OK XnView will start even though.

I immediately rolled back to Version 2.40 because I didn’t have this annoying bug before with Xnview Full-Version 2.40.

And what is written here about installing Visual C++ 2013 doesn’t seem to me relevant because all previous versions of the past years ran smoothly on my system without(!) this Visual C++ 2013. I have other Visual C++ versions installed o my system (please see screenshot)

Zwischenablage-1.jpg


For me this issue is nothing but a bug in the current Version 2.42. It would be great if you could fix this. Thanks.

User avatar
XnTriq
Moderator & Librarian
Posts: 5104
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Error MSVCR120.dll is missing on starting XnView

Postby XnTriq » Wed Oct 25, 2017 3:30 pm

XnView-User wrote:And what is written here about installing Visual C++ 2013 doesn’t seem to me relevant because all previous versions of the past years ran smoothly on my system without(!) this Visual C++ 2013. I have other Visual C++ versions installed o my system (please see screenshot)

“What is written here” is relevant because MSVCR120.dll is part of the Visual C++ 2013 (v12.0) redistributable package but isn't included in earlier (2005, 2008) or later (2015) versions.
webp.dll is used by XnView for loading and saving WebP files. To my knowledge, it's the only component of XnView to rely on MSVCR120.dll. Previous versions of webp.dll didn't need MSVCR120.dll, but they were not compatible with Windows XP.

p146213_1.png
webp.dll (355'328 bytes | 19.Jan.2015)
SHA256: C70B3D4F9C115E24F1D4036F1B69D406BBD706813C7D3E3A6F2770AE71F11C89

p146213_2.png
webp.dll (409'600 bytes | 22.Apr.2017)
SHA256: 05A7EF14FB175FF77EDCEA8F6F64FEAE8F0D196939E17D8919A25F54E2CBB394

You've got four options:

  1. Install the Visual C++ 2013 runtime libraries.
  2. Replace \Plugins\webp.dll with an earlier version.
  3. Remove webp.dll from the Plugins sub-directory of your XnView installation (which deactivates support for WebP).
  4. Ignore the error message and continue to use XnView without support for the WebP file format.

XnView-User
Posts: 12
Joined: Wed Mar 09, 2016 11:22 am

Re: Error MSVCR120.dll is missing on starting XnView

Postby XnView-User » Tue Oct 31, 2017 12:15 pm

Thanks for your answer.

Listen, I’m just a user and not a programmer. Therefore I don’t have a clue what all this Visual C++ stuff is and for what I need it. I also didn’t install this Visual C++ stuff, it came preinstalled on my system and probably with other software installations.

But one thing is for sure:

The here described error came up, on my system, only with Xnview Full-Version 2.42.

Xnview Full-Version 2.40 doesn’t have this error! Version 2.40 starts without this error on my system and that’s the reason why I rolled back to it. And furthermore: All other previous XnView versions from the last years (I’am talking about many years that I use XnView) didn’t have this error as well!

What you are telling us here about Visual C++ and webp.dll files is just very confusing to me, far too confusing for normal users. For me the simple question is:

If XnView suddenly needs this Visual C++ 2013 thing to work properly, why doesn’t it come along with the installer?

Anyway; I choose option number five, the by far easiest solution to this problem:

I will just stick to Xnview Version 2.40 ;-)


Return to “Classic - Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest