Error Result 31 Mt.exe
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
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 PM Reply | Quote Answers 0 Sign in to vote http://stackoverflow.com/questions/2486963/microsoft-visual-studio-2008-builds-keep-failing 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 in to vote Hi Stanley, Which version of VS2005 are you using? It sounds https://social.msdn.microsoft.com/Forums/vstudio/en-US/8ab65340-2002-49b5-86a2-185269560030/prj0002-error-result-31?forum=vcgeneral 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 my OS, there is no garantee the problem will go away. Stanley, Thursday, September 06, 2007 1:56 PM Reply | Quote 0 Sign in to vote Hi
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 http://forums.codeguru.com/showthread.php?417954-error-PRJ0002-Error-result-31-returned-from-C-Program-Files-Microsoft-Visual-Stud is your first visit, be sure to check out the FAQ by http://www.codeproject.com/Questions/148951/Solved-Embedding-manifest-causes-error-in-VS-mani clicking the link above. You may have to register or Login before you 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 error result returned from 'C:\Program Files\Microsoft Visual Stud Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode 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 error result 31 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 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 Visu
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a Question View Unanswered Questions View All Questions... C# questions Linux questions ASP.NET questions SQL questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ [Solved] Embedding manifest causes error in VS manifest tool Rate this: Please Sign up or sign in to vote. See more: C++ VC9.0 I had build project BaseClasses. And after i add it to other project i get error. What i build library, i get following error: 1>Embedding manifest... 1>Project : error PRJ0002 : Error result -1073741819 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'. My operating syste