Microsoft visual c++ runtime library error this application has requested the runtime to terminate

October 7, 2015

October 7, 2015

Symptoms of problem:

Running the library leads to this error:

Microsoft visual c++ runtime library error this application has requested the runtime to terminate

Root cause of problem:

This error is typically the result of a conflict between the Microsoft Visual C++ Redistributables libraries supplied with MATLAB, and those that are supplied by some third party applications.

Solution to problem:

To revert to a previous version of the C++ Redistributable libraries, you should uninstall all versions of your current 2005 and 2008 C++ Redistributable libraries through your Windows Control Panel, and reboot you machine. You can then re-install them by running the MATLAB-provided installers which can be found in the following locations:

For 32-bit Imatest:

C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v81\bin\win32\vc90\vcredist_x86.exe

For 64-bit Imatest:

C:\Program Files\MATLAB\MATLAB Compiler Runtime\v81\bin\win64\vc90\vcredist_x64.exe

Note: for older releaseses, a different matlab folder will be used, for example, v714 for releases 3.10 and below.

See Also:

  • MATLAB Central: “Why does MATLAB fail to start with an error ‘The program has requested the runtime to terminate in an unusual way’?”
  • Best Practices for Calling Imatest IT Libraries
  • Debugging Imatest IT

I am working with python 2.7.18 and when I run my code this error appears telling "This application has requested the runtime too ...", I closed all my codes and write this simple code which is a simple plotting of a mathematical function, but again I came up with this error, don't

Microsoft visual c++ runtime library error this application has requested the runtime to terminate
know how to solve it. The code and error picture is attached here, does anyone know how to solve it ? Thanks in advance.

Barmar

684k52 gold badges464 silver badges571 bronze badges

asked Feb 25, 2021 at 17:24

Microsoft visual c++ runtime library error this application has requested the runtime to terminate

8

Following steps are recommended to solve the problem:

  1. Run cmd as admin and execute this code : bcdedit /set IncreaseUserVa 3072 Restart your computer and then see if the problem solved If not do the 2nd one 2.Open control pannel> program and features > repair all versions of Microsof visual c++ then restart pc and test 3.uninstall all the Microsoft visual c++ versions and download and install them again from Microsoft.com restart and test
  2. Go to sereby.org website and download runtime in download section. Install it and most often, one of these will solve the problem

answered Feb 26, 2021 at 0:03

OzgurOzgur

764 bronze badges

Not the answer you're looking for? Browse other questions tagged python python-2.7 matplotlib runtime-error or ask your own question.

티스토리 뷰

프로그램 실행시 발생 하는 'This application has requested the runtime to terminate it in an unusual way' 에러 해결 방안

이번 글에서는 프로그램 실행시  'This application has requested the runtime to terminate it in an unusual way' 에러가 발생하는 경우의 문제 해결 방안에 대해서 알아보도록 하겠습니다.

프로그램을 실행 시켰을때,아래와 같은 에러가 따악 발생을 한다면 어떻게 해야 할까요?

위의 문제는 프로그램 설치 혹은 다른 방법으로 인해서 Microsoft Visual C++ Runtime Library에 문제가 생겼을 경우 발생을 합니다. 

물론 기존 PC에 설치가 안되어 있었을 수도 있습니다.

이를 해결 하기 위해서는 

1) 클린 부팅을 하거나,

2) 기존의 Microsoft Visual C++ Redistributable Package를 삭제하고, Microsoft Visual C++ Redistributable Package를 재설치 

를 통해서 해결을 할 수 있습니다.

클린 부팅에 대한 방법은 아래의 링크를 참조해주시기 바랍니다.

Microsoft Visual C++ Redistributable Package 설치하는 방법에 대해서 안내해 드리겠습니다. Microsoft Visual C++ Redistributable Package는 OS에 따라서 설치해야하는 파일이 다릅니다. 32비트, 64비트로 구분이 되어 Microsoft에서 제공하기 때문에 이에 대해서 명확히 인지를 하고 설치를 해야합니다.

패키지를 설치할 수 있는 링크를 알려드리겠습니다. OS에 맞게 다운로드 받으신 후, 제어판에서 관련 패키지를 삭제하시고 다시 설치를 하시면 됩니다.

이 글이 도움이 되셨나요?

그렇다면 아래의 그림을 클릭해주세요.


How do I fix Microsoft Visual C++ runtime library error?

How do I fix the Microsoft Visual C++ runtime library error?.
Perform a clean boot. Press Windows Key + R and enter msconfig. ... .
Remove your graphics card driver. ... .
Reinstall Windows 10. ... .
Reinstall Microsoft Visual C++ Redistributables. ... .
Create a new user account. ... .
Turn off the Compatibility mode. ... .
Reinstall the problematic application..

How do I get rid of runtime error?

How to Fix a Runtime Error.
Restart the computer. ... .
Update the program to its latest version. ... .
Fully delete the program, and then reinstall it. ... .
Install the latest Microsoft Visual C++ Redistributable package. ... .
Use SFC scannow to repair corrupted Windows files. ... .
Run System Restore to return your computer to a previous state..

Why is my Microsoft Visual C++ runtime error?

This error can be caused due to Runtime components of Visual C++ Libraries are missing or due to software problem. I would suggest you to try performing a clean boot and check if you can install. A clean boot helps to verify if any third party application services or startup item is causing this issue.