Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error: program database manager mismatch...
Forum Updated to NodeBB v4.3 + New Features

Error: program database manager mismatch...

Scheduled Pinned Locked Moved Solved Installation and Deployment
8 Posts 4 Posters 1.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kayote
    wrote on 6 Jul 2018, 14:02 last edited by
    #1

    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?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 6 Jul 2018, 14:07 last edited by mrjj 7 Jun 2018, 14:09
      #2

      Hi
      Its not related to Qt as such.
      Its a visual studio thing it seems.
      https://msdn.microsoft.com/en-us/library/8y7hea02.aspx

      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.

      1 Reply Last reply
      3
      • K Offline
        K Offline
        Kayote
        wrote on 6 Jul 2018, 14:42 last edited by
        #3

        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...

        M 1 Reply Last reply 6 Jul 2018, 14:57
        0
        • K Kayote
          6 Jul 2018, 14:42

          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...

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 6 Jul 2018, 14:57 last edited by
          #4

          @Kayote
          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

          K 1 Reply Last reply 6 Jul 2018, 15:26
          3
          • M mrjj
            6 Jul 2018, 14:57

            @Kayote
            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

            K Offline
            K Offline
            Kayote
            wrote on 6 Jul 2018, 15:26 last edited by
            #5

            @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 :)

            M J 2 Replies Last reply 6 Jul 2018, 15:30
            3
            • K Kayote
              6 Jul 2018, 15:26

              @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 :)

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 6 Jul 2018, 15:30 last edited by
              #6

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

              1 Reply Last reply
              1
              • K Kayote
                6 Jul 2018, 15:26

                @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 :)

                J Offline
                J Offline
                JoeBermejales
                wrote on 3 Feb 2022, 19:16 last edited by
                #7

                @Kayote said in Error: program database manager mismatch...:

                @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 :)

                Thanks a lot, Worked for me!! What kind of black magic is this supposed to be?

                http://reparacionplotter.com

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 3 Feb 2022, 19:18 last edited by
                  #8

                  Hi,

                  Just an educated guess: order of the folders in the PATH environment variable that made the wrong dll found before the correct one.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  1

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved