Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
QlikWorld online is next week! REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
shahzad
Contributor
Contributor

Qlik Sense Service Dispatcher -- Installation failed

Hi

I am trying a fresh installation (not upgrade) for the Qlik Sense Enterprise (Version : May-2021)

Please refer the attached log file.

I am getting error in Service dispatcher. 

I have read many solutions and applied, but none of them worked.

Let me tell what is have already done:

  1. Service Account is available in local administrator group.

  2. No antivirus installed.

  3. No security application is installed.

  4. .Net framework already installed.   

5. Microsoft Visual C++ 2015-2019 Redistributable (64 and 32 bit both) already installed.

Please suggest me what else need to be done. I am stuck since 1 week.

Thank You

 

 

1 Solution

Accepted Solutions
Sebastian_Linser

@shahzad 

here is where it fails.

MSI (s) (D8:40) [13:56:58:533]: Executing op: ActionStart(Name=CA_SetupADS,Description=Configuring App Distribution Service,Template=Configuring App Distribution Service)
CAQuietExec:
MSI (s) (D8:40) [13:56:58:534]: Executing op: CustomActionSchedule(Action=CA_SetupADS,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (D8:1C) [13:56:58:538]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI4DE6.tmp, Entrypoint: CAQuietExec
CAQuietExec: AppDistributionService configuration started.
CAQuietExec: WARNING: Skiping the database initialization. No superuser or password specified.
CAQuietExec: Reading the settings file.
CAQuietExec: Add-Type : Cannot add type. Definition of new types is not supported in this language mode.
CAQuietExec: At C:\Program Files\Qlik\Sense\AppDistributionService\install-utils\Security.ps1:2 char:5
CAQuietExec: + Add-Type -AssemblyName System.Security
CAQuietExec: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CAQuietExec: + CategoryInfo : PermissionDenied: (:) , PSNotSupportedException
CAQuietExec: + FullyQualifiedErrorId : CannotDefineNewType,Microsoft.PowerShell.Commands.AddTypeCommand
CAQuietExec:
CAQuietExec: Error 0x80070001: Command line returned an error.
CAQuietExec: Error 0x80070001: QuietExec Failed
CAQuietExec: Error 0x80070001: Failed in ExecCommon method
CustomAction CA_SetupADS returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (D8:40) [13:56:59:702]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (D8:40) [13:56:59:702]: User policy value 'DisableRollback' is 0
MSI (s) (D8:40) [13:56:59:702]: Machine policy value 'DisableRollback' is 0
Action ended 13:56:59: InstallFinalize. Return value 3.
MSI (s) (D8:40) [13:56:59:703]: Note: 1: 2318 2:

 

one of the possibilities might be a powershell restriction, test to run 

$ExecutionContext.SessionState.LanguageMode

and see if it Returns FullLanguage

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_language_mo...

and set this one to unrestricted before the installation as well

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy...

 

best regards

Sebastian

Help users find answers! Don't forget to mark a solution that worked for you! 🙂

View solution in original post

2 Replies
Sebastian_Linser

@shahzad 

here is where it fails.

MSI (s) (D8:40) [13:56:58:533]: Executing op: ActionStart(Name=CA_SetupADS,Description=Configuring App Distribution Service,Template=Configuring App Distribution Service)
CAQuietExec:
MSI (s) (D8:40) [13:56:58:534]: Executing op: CustomActionSchedule(Action=CA_SetupADS,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (D8:1C) [13:56:58:538]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI4DE6.tmp, Entrypoint: CAQuietExec
CAQuietExec: AppDistributionService configuration started.
CAQuietExec: WARNING: Skiping the database initialization. No superuser or password specified.
CAQuietExec: Reading the settings file.
CAQuietExec: Add-Type : Cannot add type. Definition of new types is not supported in this language mode.
CAQuietExec: At C:\Program Files\Qlik\Sense\AppDistributionService\install-utils\Security.ps1:2 char:5
CAQuietExec: + Add-Type -AssemblyName System.Security
CAQuietExec: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CAQuietExec: + CategoryInfo : PermissionDenied: (:) , PSNotSupportedException
CAQuietExec: + FullyQualifiedErrorId : CannotDefineNewType,Microsoft.PowerShell.Commands.AddTypeCommand
CAQuietExec:
CAQuietExec: Error 0x80070001: Command line returned an error.
CAQuietExec: Error 0x80070001: QuietExec Failed
CAQuietExec: Error 0x80070001: Failed in ExecCommon method
CustomAction CA_SetupADS returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (D8:40) [13:56:59:702]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (D8:40) [13:56:59:702]: User policy value 'DisableRollback' is 0
MSI (s) (D8:40) [13:56:59:702]: Machine policy value 'DisableRollback' is 0
Action ended 13:56:59: InstallFinalize. Return value 3.
MSI (s) (D8:40) [13:56:59:703]: Note: 1: 2318 2:

 

one of the possibilities might be a powershell restriction, test to run 

$ExecutionContext.SessionState.LanguageMode

and see if it Returns FullLanguage

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_language_mo...

and set this one to unrestricted before the installation as well

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy...

 

best regards

Sebastian

Help users find answers! Don't forget to mark a solution that worked for you! 🙂
shahzad
Contributor
Contributor
Author

Hi @Sebastian_Linser 

Yes, there was the issue of PowerShell. 

I changed the Language mode from "ConstrainedLanguage" to "FullLanguage" and it worked.

Qlik Sense Installed successfully.

Thank you for your support.😊👍

 

BR

Shahzad