Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Error when running reload via command line using QVPublisherExecutionService.exe over an SSH connection

Environment:

  • QVPublisherExecutionService version 8.50.6299.5
  • Windows 2008 x64
  • OpenSSH Release openssh-5.2p1

Objective:

To execute a Qlik document reload from the command line using QVPublisherExecutionService.exe via an SSH connection from a Linux server.

Symptoms:

  • Process starts and then 'hangs' with error in the C:\ProgramData\QlikTech\Publisher\ExecutionService\Log file

Error: Failed to create QlikView Engine. Exception=System.UnauthorizedAccessException: Creating an instance of the COM component with CLSID {39434F5B-415E-11D1-934D-0040333C91CC} from the IClassFactory failed due to the following error: 80070005. at QVBWrapper.Document.CreateQVBProcess(Int32 i_ParentLogID):

  • CLSID of error message matches DCOM Application "QlikViewBatch 7.0 Application"
  • The user running the command has permission to the DCOM Application
  • The process completes normally when executed while logged-on locally (i.e. not via an SSH connection)

Question:

Since the user already has full access to the "QlikViewBatch 7.0 Application" DCOM application, what else could throw this error or prevent this process from being executed over an SSH connection?

1 Reply
MichaelRobertshaw
Former Employee
Former Employee

Why not use EDX to request the task remotely? In v8.5 this can be done by accessing a ControlPanel URL. In v9 members of QlikView Adminstrators or QlikView EDX can POST a request to the Publisher component. This is documented in QvS Reference Manual.