VS2008 fatal error C1902: 程序数据库管理器不匹配;请检查安装

由于之前出现VS2008 : error PRJ0002 : 错误的结果 1 ,于是从网上下载了一个mspdb80.dll放进Microsoft Visual Studio 8/VC/bin目录,于是出现了fatal error C1902: 程序数据库管理器不匹配;请检查安装


于是从 VC安装目录下的/Common7/IDE 目录下拷贝这三个文件到 安装目录下的VC/bin下即可

 

Here   are   steps   how   I   got   it   and   solve:

1.   I   like   to   compile   some   sources   from   the   command   prompt,   so   I   added   to   the   PATH   environment   variable   -   "C:/Program   Files/Microsoft   Visual   Studio   8/VC/bin/ ".   After   that   I   had   to   copy   some   files   from   "C:/Program   Files/Microsoft   Visual   Studio   8/Common7/IDE/ "   to   get   cl.exe   working   (one   of   files   was   mspdb80.dll).
2.   Some   time   later   I   tryed   to   compile   a   project   from   MSDev   and   got   C1902   error.
3.   With   MSDN   search   I   got   to   this   place   to   see   Jonathan   Caves 's   helpful   message   about   mspdbsrv.exe.
4.   I   just   copied   that   EXE   to   /VC/bin/   and   everithing   becomes   Ok.
5.   Now   I   can   compile   anything   from   both   MSDev   and   C:/   :).

你可能感兴趣的:(c,数据库,command,Microsoft,search,exe)