I'm running in to the dreaded C1902 ("Program database mismatch: please check your installation") error, with a twist... it only happens if I try to compile when logged on via ssh. I checked my environment ('env | sort' and 'diff' the output from both ssh'd and local), and then tried sourcing the 'good' environment in my ssh session, so it isn't that. What would cause this error to only show up on a remote login
If it matters, I'm using password-less login and trying to build on an NFS share, but the compiler is local.
'type -P' on mspdb80.dll, mspdbcore.dll, mspdbsrv.exe returns:
/usr/vc8/common7/ide/mspdb80.dll
/usr/vc8/common7/ide/mspdbsrv.exe
/usr/vc8/common7/ide/mspdbcore.dll

Dreaded C1902 error... but only through ssh?
Francisco73
I also have a copy od mspdb80.dll in VSA\8.0\VsaEnv so it looks like it should be there and I suspect that it isn't causing a problem.
If there is such a thing I would try asking on an Internix/SFU support alias as I suspect that the problem might be more on their side than on the Visual Studio side.
Skyler
Ken Elmy
rahil
Hello
have a look at the thread "MSBuild running from Local Service" in the Visual Studio MSBuild forum.
I think you are experiencing the same issue, the root of the problem is the user account used in the compilation process.
It appears that a fix for such problem already exists but it has not been made public yet by MS in terms of an update or a hot-fix.
andrea
Sree C
Bearcats1375
KishoreK
This is could be the one in question:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=389029&SiteID=1
Thanks, Ayman Shoukry VC++ Teamfxtrader
'Find Files and Folders' came up with the following copies of mspdb80.dll, when searching C: (there are a few on E: which is a second OS installation, but none of these should be path'd )
C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\amd64
C:\Program Files (x86)\Common Files\Microsoft Shared\VSA\8.0\VsaEnv
...should the one in VSA be there
Also, my PATH is (pre-translation):
/usr/vc8/bin:/usr/vc8/common7/ide
/w32dev:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS
/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/MsNfs/
/sua/common/:/sua/usr/lib/
/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8/VC/bin/amd64
/cygdrive/c/Program Files (x86)/Perforce
/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v1.1.4322
/usr/sbin:/sbin:/usr/vc8/bin:/usr/vc8/common7/ide
(/usr/vc8/bin is C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin, /usr/vc8/common7/ide is C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE)