Error,  Windows

Missing DLL: [msvcpXXX.dll]


I get the following error message when trying to start the game

  • We’re sorry, an error has occurred. Invalid license. Reason code = Missing DLL: [msvcpXXX.dll]



The game needs files from the Microsoft Visual C++ Redistributable to run correctly. Unfortunately they are often not properly installed leading to this error.

The number can vary and corresponds to the following pack:

  • MSVCP80.dll belongs to Microsoft Visual C++ 2005
  • MSVCP90.dll belongs  to Microsoft Visual C++ 2008
  • MSVCP100.dll belongs to Microsoft Visual C++ 2010
  • MSVCP110.dll belongs to Microsoft Visual C++ 2012
  • MSVCP120.dll belongs to Microsoft Visual C++ 2013
  • MSVCP140.dll belongs to Microsoft Visual C++ 2015


Install the necessary files separately. There are two ways to do this (just try the second if the first doesn’t work).

If neither of them work, uninstall the the redistributable pack through your control panel first and reinstall it or try a repair. More details for this can be found here: VCRUNTIME140.dll missing

Installation from your hard drive

  • Go to the following folder c:\program Files (x86)\Origin_Games\Die Sims 4\_Installer\vc\vcXXXX\redist
  • Double click on vcredist_X86.exe to install
  • Double click on vcredist_X64.exe to install


Download from Microsoft

  • Go here: The latest supported Visual C++ downloads
  • Find the redistributable you need and download it to your hard drive. For Sims 4 you need both the x64 and the x86 exe-file
  • Double click on the files to install it.

Further Reading