Fatal Error C1033 Visual Studio
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and fatal error c1033: cannot open program database '' visual studio 2003 policies of this site About Us Learn more about Stack Overflow the fatal error c1074: 'idb' is illegal extension for pdb file company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users cannot open program database qt 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 visual studio /fs a minute: Sign up Compilation fails randomly: “cannot open program database” up vote 31 down vote favorite 9 During a long compilation with Visual Studio 2005 (version 8.0.50727.762), I sometimes get the following error in several files in some project: fatal error C1033: cannot open program database 'v:\temp\apprtctest\win32\release\vc80.pdb' (The file mentioned is either vc80.pdb or vc80.idb in the project's temp dir.) The
Cannot Update Program Database
next build of the same project succeeds. There is no other Visual Studio open that might access the same files. This is a serious problem because it makes nightly compilation impossible. c++ visual-studio visual-studio-2005 compiler-errors nightly-build share|improve this question edited May 23 '11 at 21:02 Mateen Ulhaq 6,75483572 asked Sep 24 '08 at 12:15 Lev 2,77651926 Could also be you have your project in Dropbox\Google Drive or similar product. –Viktor Sehr Sep 8 '15 at 15:42 add a comment| 11 Answers 11 active oldest votes up vote 20 down vote accepted It is possible that an antivirus or a similar program is touching the pdb file on write - an antivirus is the most likely suspect in this scenario. I'm afraid that I can only give you some general pointers, based on my past experience in setting nightly builds in our shop. Some of these may sound trivial, but I'm including them for the sake of completion. First and foremost: make sure you start up with a clean slate. That is, force-delete the output directory of the build before yo
SQL Server 2014 Express resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel 9 Documentation APIs and reference Dev centers Retired content Samples We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second. Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: Visual Studio fatal error C1033: cannot open program database Archived Forums V > Visual C++ Express Edition Question 0 Sign in to vote Whenever i try to compile a http://stackoverflow.com/questions/126751/compilation-fails-randomly-cannot-open-program-database program in VS it gives me this error in the output field. fatal error C1033: cannot open program database Are there any solutions to the problem? If so i have not found any. Any help is appreciated! Saturday, June 20, 2009 2:52 PM Answers 0 Sign in to vote Check your Visual Studio version first. Visual Studio 2005 and 2008 do not list Windows 7 as https://social.msdn.microsoft.com/Forums/en-US/c18f09f2-871e-4810-a803-c889994415c3/visual-studio-fatal-error-c1033-cannot-open-program-database?forum=Vsexpressvc a supported platform, though it may be safe to assume you need to have a version supported on Windows Vista first, that means you need to have VS2005 Sp1 with Vista update or VS2008. Reboot your machine to make sure no other program is using the file. If you still have this problem, run chkdisk. If chkdisk can not solve your problem, you may need to find another hard drive.Please mark the post answered your question as the answer, and mark other helpful posts as helpful. This posting is provided "AS IS" with no warranties, and confers no rights. Visual C++ MVP Marked as answer by Rong-Chun Zhang Friday, June 26, 2009 10:45 AM Saturday, June 20, 2009 5:10 PM All replies 0 Sign in to vote Run FileMon when you build and set the filter to pdb files. Usually it is because the file is opened by someone else, the disk is corrupt or the file path of the PD contains non-ANSII charactors.Please mark the post answered your question as the answer, and mark other helpful posts as helpful. This posting is provided "AS IS" with no warranties, and confers no rights. Visual C++ MVP Saturday, June 2
based>Fixing "fatal error C1033: cannot open program database … vc60.pdb" with make and Visual Studio Fixing "fatal error C1033: cannot open program database … vc60.pdb" with make and Visual Studio By neokrates, written on February 24, 2011 howto Join date: 11-30-99Posts:224 View Counter: 966 views Rate it http://www.thinkplexx.com/learn/howto/build-chain/make-based/fixing-fatal-error-c1033-cannot-open-program-database-vc60-pdb-with-make-and-visual-studio Ad Poll What build management tool does your project or firm use? Maven Maven 2 Maven 3 Ivy Ant Any Make Type Tool GAnt Gradle Rake Raven Buildr View Results Loading ... Feeds: Both vc60.pch and vc60.pdb https://community.arm.com/thread/2587 may become locked by Visual Studio, so that Visual Studio cannot write them any more:) Good thing, it seems that this files will be unlocked soon. Here is the logic implemented in GNU Make which allows fatal error to retry the compilation if that specific type of error happens. Woks for: ✔ GNU make 3.7x ✔ windows XP Should also work for: ✔ most windows and unix versions ✔ older or newer GNU make versions Basically, I can chain commands inside of GNU make. I can execute the second command only if the first has failed or if the first was successful. That gives me an option to do something like: $(COMPILE) fatal error c1033 || $(VALIDATE_ERROR) && $(WAIT_ON_PDB_ERROR) && \ $(COMPILE_AGAIN) ... etc And in GNU make syntax, it will be something like $(MAKE) -f makecommand.mk --no-print-directory all > error.log || $(MAKE) -f grepcommand.mk --no-print-directory all && $(ECHO) pdb/ pch problem, wll wait for 180 sec and retry && $(SLEEP) 180 && \ $(MAKE) -f makecommand.mk --no-print-directory all > error.log || $(MAKE) -f grepcommand.mk --no-print-directory all && $(ECHO) pdb/ pch problem, wll wait for 180 sec and retry && $(SLEEP) 180 && \ $(MAKE) -f makecommand.mk --no-print-directory all > error.log || $(MAKE) -f grepcommand.mk --no-print-directory all && $(ECHO) pdb/ pch problem, wll wait for 180 sec and retry && $(SLEEP) 180 && \ $(MAKE) -f makecommand.mk --no-print-directory all where: >less grepcommand.mk .PHONY all: grep "vc60\.pch\|vc60\.pdb" error.log and >less makecommand.mk .PHONY all: $(CC) /nologo $(INCLUDE_FILES) $(C_FILES) The code is not complete here, but you can easily fill the blanks. I have successfully solved the problem in huge make build chain of our enterprise with this one;) Here is also some info about this error: http://support.microsoft.com/kb/195386 have fun Be Sociable, Share! Tweet Does that help to solve your problem?VN:F [1.8.5_1061]Rating: -2 (from 2 votes) 0 votes 'YES' 2 votes 'NO' TAGS No tags for this post. SOCIAL Be Sociable, Share! Tweet INCOMING SEARCH TERMS fatal error C1033: cannot open program databasefatal error C1033fatal
You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Software Development ToolsAll Places > Software Development Tools > Discussions Please enter a title. You can not post a blank message. Please type your message and try again. 2 Replies Latest reply on 11-Sep-2013 12:03 by Alban Rampon System Canvas, Win 7 Error C1003, Cannot open program Database kennethray 11-Sep-2013 12:03 Note: This was originally posted on 7th June 2011 at http://forums.arm.comI'm getting the following build error when using System Canvas for a ArmCortexr4CT on Windows 7, using VC2008 SP1. 1>ComponentsCADIFactory.cpp1>.\gen_isim_system_Win32-Debug-VC2008_WIN32_2008\ComponentsCADIFactory.cpp : fatal error C1033: cannot open program database ''1>CADI_Ctors.cpp1>.\gen_isim_system_Win32-Debug-VC2008_WIN32_2008\CADI_Ctors.cpp : fatal error C1033: cannot open program database ''1>Comp_3.cpp1>.\gen_isim_system_Win32-Debug-VC2008_WIN32_2008\Comp_3.cpp : fatal error C1033: cannot open program database ''1>Comp_2.cpp1>.\gen_isim_system_Win32-Debug-VC2008_WIN32_2008\Comp_2.cpp : fatal error C1033: cannot open program database ''1>Comp_1.cpp1>.\gen_isim_system_Win32-Debug-VC2008_WIN32_2008\Comp_1.cpp : fatal error C1033: cannot open program database ''I've gone back to the "getting started" tutorial, using the armcortexa8ct, and now that project won't compile either. Searches of forums.arm.com and infocenter.arm.com as well as open google/bing and searches of the documentation that came with System Canvas do not appear to have any reference to this error as far as I was able to tell. Where can I get support for this? Thanks-Ken 159Views Tags: none (add) This content has been marked as final. Show 2 replies Re: System Canvas, Win 7 Error C1003, Cannot open pro