Due to an incorrect configuration of the application" solution

  I believe that many friends have encountered some program problems of the computer more or less when using the computer. For example, some netizens recently reported that when using QQ, PS, Snagit and other programs, they have encountered the problem of program error " because the application configuration is incorrect ". What should we do at this time? Let's tell everyone!

"Because the application is not configured correctly" what to do 1

  Figure 1 A program reports an error

  Cause Analysis

  Based on the information on the Internet, most of them are due to the following two reasons:

  1. One of the reasons for this problem: Your computer's Windows Installer service is not turned on.

  The solution is to open the Control Panel → Administration → Services, open the Windows Installer service, set it to automatic, and then restart the computer.

  2. The second reason for this problem: The runtime library of Visual Studio is not installed on your computer.

  The application is developed with Visual Studio 2005 and above, and it depends on the corresponding runtime library, which is not installed on your computer. (For the application developed by VC6 or VS2003, if the library file is missing, it will prompt that "**.dll" is missing, but for VS2005 or VS2008, it will only prompt "Because the application configuration is incorrect...".)

  The solution is not to reinstall the application, let alone reinstall the system, but to install the corresponding runtime library (Microsoft Visual C++ 20** Redistributable Package, ie vcredist_x86.exe.

  ★It is really difficult to distinguish which version of VS your program is developed, and even some software is developed by multiple versions, then install multiple vcredist_x86.exe, they are compatible with each other, and can solve most software on your computer similar problems. (After both 2005 and 2008 are installed, "Add/Remove Programs" will be displayed as shown in Figure 5).

  ★The following "20**" represents "2005" or "2008" or "2009" or "2010".

  Required installation package

  Just one file - vcredist_x86.exe downloaded from Microsoft's official website download center

"Because the application is not configured correctly" what to do 2

  step

  1. Open the Control Panel→Administrative Tools→Services, if the Windows Installer service is not enabled, set it to automatic, and then restart the computer. Continue if it doesn't solve the problem.

  2. You can preliminarily determine which version of VS your program is developed in.

  (Open the directory where the application is located, and search for files starting with mfc or msvc. If so, please check the file version to know the VC version. Please see the figure below, 8 means developed by VC8.0, 9 means developed by VC9.0 )

  The VC version of VS2003 is VC.1, the VC version of VS2005 is vc8.0, and the VC version of VS2008 is vC9.0.

"Because the application is not configured correctly" what to do 3

  Figure 3 MFC file in Snagit

"Because the application is not configured correctly" what to do 4

  Figure 4 VC9 file in GeeTeeDee

  3. Check whether the Microsoft Visual C++ 20** Redistributable Package is installed on the machine in "Add/Remove Programs" in the control panel. As shown below:

"Because the application is not configured correctly" what to do 5

  Figure 5

  4. If there is no Microsoft Visual C++ 20** Redistributable in the picture above, continue.

  5. Download the Microsoft Visual C++ 20** Redistributable Package from the Microsoft Download Center. The file is available in 32-bit (X86) and 64-bit (X64). The download address is as follows.

  6. Double-click to run the downloaded vcredist_x86.exe, which will automatically install the Microsoft Visual C++ 20** Redistributable Package

  7. Check if there is this item in "Add/Remove Programs"

  8. If there is this item, the installation is successful. Then open your application, if no error is reported, the problem is solved.

  9. If it has not been resolved, there is still a lot of information available on the Internet.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326355334&siteId=291194637