Windows under PostgreSQL installation failure workaround: cannot run Getlocales.exe

Source: Internet
Author: User
Tags postgresql

I want to install PostgreSQL today but there is an error during installation

Unknown Error while running C:\Users\jinjin\AppData\Local\Temp\postgresql_installerxxxxxxx\getlocales.exe

Baidu on the Internet to search for a bit only 3 links, Google a bit after trying to solve this method.

The main reason should be VC2010 not installed, but I installed it still still error. And then found that I tried to install the installation version before attempting to use a free-installation of the two-plate, in the run Initdb when the error is missing a msvcr120.dll file, I found a net after the Windows/system32 and SysWOW64, Re-run INITDB time to report memory errors, then consider installing the installation version, and then appear on the above can not run Getlocales.exe problem, according to the online said installed VC2010 also useless (2005 X86 x64 all kinds of unloading load loading or error).

Finally found in fact is msvcr120.dll This file problem, this seems to be a file VC2010, installation of the time as if not to my original random download of the cover, so I deleted the original file and reinstall VC2010, the implementation of PostgreSQL installation program, successfully opened! I wonder if that free-install version is done, too? Just tried a bit initdb, the result of free installation version is also running normal! It's not going to fit the installation version.

Remember to reinstall the best time to C:\Users\jinjin\AppData\Local\Temp\postgresql_installerxxxxxxx these installation failed cache files deleted, do not know whether the deletion will have an impact. (I just removed the C:\Users\jinjin\AppData\Local\Temp\ inside the empty)

Windows under PostgreSQL installation failure workaround: cannot run Getlocales.exe

Related Article

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.