Error Result 31 Returned From
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 event and console kill it. I'd suggest using the SysInternals PSKill utility (free) like this in your post-build: pskill mspdbsrv.exe share|improve this answer answered Mar 21 '10 at 12:21 Nick Craver♦ 432k8410601011 very nice. Thanks :) –Dr Deo Mar 21 '10 at 12:48 1 It was indeed staying alive. Killed it. Then I got fatal error LNK1318: Unexpected PDB error; RPC (23) '(0x000006BA)'. Rebooted. The original problem returned. Argh. –Camille Goudeseune Apr 8 '15 at 5:08 add a comment| up vote 0 down vote I had the same problem. It was solved after VI
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 http://stackoverflow.com/questions/2486963/microsoft-visual-studio-2008-builds-keep-failing Embedding manifest error in visual studio build up vote 0 down vote favorite When building C++ programs with VS2008 I occasionally get the following error message 1>Linking... 1>Embedding manifest... 1>Project : error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'. Restarting the build is almost always successful, so it is a mere nuisance. I am curious as to what is going http://stackoverflow.com/questions/3876701/embedding-manifest-error-in-visual-studio-build on. visual-studio-2008 share|improve this question asked Oct 6 '10 at 20:43 ravenspoint 11.4k33270 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote See the earlier question on this topic here. share|improve this answer answered Oct 6 '10 at 20:55 Steve Townsend 41.9k453109 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged visual-studio-2008 or ask your own question. asked 6 years ago viewed 1114 times active 6 years ago Linked 10 microsoft visual studio 2008 builds keep failing Related 325What does the Visual Studio “Any CPU” target mean?1007Visual Studio - Command to collapse all sections of code?219Difference between Rebuild and Clean + Build in Visual Studio372Go to Matching Brace in Visual Studio?0.NET Build Error After Converting to VS 20082Visual Studio 2008 build fails with no error output0“C
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 by clicking the http://forums.codeguru.com/showthread.php?417954-error-PRJ0002-Error-result-31-returned-from-C-Program-Files-Microsoft-Visual-Stud link above. You may have to register or Login before you can post: click the https://www.reddit.com/r/VisualStudio/comments/3mw0jc/visual_studio_2005_problem_error_prj0002_error/ 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 Switch to Hybrid Mode Switch to Threaded error result 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 frustrating. Does anyone know what is causing this error? Nick error result 31 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 Files\Microsoft Visual Stud Did anybody every figure out the problem with this? I'm having the same problem after starting to buil
»reddit.comVisualStudiocommentsWant to join? Log in or sign up in seconds.|Englishlimit my search to /r/VisualStudiouse the following search parameters to narrow your results:subreddit:subredditfind submissions in "subreddit"author:usernamefind submissions by "username"site:example.comfind submissions from "example.com"url:textsearch for "text" in urlselftext:textsearch for "text" in self post contentsself:yes (or self:no)include (or exclude) self postsnsfw:yes (or nsfw:no)include (or exclude) results marked as NSFWe.g. subreddit:aww site:imgur.com dogsee the search faq for details.advanced search: by author, subreddit...this post was submitted on 29 Sep 20151 point (100% upvoted)shortlink: remember mereset passwordloginSubmit a new linkSubmit a new text postVisualStudiosubscribeunsubscribe828 readers~2 users here nowAnything VS related. Other subreddits: c# .NET XNA C++ C VB Channel 9 - Videos! created by [deleted]a community for 4 yearsmessage the moderatorsMODERATORSwhite_rob_about moderation team »discussions in /r/VisualStudio<>X3 points Cake!... Baking a new Build with C# Make | Coding4Fun Blog1 points · 11 comments Simultaneous editing by two people?0 points · 1 comment Update 3 lasts an hour and then reboot0 points · 1 comment HELP! Cannot Create New Project With Visual Studio3 points SQL Server Developer Edition is now FREE1 points Shorter Solution Load Time in Visual Studio “15”1 points