Tools

The program can't start because api-ms-win-crt-stdio-l1-1.0.dll is missing from your computer When Upgrading Webhelpdesk Database to PGSQL13

This article resolves the "The program can't start because api-ms-win-crt-stdio-l1-1.0.dll is missing from your computer" error when upgrading the database to pgsql13

First published date

3/25/2022 2:49 AM

Last published date

3/25/2022 2:49 AM

Overview

When trying to upgrade the database from pgsql9 to pgsql13, you get an error "The program can't start because api-ms-win-crt-stdio-l1-1.0.dll is missing from your computer"

Product section

Web Help Desk

Cause

This error indicates that the C++ redistributable is not installed. KB2999226 (Universal CRT), which is part of the Visual C++ Redistributable, failed to install
 

Resolution

  1. Install Windows Updates:
    1. Right-click the Start icon, then click Settings.
    2. In Windows Settings, click Update & Security.
    3. Check for updates and install all available updates.
    4. After the updates are installed, restart your computer.
  2. After the restart repeat the steps above again until no more updates are available.
  3. Open cmd as admin. Run wmic qfe list find "2999226" and make sure that KB2999226 is installed. If it is not installed, manually install it by going to Update for Universal C Runtime in Windows (microsoft.com)
  4. Download the Visual C++ Redistributable:
    • https://aka.ms/vs/17/release/vc_redist.x64.exe
  5. Upgrade run the upgradedatabase.bat from\webhelpdesk\bin again.
Disclaimer: Scripts are not supported under any SolarWinds support program or service. Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation.