简约设计の艺术

讨论软件制造过程中的艺术与工程,软件哲学

原创 VS 2005的问题(fatal error C1902)收藏

 

每当编译C\C++程序的时候就

fatal error C1902: Program database manager mismatch; please check your installation

上网努力的查呀查,Baidu,Google,Yahoo。。。。

最令我郁闷的是在http://www.kbalertz.com/Feedback_920770.aspx查出了个这种解决方法:

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Visual Studio 2005 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

下面是解决方法:

用Google,看了好多网站,最后在http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=10577&SiteID=1

找到了,是一个人的经验,谢谢他!:-)

看看他说的吧:(还好,E文能看懂一点^_^)


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:\ :).

我就是因为自己设置了环境变量才弄成这样的,现在问题终于搞定,呵呵,开心咯!~~~~
 

发表于 @ 2006年12月02日 21:06:00|评论(loading...)

新一篇: PC-Lint与C\C++代码质量 | 旧一篇: 常用软件序列号

用户操作
[即时聊天] [发私信] [加为好友]
丁亮
订阅我的博客
XML聚合  FeedSky
订阅到鲜果
订阅到Google
订阅到抓虾
丁亮的公告




My Gmail & MSN & QQ:

文章分类
收藏
    Code snips
    C++代码示例
    HTML代码示例
    Java Code examples
    CSDN experts
    88250 @ Google(RSS)
    孟岩的专栏
    袁萌的专栏
    E-books
    CSDN下载频道
    e 书时空
    IT e Book
    中华电脑书库
    中国 E 书网
    中国 IT 认证实验室
    中文电子书网
    偶要雷锋 - 分享社区
    我爱 e 书
    网络中国 - E 书
    Linux/Ubuntu
    ChinaUnix
    Compiz Themes
    Compiz-Fusion
    deviantART Search
    GetDeb
    Gnome-Look
    KDE-Look
    LinuxToy
    Linux桌面中文网
    Ubuntu中文官方论坛
    Ubuntu桌面中文网
    My friends
    Eleven@Hand
    Eleven的专栏
    Eric.Gao的空间
    Meteor的专栏
    mmchsusan的主页
    solonote的专栏
    Vanessa的小窝
    ZhiBaoDeng的专栏
    zyofprogrammer的学习历程
    光光的Blog~
    师傅dorainm的Blog
    皮皮的空间
    秋歌的专栏
    金秋风采
    阿明的专栏
    My projects
    BeyondTrack @ Java.net
    BeyondTrack @ Jinfonet
    LivaPlayer
    YOYOPlayer
    Super stars :-)
    Alan Turing
    Bjarne Stroustrup's Homepage
    Don Knuth's Home Page
    Martin Fowler
    Richard Stallman's Home Page
    Uncle Bob (Robert C. Martin)
    Technologies
    Apache Software
    CSDN
    Eclipse.org
    Extreme Programming
    Facelets DevDoc
    hibernate.org
    IBM软件技术
    InfoQ
    JavaEye
    JavaFX Home
    JavaFX Script Reference
    java-source
    JavaWorld@TW
    Java开源大全
    JBoss Seam
    JBoss.org
    LEX & YACC Page
    NetBeans Dream Team
    NetBeans 中文社区
    Open Source Initiative
    OpenEBS
    PHP 官方
    Ruby on Rails
    Ruby中文社区论坛
    SOURCEFORGE.NET
    Springframework.org
    Struts Framework
    Sun中国技术社区
    Testng.org
    UML官方
    水族馆(Aquarium 中文版)
    存档
    Csdn Blog version 3.1a
    Copyright © 丁亮