VS2008 cannot update program database

The compiler appears:

error C2471: Unable to update program database "xxxxx\release\vc90.idb

The windows event log query shows:

Activation context generation failed for "D:\User Directory\My Documents\Visual Studio 2008\Projects\test\Debug\test.exe". An error occurred on line 4 of the manifest or policy file "D:\User Directory\My Documents\Visual Studio 2008\Projects\test\Debug\Microsoft.VC90.DebugCRT.MANIFEST". The component ID found in the manifest does not match the ID of the requested component. The reference is Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8". The definition is Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.4148". Please use sxstrace.exe for detailed diagnosis.


C:\Program Files (x86)\Visual Studio 2008 Team Suite\VC\redist\Debug_NonRedist\x86\Microsoft.VC90.DebugCRT

find in the directory

If not, go to https://www.cnblogs.com/machh/p/5320385.html to download and install vcredist_x86.exe, find the screenshots and copy the four files to the program running directory.




Guess you like

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