Visual C++ gave to me an error which I didn’t see earlier. It was a fatal error. The error message was:
“fatal error C1902: Program database manager mismatch; please check your installation”
In order to solve this issue do the following steps:
1: Once you have installed VC++, goto the IDE folder of the Visual Studio 2005 install. It is usually at
"C:\Program Files\Microsoft Visual Studio 8\Common7\IDE"
2: Copy these 3 files:
mspdb80.dll
mspdbcore.dll
mspdbsrv.exe
Copy these to the "\VC\bin" directory of the Visual Studio 2008 installation. It is usually at
"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin"
You can find related article at Softpedia Article
Detailed description of this problem and causes can also be found on Fatal Error C1902 provided by MSDN Community Content - Visual C++.
This would solve the problem. The reason of the error is that the vesrion of these files especially in the 2008 edition are mismatching and do not have compatibility with each other. The program database file (.pdb) were created using a newer version of mspdbXX.dll [eg. Mspdb70.dll]. This may not be the one with the compiler found on your system. This error usually indicates that mspdbsrv.exe or mspdbcore.dll are missing. Also there is a chance that they have different versions than mspdbXX.dll. So the solution would be ensuring that the same versions of mspdbsrv.exe, mspdbcore.dll, and mspdbXX.dll are present on your installed file system. This is small step but if this workaround is not known, it would waste your time in installing, reinstalling Visual C++. Hope this helps if ever you fall into this trap. ;) Enjoy.
Learning with learners
W3LC brings you Discussions For IT People. Stuffed with personal touch & humor by Anwar Jamal Faiz.
A great place to read and participate in IT discussions. With over 1.5 million hits from bright technical minds across the globe, W3LC urges to read, enjoy, and comment. Learning, ofcourse, would just be a side-effect. Also visit MeOnShow. And, Technology Job Puzzles.
Subscribe to:
Post Comments (Atom)
This error also comes in cov-configure command. when you use Coverity Prevent version 4.5 or any. If --comptype is msvc (for visual C++) then this error comes.
ReplyDelete