Fatal Error C1902
-
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?
-
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?
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.
-
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.
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?
-
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?
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).
-
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).
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.
-
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.
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[^].
-
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[^].
Deleting mspdb80.dll file didn't work. It seems a virus problem. Will a repair install of VS2005 work?
-
Deleting mspdb80.dll file didn't work. It seems a virus problem. Will a repair install of VS2005 work?
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.