Error: program database manager mismatch...

  • When trying to build a new project I get the following compilation error:

    C1902: Program database manager mismatch; please check your installation

    I am using Qt 5.10.1 with MSVC2015 64bit. I have tried re-installing Qt but that did not seem to work. How do I go about fixing this?

  • Lifetime Qt Champion

    Its not related to Qt as such.
    Its a visual studio thing it seems.

    Did you upgrade visual studio lately ? from 2013 to 2015 or something like that ?

    seems to be related to mspdb80.dll being unexpected version, either left by prev install or
    changes to the PATH.

  • Hi, I had actually uninstalled Visual Studio 2013 a while ago. It was installed alongside Visual Studio 2015 which is the only version I have now. I guess something happened there.
    But I looked in C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin and the only version I have there is the mspdb140.dll. I've tried googling a bit but I can't quite seem to figure out which files are causing the issue...

  • Lifetime Qt Champion

    Did you check entire disk ?
    There is a change that PATH was altered and it find other version somewhere.
    Mine looks like this
    alt text

  • @mrjj
    Ah... I found out I had an extra mspdb140.dll in C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE which wasn't supposed to be there apparently! I simply deleted it and now it works again!

    Thank you very much for the help :)

  • Lifetime Qt Champion

    Super. wasn't sure what what folder it could be.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.