Program database manager mismatch

I have been working with vc++ express for about a month, and all my projects were fine but now whenever I compile anythingi get the following error:

fatal error C1902: Program database manager mismatch; please check your installation

I searched for a solution on Google and MSDN but neither showed anything i could make sense of.


Answer this question

Program database manager mismatch

  • Noizu

    Same here. Reverted back to Beta 2 and everything was ok. :(


  • rknorp

    Yr suggestion helped me too. Thanks.

  • xiewob

    I am getting the same error, but am using the team edition for developers.

    I have tried all 32 combinations in turn with restarts of dev studio and still get the error - sometimes it works for a build, but then another restart and it is broken again. I am deleting ALL temp files and the .ncb.

    Identical PC versions:
    C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
    C:\Program Files\Microsoft Visual Studio 8\VC\bin
    C:\Program Files\Microsoft Visual Studio 8\Team Tools\Performance Tools
    C:\Program Files\Common Files\Microsoft Shared\VSA\8.0\VsaEnv

    360 version:
    C:\Program Files\Microsoft Xbox 360 SDK\bin\win32

    As long as the 360 version is there, the 360 builds fine, but not the PC.

    I can't think of any changes on my machine between working and not, apart from our TFS server was changed.

    All suggestions welcombe,

    ric

  • Anonymous12321232

    Had a very similar problem after fooling around trying to get a parallel make working (I couldn't). I hadn't touched any of the visual studio files, and was working exclusively in my c:\temp directory so I don't know quite what happened..!

    Did a search and found mspdb80.dll in the following locations:

    c:\windows\system32
    c:\program files\microsoft visual studio 8\common7\ide
    c:\program files\common files\microsoft shared\vsa\8.0\vsaenv
    c:\program files\microsoft sdks\windows\v6.0\vc\bin

    The one in the sdks directory was from 2005, the others were identical from 2006, and I'm using VS 05.

    I resolved it by renaming all but the one in the vs8\common7 directory.

    Apparently there's been a bug or two fixed by MS previously for this error, maybe there's another one somewhere Smile


  • Bob C

    thanks for telling me what the problem is, but how to solve it SHould i reinstall vcexpress

  • Sasanka Pinidiya

    You have a corrupt install. Basically you have the wrong version of DLLs used to generate PDB files installed. Some other install must have trashed the ones that came with Visual C++ Express.

    Thanks,

  • jamesski

    Guess it should be we've got some virus, that changes smth inside vc installation, cause after I repaired and reinstalled VS the error disappeared and later, next day came again, so it was enough time for a virus to "mark" new files.
  • Cuzzlor

    removing the mspdb80.dll from C:\ProgramFiles\Microsoft Visual Studio 8\VC\bin solved it for me.

  • Vitalie Ciobanu

    Yes, my situation is the same. After removing the mspdb80.dll, all the errors disappear. I don't know why.
  • wwfDev

    Same problem here on 8/28/2006. Thanks for the fix! Hopefully Microsoft will fix this so that dumpbin and the C++ compiler can both find mspdb80.dll without the developer having to toy with it to get it to work.
  • Shaleen Rana

    Hi,

    I tried to run dumpbin.exe from its installed location, \Program Files\Microsoft Visual Studio 8\VC\bin, but the OS complained that it couldn't find mspdb80.dll.  I copied mspdb80.dll from \Program Files\Microsoft Visual Studio 8\Common7\IDE and dumpbin.exe ran fine.  Shortly afterward, however, I got error C1902 while building a project that had built just fine earlier in the day.  I removed mspdb80.dll from \Program Files\Microsoft Visual Studio 8\VC\bin and error C1902 went away.  Rather strange.

    Cheers,
    Tom Lake

    Same happened to me
    Jose Luu

  • Bastari

    I just spent 4 hours with the most bizarre problem. I have VS 2005 Pro installed, & it's been working fine for over a year. Suddenly this evening I started getting C1902 errors, for everything I built. Nothing worked! I searched forum after forum, and then found this post here mentioning running dumpbin. Well, I had just done that, and started suspecting it. Other posts had mentioned that C1902 had to do with mspdb80.dll. And then it finally clicked. In order to get dumpbin to work, after adding its location to my PATH variable, I had to copy mspdb80.dll to \windows\system32. So I deleted it from there. My build problems magically disappeared. Talk about strange! And I have yet to find a post from Microsoft linking mspdb80.dll to C1902 build problems.
  • JeppeSV

    It worked for me too. Thanks.


  • Program database manager mismatch