Error C2471 Visual Studio
Languages , Windows Desktop Development > C++ Standards, Extensions, and Interop Question 0 Sign in to vote Hi all, I thought this problem is supposed to be fixed already in VS2008 RTM... I downloaded cannot update program database and installed VS2008 RTM today. After converting my 30-project solution successfully, I built the solution and got many, visual studio error c1083 may C2471 error. I tried every thing: delete all pdb files, set the "maximum number of parallel projects builds" to 1, but still fatal error c1083: cannot open program database file get the C2471 error. My machine got tons of diskspace, and none of the PDB files is bigger than 4MB (limited on pdb file is 64MB, I believed) Is there any "work around" this problem at kb946040 all? To me, this bug is absolutely a "show stop" bug. Why in the world that Microsoft RTM its VS2008 with a bug like this? Would this is a problem that caused Bill Gate to step down/out because he is so ashame of (hehehehehehe) Anyway, please advice: should I uninstall VS2008, dump it into my trash can and wait for the next release?. Thanks Thursday, January 17, 2008 12:06 AM Reply | Quote Answers 0 Sign in to vote Nah! This is a "show stop" bug - at least, to my opinion - for VS-2008. The VS2008 dev team admitted that it is a bug that is "fixed but unfortunately did not get into the RTM on time." Click on this, Jason... https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=309462 Friday, January 18, 2008 10:23 PM Reply | Quote All replies 0 Sign in to vote You can sometimes get that error if your directory structure is too long. Does the build step result in paths that exceed the maximum path length for DOS filenames of 260 characters? Friday, January 18, 2008 8:53 PM Reply | Quote 0 Sign in to vote Nah! This is a "show stop" bug - at least, to my opinion - for VS-2008. The VS2008 dev team admitted that it is a bug that is "fixed but unfortunately did not get into the RTM on time." Click on this, Jason... https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=309462 Friday, January 18, 2008 10:23 PM Reply | Quote 0 Sign in to vote Interesting. Friday, January 18, 2008 10:25 PM Reply | Quote 0 Sign in to vote This is affecting me too and I have no time for this. I am reverting back to 2005. Unfortunately this means
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 https://social.msdn.microsoft.com/Forums/vstudio/en-US/0ceac3c6-62f6-4fdf-82e1-d41e1b4fcd20/vs2008-c2471-cannot-update-program-database?forum=vclanguage each other. Join them; it only takes a minute: Sign up What are C2471,C1083 errors related to a VC2008 project and how to correct them up vote 1 down vote favorite I had a VC2008 project very complicated.Inorder to understand it's inner workings I tried to simplify it and now I am getting 289 errors of the http://stackoverflow.com/questions/4216943/what-are-c2471-c1083-errors-related-to-a-vc2008-project-and-how-to-correct-them following type for most of the files: Error 5 error C2471: cannot update program database 'c:\users\ryan\documents\visual studio 2008\projects\vc\myinfo\cli\debug\vc90.pdb' c:\users\ryan\documents\visual studio 2008\projects\vc\myinfo\cli\mediainfo\file__analyze_buffer_minimizesize.cpp 1 CLI Error 6 fatal error C1083: Cannot open program database file: 'c:\users\ryan\documents\visual studio 2008\projects\vc\myinfo\cli\debug\vc90.pdb': No such file or directory c:\users\ryan\documents\visual studio 2008\projects\vc\myinfo\cli\mediainfo\file__analyze_buffer_minimizesize.cpp 1 CLI My system : win7/VS2008 c++ visual-studio-2008 visual-c++ share|improve this question edited Nov 18 '10 at 16:47 asked Nov 18 '10 at 16:11 rsjethani 78421226 1 Undo whatever changes you made and the errors should go away. Yes, that's obvious, but if you are careful not to make too many changes at once, figuring out what you did to break the project should be pretty easy. –Brian Nov 18 '10 at 16:34 1 Unfortunately you can't 'undo' changes to project files unless you can somehow replace your working copy with one that is not broken, like through a source control. –Crazy Eddie Nov 18 '10 at 16:41 add a comment| 6 Answers 6 active oldest votes up vote 6 down vote Solution 1: Locat
topic ForumsMembersHelp Files Developer Journals Gallery Calendar Downloads Resources Store Classifieds Tracker Links Home For Beginners Articles All Articles http://www.gamedev.net/topic/647017-dealing-with-error-c2471-cannot-update-database-vs90pdb/ Post an Article Technical Game Programming General Programming Graphics Programming and Theory http://vcplusandcsharp.blogspot.com/2010/08/error-c2471-cannot-update-program.html DirectX and XNA OpenGL and Vulkan Multiplayer and Network Programming Artificial Intelligence Math and Physics Mobile Development Middleware, Libraries, and Tools Virtual and Augmented Reality Creative Game Design Music and Sound Visual Arts Business Breaking into the Industry Production and Management Interviews Business and Law Event visual studio Coverage Forums All Forums Technical Game Programming General Programming Graphics Programming and Theory DirectX and XNA OpenGL & Vulkan Multiplayer and Network Programming Artificial Intelligence Math and Physics Mobile & Console Development Build Systems & Source Control Middleware, Libraries, and Tools Virtual and Augmented Reality Creative Game Design Writing For Games Music and Sound Visual Arts Gallery Business Breaking error c2471 visual into the Industry Business & Law Production & Management Community GDNet Lounge Coding Horrors Article Writing Comments, Suggestions and Ideas Your Announcements Hobby Project Classifieds Indie Project Showcase Community Developer Journals GDNet+ Subscriptions Gallery Store Classifieds Jobs Freelancers Hobby Projects Marketplace Newsletter » Home » Forums » The Technical Side » General Programming Chat Watched Content New Content 0 dealing with error C2471 (cannot update database vs90.pdb) Started by Enerjak, Aug 24 2013 06:47 AM C++ Old topic! Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic. You cannot reply to this topic 4 replies to this topic #1 Enerjak Members -Reputation: 277 Like 0Likes Like Posted 24 August 2013 - 06:47 AM Ok, this is making me mad, I have an 18 project solution that I've worked on for months and now I get this lovely message: 1>.\IIOUtility.cpp : error C2471: cannot update program database 'c:\rosario\lucifir\documents\visual
you try to build a solution in Visual C++Symptoms:D8022 : Cannot open 'RSP00000215921192.rsp'PRJ0008 : Could not delete file 'vc90.idb'.C1083 : Cannot open program database file 'vc90.pdb'C2471 : Cannot update program database 'vc90.pdb'LNK1103 : debugging information corrupt.Cause:This problem occurs when all of the following conditions are true: You have a solution with more than one project in it. Two or more of the projects are not dependent on each other. You have parallel builds enabled. (Tools -> Options: Projects and Solutions, Build and Run: "maximum number of parallel project builds" is set to a value greater than 1) You are building on a system with multiple CPUs (cores). Two or more of the non-dependent projects are configured to use the same Intermediate and/or Output directory. A specific race condition in mspdbsrv.exe remains uncorrected.Resolution:To resolve the problem do one or more of the following: Reconfigure the non-dependent projects to specify an Intermediate and Output directory that is different from one another, e.g. Output Directory = "$(SolutionDir)$(ProjectName)\$(ConfigurationName)", Intermediate Directory = "$(OutDir)". Adjust your solution's project dependencies (Project -> Project Dependencies...) so that each is dependent on another. Disable parallel builds. Add the "/onecpu" boot option to your boot.ini file. Change you BIOS settings to enable/use only one CPU. File a problem report with Microsoft Technical Support and keep bugging the crap out of them until they eventually fix mspdbsrv.Status:The problem is a combination of both a user project configuration error as well as a race condition in Microsoft's "mspdbsrv.exe" utility that does not properly more than one thread calling it at the same time for the same file resulting in the file's HANDLE being left open.Additionally Visual Studio itself and/or its build system (VCBUILD and/or MSBUILD) (or all three!) should be made smart enough to detect and alert the user of such user errors so that corrective action can be taken.This problem has been around for a LOOOOOONG time.Applies to:Microsoft Visual C++ 2005Microsoft Visual C++ 2008Others? Posted by Jeyan