Error C2471: Could not update program database

Source: Internet
Author: User

This is a time to use VS to do a project. In the use of the process, today encountered a problem, that is, the topic said:

Error C2471: The program database could not be updated. After a search on the Internet, two solutions were obtained, and the two schemes were as follows:(i)Error C2471: Could not update program database "C:\Documents and Settings\.......\debug\vc90.pdb"

Fatal error C1083: Could not open program database file: "C:\Documents and Settings\........\debug\vc90.pdb": No such file or directory ....

Workaround:

Modify the settings to resolve the C2471:
c\c++ | General | Debug Information Format | C7 Compatible (/z7)
c\c++ | Code Generation | Enable String Pooling | Yes (/GF)
Linker | General Debug Info | Yes (/debug)

or delete the. pdb file under the Debug folder, F5.

Original address: http://hi.baidu.com/andywangcn/blog/item/9e46b2302cc45112eac4af40.html

Two

The solution is simple: in the menu's option "Build", select: Rebuild the solution!

Original address: http://lannywyp.blog.163.com/blog/static/42503281200910394837738/

In the above two scenarios, the first I did not experiment successfully, so-called to delete the. pdb file, this should not apply to all, because in the Debug folder there is no such file, and the second method is simple and easy, as long as the regeneration of a bit, so it is recommended to use the second method. If the second method is not successful, you can try the first method.

Error C2471: Could not update program database

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.