Wednesday, January 20, 2010

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

Scenario: Ssh from Linux machine ( ex: build account) to Windows machine ( Ex: Adminisrator account) with the help of cygwin and compile some c/c++ code using Microsoft Visual studio 2005. It ends with the error
fatal error C1902: Program database manager mismatch; please check your installation

This seems to be bug in VS 2005 or may be security enhancement feature. But this problem never use to occur in older VC6 (VS98).

Solution: Since we are using "build" account in Linux machine and connecting with Administrator account to Windows, which resulting in this error. The solution is to use the same account as in Linux machine on Windows too.

Create "build" account on Windows machine and add it to administrator group. Install cygwin with build account itself, run ssh-host-config file, start sshd service (net start sshd).

Make sure "Cygwin sshd" service is started with build account. You can verify it by Right click on "My computer" -> Manage -> Services and Applications -> Services -> Cygwin sshd.
If it is not running with build account (it may be running with "Local SYSTEM" instead), then you need to follow the instructions given in below link to make it run under "build" account.
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r1/index.jsp?topic=/com.ibm.websphere.ops.doc/info/odoe_task/tcimgr_sshwin.html


It resolved this problem for us.

You can also find the detailed explanation from my buddy's blog http://vijayk.blogspot.com/2010/01/fatal-error-c1902-program-database.html

5 comments:

Anonymous said...

Nommicycorp
[url=http://healthplusrx.com/aloe-vera-juice-benefits]aloe vera juice benefits[/url]
Hoorierog

Anonymous said...

So what can this all mean?

Have a look at my web blog ... the flex belt Reviews

Anonymous said...

І hаve beеn bгowsіng online more than 2 houгs todaу, yet I never found any
іnteresting article like yours. It іs prettу worth enough for me.
In my οpinion, if аll sitе оωnеrs anԁ
bloggеrs made good content as you dіd, the net ωill be
a lot more uѕeful thаn еver before.


Alѕo visit my blοg рοst ::
CarbonPoker Bonus

Anonymous said...

Coοl blog! ӏs your thеme custom made or did you ԁоωnloaԁ it fгom someωhere?
A theme likе yоuгs with а few sіmple twеeks would геаlly mаke my blog jump out.

Please let mе know where уou got your desіgn.
Kuԁoѕ

Feel fгeе tο visit my ωeb page - WebЅite -
-

Anonymous said...

Simply want to say your article is as amazing. The clearness in youг post is ϳust nice and i can
assume yοu are an exρeгt on this subject.
Wеll with your permission lеt me to grab your feed to
κeep updated ωіth forthcoming post.
Thankѕ a milliοn and plеase caгry оn
the enjoyable work.

my ωebsite - Americas Cardroom Poκer Ρromotіons **