开发者

microsoft visual studio 2008 builds keep failing

My builds keep failing with the following error

Project :开发者_如何学JAVA error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'.  

I find that i have to kill some process called mspdbsrv.exe description:"microsoft program database" Then rebuild the entire project. This is annoying. Is there a permanent solution to this problem or is it stuck with me for good?

PS OS: windows 7 ultimate

msv studio 2008 + sp1 professional


The problem is that for some reason, your mspdbsrv.exe is staying alive after the build. This is what's used to generate your .pdb files as part of the build. The only reliable solution seems to be to kill that process.

What you can do is at least automate that, just add a post-build event and console kill it. I'd suggest using the SysInternals PSKill utility (free) like this in your post-build:

pskill mspdbsrv.exe


This issue came into effect on our Windows10 build slave over the holiday. It worked Thu and failed Fri without any code changes or anyone even in the office either day. We assume that there was an automated microsoft update that caused the issue.

Disabling Windows Defender solved the problem for us.


Microsoft Security Essentials appears to have caused my problem. I added mt.exe to the Excluded processes, and the problem stopped occurring.


I had the same problem. It was solved after VIPRE Anti virus disabling.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜