Error Result 31 Returned From Mt
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up microsoft visual studio 2008 builds keep failing up vote 10 down vote favorite 2 My builds keep failing with the following error Project : 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 c++ visual-studio-2008 share|improve this question edited Mar 21 '10 at 13:23 Hans Passant 654k819601604 asked Mar 21 '10 at 12:00 Dr Deo 2,49932646 I encounter the same problem, except that I do not need to do a complete rebuild, just the link. So, for me it is not worthwhile to arrange to kill the process every time. –ravenspoint Oct 6 '10 at 21:00 1 I have tried to kill the process mspdbsrv.exe and then build or rebuild - but I still receive the same error. Any idea what can be done? –inbaly Sep 14 '14 at 7:17 add a comment| 2 Answers 2 active oldest votes up vote 12 down vote accepted 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
Development > Visual C++ Question 1 Sign in to vote Hi, I'm getting the following error message when I build my release version of the application "Project : error PRJ0002 : Error result 31 returned from 'c:\Program Files\Microsoft Visual Studio 8\VC\bin\mt.exe" It never happenes when I build for debug version. Once on a blue moon, the build may be successul. I have uninstall and reinstall the VS 2005 and it does not help. My system is XP with service pack 2. Thank you, Stanley Friday, August 31, 2007 5:34 http://stackoverflow.com/questions/2486963/microsoft-visual-studio-2008-builds-keep-failing PM Reply | Quote Answers 0 Sign in to vote Hi Stanley, Which version of VS2005 are you using? It sounds like a bug in VS2005 beta 2 version, if you are using this version, try upgrade to final release version, for more information, see: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=101838 hope it helps rico Thursday, September 06, 2007 12:58 PM Reply | Quote Moderator All replies 0 Sign https://social.msdn.microsoft.com/Forums/vstudio/en-US/8ab65340-2002-49b5-86a2-185269560030/prj0002-error-result-31?forum=vcgeneral in to vote Hi Stanley, Which version of VS2005 are you using? It sounds like a bug in VS2005 beta 2 version, if you are using this version, try upgrade to final release version, for more information, see: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=101838 hope it helps rico Thursday, September 06, 2007 12:58 PM Reply | Quote Moderator 0 Sign in to vote I have VS2005 professional edition version 8.0.50727.42 (RTM.050727-4200). I read the above link, kill the "mspdbsrv.exe" process and rebuilt the release version - still getting the same problem. Ingestivation notes, 1. I have another XP machine and installed the same VS version (plus all other applications found on the trouble machine). Check-out the same project from version control and it builds fine. tested many-many times, no problem. 2. I have replace the "mt.exe" file from the windows SDK installation - same problem. (window SDK is installed on other machine, I just copy the "mt.exe" to the trouble machine) 3. Import the VS's registery key from the GOOD machine - still same problem. Once in a "Blue Moon", if i'm luck I can get the build successful. - I really do not want to re-install
Forum Visual C++ & C++ Programming Managed C++ and C++/CLI error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Stud If this is your first visit, be sure to check out the FAQ http://forums.codeguru.com/showthread.php?417954-error-PRJ0002-Error-result-31-returned-from-C-Program-Files-Microsoft-Visual-Stud by clicking the link above. You may have to register or Login before you https://www.finalbuilder.com/support/forums?aft=10037 can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 7 of 7 Thread: error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Stud Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode error result Switch to Hybrid Mode Switch to Threaded Mode March 16th, 2007,04:57 PM #1 nlayshot View Profile View Forum Posts Junior Member Join Date Feb 2007 Posts 9 error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Stud I keep getting the following error while compiling: error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\mt.exe'. If I rebuild the project several times it will eventually go away. I it really error result 31 frustrating. Does anyone know what is causing this error? Nick Reply With Quote April 1st, 2007,05:07 AM #2 Sahir View Profile View Forum Posts Visit Homepage Senior Member Join Date Aug 2002 Location Dubai Posts 1,183 Re: error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Stud It could be a corrupted installation. Reinstalling VS 2005 should fix the problem. Also do download and install SP1. Reply With Quote August 19th, 2007,06:42 AM #3 yuvals View Profile View Forum Posts Junior Member Join Date Aug 2007 Posts 1 Re: error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Stud I've encountered the same problem. Installing SP1 didn't solve the problem. Any other solutions? Is it a known issue? Reply With Quote August 29th, 2007,03:46 PM #4 stan01 View Profile View Forum Posts Junior Member Join Date Aug 2007 Posts 1 Re: error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Stud I'm having this problem also, having problem building release version it is ok for the debug version. It seem this problem have something to do with the manfest. anyone find the solution? Reply With Quote September 19th, 2007,05:28 PM #5 jhuckins View Profile View Forum Posts Junior Member Join Date Sep 2007 Posts 1 Re: error PRJ0002 : Error result 31 returned from 'C:\Program Fil
Automise FinalBuilder Server Other Community Downloads Open Source Store Forums Blogs Support Support Forums Contact Us Resources Blog Articles Community Downloads About Us Company About Us Contact Us Partners Customers Partners Resellers Follow Like Read Register | Login Products Products Home FinalBuilder FinalBuilder Home Features Pricing Downloads Screenshots Demos Continua CI Continua CI Home Features Pricing Downloads Downloads Automise Automise Home Features Pricing Downloads Screenshots FinalBuilder Server Store Downloads Downloads Home Download FinalBuilder Download Automise Download FinalBuilder Server Community Downloads Open Source Support Community Home Forums Contact Us Blog Articles Community Downloads About Us About Us Contact Us Customers Partners Resellers Register | Login Support Forums Contact Us Blog Articles Community Downloads Support»Forums»FinalBuilder»General Discussion»ERROR PRJ0002 when building Forums Search ForumSearchAdvanced SearchTopicsPosts Unanswered Active Topics Forums > FinalBuilder > General Discussion ERROR PRJ0002 when building Last Post 11 Aug 2010 01:56 AM by Pencil. 2 Replies. Sort: Oldest First Most Recent First Prev Next You are not authorized to post a reply. Author Messages Pencil Posts:3 04 Aug 2010 07:04 PM I getting this error when I try to build a solution in FinalBuilder 6. If I try to build directly in Visual Studio, it builds OK “ERROR PRJ0002 : Error result 31 returned from C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe” Anyone who have an idea of what might cause this? Stephen Ryan Posts:262 04 Aug 2010 08:55 PM Hi Pencil Looks like this is a known issue with mt.exe to do with locked files. If you have anti-virus running on the build machine it would be worth disabaling it and running the project again to see if this resolves the problem. Otherwise I would check the compiler build log to see if anything looks out of place (BuildLog.htm is located under ProjectPath\Debug folder). If you are still having problems send an email to support [at] finalbuilder.com with all the relevant info (OS, VS version, Project details, etc). Regards, Steve Pencil Posts:3 11 Aug 2010 01:56 AM Thanks very much. You are not authorized to post a reply. General Information --Announcements --Forum Issues --Community & Resources --Community Downloads FinalBuilder --General Discussion --Wish List --Knowledge Base Continua CI --General Discussion --Installat