Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Fatal Error C1902

Fatal Error C1902

Scheduled Pinned Locked Moved C / C++ / MFC
c++databasehelptutorialquestion
8 Posts 2 Posters 0 Views 1 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.
  • P Offline
    P Offline
    pix_programmer
    wrote on last edited by
    #1

    Hi! I got the following erros during compilation. Error 2 error BK1506 : cannot open file '.\Compilations\PlugIn_Debug_Win32\PlugIn.sbr': No such file or directory BSCMAKE Error 1 fatal error C1902: Program database manager mismatch; please check your installation d:\plugin\stdafx.cpp 1 The source is transferred from another machine. When I rebuild the code for the first time(I've not modified the code),it compiles fine. But when I made changes to the code and recompile it shows the above two errors. Both machines have SP1 for VS2005. How to resolve the above two errors?

    J 1 Reply Last reply
    0
    • P pix_programmer

      Hi! I got the following erros during compilation. Error 2 error BK1506 : cannot open file '.\Compilations\PlugIn_Debug_Win32\PlugIn.sbr': No such file or directory BSCMAKE Error 1 fatal error C1902: Program database manager mismatch; please check your installation d:\plugin\stdafx.cpp 1 The source is transferred from another machine. When I rebuild the code for the first time(I've not modified the code),it compiles fine. But when I made changes to the code and recompile it shows the above two errors. Both machines have SP1 for VS2005. How to resolve the above two errors?

      J Offline
      J Offline
      Jochen Arndt
      wrote on last edited by
      #2

      You probably did not only copied the source but also some output files. Try a complete rebuild to overwrite the copied output files. If this does not help, delete all files except the source and project files and rebuild.

      P 1 Reply Last reply
      0
      • J Jochen Arndt

        You probably did not only copied the source but also some output files. Try a complete rebuild to overwrite the copied output files. If this does not help, delete all files except the source and project files and rebuild.

        P Offline
        P Offline
        pix_programmer
        wrote on last edited by
        #3

        Jochen Arndt wrote: delete all files except the source and project files and rebuild. I deleted the Program Database (.pdb) file. By all files you mean what other files?

        J 1 Reply Last reply
        0
        • P pix_programmer

          Jochen Arndt wrote: delete all files except the source and project files and rebuild. I deleted the Program Database (.pdb) file. By all files you mean what other files?

          J Offline
          J Offline
          Jochen Arndt
          wrote on last edited by
          #4

          All generated output files (all files in the output directories; e.g. the Debug and Release sub-directories) and (optionally) project generated files in the project directory (.aps, .ncb, .suo).

          P 1 Reply Last reply
          0
          • J Jochen Arndt

            All generated output files (all files in the output directories; e.g. the Debug and Release sub-directories) and (optionally) project generated files in the project directory (.aps, .ncb, .suo).

            P Offline
            P Offline
            pix_programmer
            wrote on last edited by
            #5

            I've deleted not only the mentioned file but also the folders like Debug and Release. But the error remains as such. Can you tell me the error is due to Service Pack or redistributable? I forgot to mention the VS version. VS 2005 on both the machines.

            J 1 Reply Last reply
            0
            • P pix_programmer

              I've deleted not only the mentioned file but also the folders like Debug and Release. But the error remains as such. Can you tell me the error is due to Service Pack or redistributable? I forgot to mention the VS version. VS 2005 on both the machines.

              J Offline
              J Offline
              Jochen Arndt
              wrote on last edited by
              #6

              It seems that you are not the only one (try to Google for the error). You have multiple versions or the wrong mspdb80.dll. See this Visual Studio Forum post[^].

              P 1 Reply Last reply
              0
              • J Jochen Arndt

                It seems that you are not the only one (try to Google for the error). You have multiple versions or the wrong mspdb80.dll. See this Visual Studio Forum post[^].

                P Offline
                P Offline
                pix_programmer
                wrote on last edited by
                #7

                Deleting mspdb80.dll file didn't work. It seems a virus problem. Will a repair install of VS2005 work?

                J 1 Reply Last reply
                0
                • P pix_programmer

                  Deleting mspdb80.dll file didn't work. It seems a virus problem. Will a repair install of VS2005 work?

                  J Offline
                  J Offline
                  Jochen Arndt
                  wrote on last edited by
                  #8

                  Did you check if there are multiple versions on your new system? If so, see the forum post messages. A repair install might help. A virus is rather unlikely. But if you have one on the system, the best solution is a clean re-install of the whole system.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups