While installing PostgreSQL on windows getting an popup "Microsoft Visual C++ 2013 Redistributable (x64)-12.0.40660 has stopped working" - postgresql

I am trying to install the PostgresSQL on windows7 (64-bit). I have referred the installation steps, downloaded the postgresql-9.4.12-1-windows-x64.exe file.
But when I am running this file, an popup occurs and installation gets interrupted.
getting this pop up
Then I tried to install the postgresql-9.6.3-3-windows-x64.exe also but facing same error.
After searching for the solution and then I tried several ways like
"Run as administrator",
modified the file name to "postgresql-9.4.12-1-windows-x64.exe --install_runtimes 0",
installed the other visual c++ packages from microsoft support.
But still facing the same error popup.
Could someone help me to understand why I am getting this and suggest any solution for this.

You get this message because you are on an unsupported state (Windows 7 RTM without Sp1 and any update with the version 6.1.7600.16385).
To be able to install new Visual C++ Runtimes, you need to install the Windows 7 Sp1, next the April Servicing Stack update and June 2016 Rollup, reboot, run Windows Update, scan for new updates and install all offered updated.
Reboot and now install postgresql-9.4.12-1-windows-x64.exe.

Related

Entity Framework error on a MacBook Pro M1 running Windows 11 via Parallels

I have a 2021 MacBook Pro M1 that is running Windows 11 via Parallels.
I'm working on a Windows Forms project (Visual Studio 2022) that is using EntityFramework. When I create a new EntityFramework model the next error occurs:
Error after creating new EF model
After trying to compile the app, the next erros occur:
Errors while running
I have a Windows laptop and I did the exact same installation process of VisualStudio 2022 and when creating a new EntityFramework model, everything works "out of the box".
If anyone has any ideas to what is causing the problem I would appreciate the answer very much.
Thanks.
I tried fresh install of Windows 11 on Parallels.
I tried fresh install of Visual Studio (multiple times).
I tried installing EntityFramework package via NuGet Package Manager.
And nothing worked. Always the same errors.
Running into the same issue. Seems that MS is not supporting the port yet for EDMX and also the Data & Storage Workloads for ARM yet.

Why can't I install MySQL Workbench

I've downloaded the MySQL installer and tried to run it. On the Check Requirements, MySQL Workbench 8.0.20 is listed. I clicked and got this message in the requirement:
Microsoft Visual C++ 2019 Redistributable Package (x64) is not installed. Latest binary compatible version will be installed if agreed to resolve this requirement.
I click Next and I get:
One or more product requirements have not been satisfied.
I click Yes, and MySQl Workbench is not listed. How do I install?
The intuitive thing is to go to https://dev.mysql.com/downloads/workbench/ and select the
Windows (x86, 64-bit), MSI download.
However this failed for me with VS C++ 2019 Redistributable required even after installing the latest version (2015-2019).
So I clicked on
Go to Download Page button which took me to:
https://dev.mysql.com/downloads/windows/installer/8.0.html
and selected the 2nd, larger download (the 435MB file at this writing)
Although this is labeled (x86/32-bit), don't be fooled. It includes both versions and will install the 64 bit version on a 64-bit machine.
The following link will download the current installer as of 6/23/2021:
https://dev.mysql.com/get/Downloads/MySQLInstaller/mysql-installer-community-8.0.25.0.msi
If you are installing significantly later than 6/23/2021, I suggest you start at
https://dev.mysql.com/downloads/workbench/
to get the latest version.
Update 2023: The installer has a button to "download prerequisites" that opens https://dev.mysql.com/downloads/workbench/
From there get the MySQL Installer and hit next to go to step 2. There, you can select only the "ODBC Connector" that will also include the redistributable. It is far smaller than the whole MySQL db install (e.g. 20Mb).
I had the same problem when trying to install the 35mb 64bit version. Kept coming back with requiring Visual C++ 2019...
Poking around found that if I went back to the install page and looked around the 32bit version of MySQL, there are two other installs. I chose to install the 405mb MySql Workbench 8 32bit and was able to install successfully. Albeit, mine was an upgrade from 6 to 8.0.20.
Uninstall the previous MYSQL and download the (Windows (x86, 64-bit), ZIP Archive
Debug Binaries & Test Suite) 499Mb version, when the error prompts on the screen simply hit No and execute. If the error persists, you might want to to download Microsoft Visual C++ 2015-2019 Redistribution manually and then continue the installation again.
Install Microsoft visual C++ X86 or X64 from this link ( https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 ).
For those seeing this later, I had the same issue with a fresh install of Win11, new PC, and trying to get 8.0.3.1 WB, and got the same dependency error on VC++ 2019. I followed all the same guidance above, and on other threads but it didn't work. The WB installer didn't recognize the VC++ redist pack as being installed.
I went to my old PC, found the old version of VC++ redist, and installed it....voila, WB would install. I used VC++ 14.30.30708, and it worked fine. As of this writing the current version of VC++ redist from the links above, was 14.34.31931
Hope it helps someone.

SSMS 17.9.1 crashes on "connect"

I installed SSMS 17.9.1.
When I start SSMS it crashes when I try to connect to the database server.
See this 5 second video
https://vimeo.com/302442420/2ed86b92d8
My only action is to click on the "connect" button.
Then the object explorer appears quickly followed by SSMS shutdown.
How can I get SSMS to work properly ?
I asked the same question on the Microsoft Developer Network.
This is the solution that worked:
Uninstall SSMS
Uninstall Visual Studio 2015 IsoShell
Uninstall Microsoft Visual C++ 2015(or 2017 if you are using it) Redistributable. Uninstall both x86 and x64 if they're on your computer.
Reinstall Visual Studio 2015 IsoShell
Reinstall SSMS
Reinstall Microsoft Visual C++ Redistributable
It took a long time!
See this thread.

api-ms-win-crt-runtime-l1-1-0.dll is missing when opening Microsoft Office file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I am facing this .dll library missing error:
This programme can't start because api-ms-win-crt-runtime-l1-1-0.dll
is missing. Try to reinstall this.
When I try to open an Microsoft Office file.
How do I solve that?
The default solution is to install KB2999226 of Microsoft.
While the answer from alireza is correct, it has one gotcha:
You can't install Microsoft Visual C++ 2015 redist (runtime) unless you have Windows Update KB2999226 installed (at least on Windows 7 64-bit SP1).
Recursively update Windows 7 until it shows no more updates, using Windows Update check option in Windows 7.
Then download and install Visual C++ Redistributable vc_redist.x64.exe from the Windows website.
Then try to run Apache server.
This error is usually caused by the missing Visual C++ Redistributable file, which is a required dependency for most of the application on Windows Computer.
Download Visual C++ Redistributable from here and install it. After installing this, Reboot the system.
Link: Visual C++ Redistributable
Delete all temp files
search %TEMP%
delete all
Perform a clean boot.
see How to perform a clean boot in Windows
Install vc_redist.x64
see Download Visual C++ Redistributable for Visual Studio 2015
Restart without clean boot
In case nothing of the previous answers worked, add one of these paths to your PATH environment variable:
C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x64
C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86
Of course, make sure they exist first and that they contain the DLL files needed.
If they don't exist, try installing "Windows Universal CRT SDK" from the Visual Studio 2015 or Visual Studio 2017 installer.
if anybody unable to update windows online, I suggest you go to http://download.wsusoffline.net/ and download Most recent version.
Then install update generator -> select your operating system. and hit START, just wait few minutes let him download updates and complete all it's process. hope this help.
This is old post and I am sorry but even installing of KB2999226 will not help if you don't have April 2014 update rollup for Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2 (2919355) update package.
Without it the installation of KB2999226 returns error "The update is not applicable to your computer". Typically you will get this problem if you have some offline envinroment for example dev virtual machines without access to the WSUS or Windows Update services and old ISO images of Windows 8.1, Server 2012 R2.

Unable to install Visual Web Developer 2008 Express Edition

I got a problem to install the visual web developer 2008 express edition. When I starting to install this application it start installing with visual c++ runtime prerequisites it process a minute or two after that it shows an error The folowing component could not be downloaded visual c++ runtime prerequisites I read an article regarding this at http://forums.asp.net/t/1487605.aspx
It says completely remove vwd 2005 before installing vwd 2008. I did it but it display same error I have net connection also. Where I am wrong to install the application. Please suggest to overcome this problem. Thanks
I would try installing it through Web Platform Installer. If 2008 isn't available anymore, just install 2010, which is fully backward compatible to .Net 3.5