Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!

Qlik Sense Installation InitDB call failed with exit code -1073741515

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Alan_Slaughter
Support
Support

Qlik Sense Installation InitDB call failed with exit code -1073741515

Last Update:

Jun 20, 2024 2:41:02 AM

Updated By:

Sebastian_Linser

Created date:

Jul 20, 2021 8:38:30 AM

The Qlik Sense installation fails at the PostgreSQL installation step. 

 

Environment:

Qlik Sense May 2021 - May 2023 for a 12.5 PostgreSQL Database

Qlik Sense August 2023 and above for a 14.8 PostgreSQL Database

 

 

Error with PostgreSQL 12.5

Calling custom action Qlik.QustomActions64!Qlik.QustomActions64.DatabaseInitializer.InitDB
Action 07:41:29 59 CustomAction InitDB.
Action 07:41:29 60 POSTGRESQL_DIR: C:\Program Files\Qlik\Sense\Repository\PostgreSQL\12.5\bin\
Action 07:41:29 60 OverridePostgreSqlDirForStaticEntries Started
Action 07:41:29 60 SKIPINSTALLPOSTGRESQL96: 1
Action 07:41:29 60 SKIPINSTALLPOSTGRESQL125: 0
Action 07:41:29 61 POSTGRESHOME: C:\Program Files\Qlik\Sense\Repository\PostgreSQL\12.5
Action 07:41:29 61 SKIPINSTALLPOSTGRESQL96: 1 is set, using default PostgreSQL 12.5 logic.
Action 07:41:29 61 OverridePostgreSqlDirForStaticEntries Done
Action 07:41:29 61 POSTGRESQL_SUPERUSER: postgres
Action 07:41:29 61 POSTGRESQL_DB_DIR: C:\ProgramData\Qlik\Sense\Repository\PostgreSQL\12.5
Action 07:41:29 61 postgresDir: C:\Program Files\Qlik\Sense\Repository\PostgreSQL\12.5\bin\, postgresDbDir: C:\ProgramData\Qlik\Sense\Repository\PostgreSQL\12.5.
Action 07:41:29 84 Info: Microsoft Windows
Action 07:41:29 84 Info: (c) 2018 Microsoft Corporation. All rights reserved.
Action 07:41:29 84 Info: C:\Program Files\Qlik\Sense\Repository\PostgreSQL\12.5\bin>initdb.exe -U postgres -E utf8 -D "C:\ProgramData\Qlik\Sense\Repository\PostgreSQL\12.5" --pwfile="C:\ProgramData\Qlik\Sense\Installation\postgresql\ps_qlik.bin" -A md5
Action 07:41:29 84 Info: C:\Program Files\Qlik\Sense\Repository\PostgreSQL\12.5\bin>exit
Action 07:41:29 84 InitDB call failed with exit code -1073741515.
CustomAction CA_InitDB returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (D8:B0) [07:41:29:984]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (D8:B0) [07:41:30:050]: User policy value 'DisableRollback' is 0
MSI (s) (D8:B0) [07:41:30:050]: Machine policy value 'DisableRollback' is 0
Action ended 7:41:29: InstallFinalize. Return value 3.

 

Error with PostgreSQL 14.8

Calling custom action Qlik.QustomActions64!Qlik.QustomActions64.DatabaseInitializer.InitDB
Action 05:42:41 59 CustomAction InitDB.
Action 05:42:41 60 POSTGRESQL_DIR: C:\Program Files\Qlik\Sense\Repository\PostgreSQL\14\bin\
Action 05:42:41 60 OverridePostgreSqlDirForStaticEntries Started
Action 05:42:41 60 The property SKIPINSTALLPOSTGRESQL125 is empty.
Action 05:42:41 60 SKIPINSTALLPOSTGRESQL14: 0
Action 05:42:41 60 POSTGRESHOME: C:\Program Files\Qlik\Sense\Repository\PostgreSQL\14
Action 05:42:41 61 SKIPINSTALLPOSTGRESQL125: is empty, using default PostgreSQL 14 logic.
Action 05:42:41 61 OverridePostgreSqlDirForStaticEntries Done
Action 05:42:41 61 POSTGRESQL_SUPERUSER: postgres
Action 05:42:41 61 POSTGRESQL_DB_DIR: C:\ProgramData\Qlik\Sense\Repository\PostgreSQL\14
Action 05:42:41 61 postgresDir: C:\Program Files\Qlik\Sense\Repository\PostgreSQL\14\bin\, postgresDbDir: C:\ProgramData\Qlik\Sense\Repository\PostgreSQL\14.
Action 05:42:41 76 Info: Microsoft Windows
Action 05:42:41 76 Info: (c) 2018 Microsoft Corporation. All rights reserved.
Action 05:42:41 76 Info: C:\Program Files\Qlik\Sense\Repository\PostgreSQL\14\bin>initdb.exe -U postgres -E utf8 -D "C:\ProgramData\Qlik\Sense\Repository\PostgreSQL\14" --pwfile="C:\ProgramData\Qlik\Sense\Installation\postgresql\ps_qlik.bin" -A md5
Action 05:42:41 76 Info: C:\Program Files\Qlik\Sense\Repository\PostgreSQL\14\bin>exit
Action 05:42:41 76 InitDB call failed with exit code -1073741515.
CustomAction CA_InitDB returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (88:8C) [05:42:41:803]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (88:8C) [05:42:41:803]: User policy value 'DisableRollback' is 0
MSI (s) (88:8C) [05:42:41:803]: Machine policy value 'DisableRollback' is 0
Action ended 05:42:41: InstallFinalize. Return value 3.

Cause:

Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017, 2019 and 2022

 

Resolution:

Install the required Microsoft Visual C++ Redistributable. (VC++ 2015-2022)

For instructions, refer to Qlik Sense February 2021 , May 2021 fails to install if .net Framework 4.8 is not preinstalled 

Labels (1)
Comments
gustavgager
Partner - Creator II
Partner - Creator II

How about letting the installer detect of the correct c++ Redist is installed?
Im getting this error if i run the installer (Feb 2024) on a brand new, fully updated, windows server 2022.

p_verkooijen
Partner - Specialist II
Partner - Specialist II

@gustavgager I've raised a ticket for this issue. They are reviewing my comments and logs

Case 00304147: New Qlik Sense site - included PostgreSQL installation fails

Version history
Last update:
‎2024-06-20 02:41 AM
Updated by: