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 message in Publisher "Failed to create QlikView Engine"

Hello,

since we have migrated our server to QV10 SR2 (from QV9 sr2), we have some error in Publisher to reload or distribute. We get this error message in the application event viewer :

Failed to create QlikView Engine.. Exception=System.ComponentModel.Win32Exception: Insufficient quota to complete the requested service

at System.Diagnostics.NtProcessManager.GetProcessIds()

at System.Diagnostics.ProcessManager.GetProcessIds(String machineName)

at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)

at QVBWrapper.Document.CreateQVBProcess(ILogBucket i_LogBucket)

The applications haven't changed, the only change we have done is the upgrade of Qv server version.

Did someone get this issue ?

Any idea ?

Thanks

Gilles

23 Replies
Not applicable
Author

Hi Gilles,


Any answer from Qliktech? Can you please mention the changes you have made. we are having same problem as our tasks are not chained but used multitasking before in QV9. Now after updating to QV 10 the tasks are randomly not running.

Thanks

Sravan

StefanBackstrand
Partner - Specialist
Partner - Specialist

Symptoms? Error messages? Task setup?

Not applicable
Author

Hi stefan,

Here the logs:

The task "Reload ofD:\Refresco\1_DataSources\ServiceLevel\DE_NL\NL\DM_ServiceLevel_100_NL.qvw"failed. Part of the log file follows:

30.11.2011 09:20:40     Error Failed to create QlikView Engine..Exception=System.Runtime.InteropServices.COMException (0x80080005): Retrievingthe COM class factory for component with CLSID{7D26D6D1-415E-11D1-934D-0040333C91CC} failed due to the following error:80080005.

   atQVBWrapper.Document.CreateQVBProcess(ILogBucket i_LogBucket)

30.11.2011 09:20:54     Error The document failed to open.

30.11.2011 09:20:55     Error Document could not be opened

30.11.2011 09:20:55     Error Reload failed because the document could not beopened successfully. DocumentState=CouldNotOpenDocument

30.11.2011 09:20:55     Error Reload failed. Distribution skipped.

30.11.2011 09:20:55     Error The task "Reload ofD:\Refresco\1_DataSources\ServiceLevel\DE_NL\NL\DM_ServiceLevel_100_NL.qvw"failed. ErrorCount=5

Thanks

sravan

Not applicable
Author

The task "D:\Refresco\1_DataSources\SAPAPO\DE\QVDs\SAP BI Metadata Repository.qvw" failed. Part of the log filefollows:

30.11.2011 06:00:33     Error Failed to create QlikView Engine..Exception=System.Runtime.InteropServices.COMException (0x80080005): Retrievingthe COM class factory for component with CLSID{7D26D6D1-415E-11D1-934D-0040333C91CC} failed due to the following error:80080005.

   atQVBWrapper.Document.CreateQVBProcess(ILogBucket i_LogBucket)

30.11.2011 06:01:07     Error Failed to create QlikView Engine..Exception=System.Runtime.InteropServices.COMException (0x80080005): Retrievingthe COM class factory for component with CLSID{7D26D6D1-415E-11D1-934D-0040333C91CC} failed due to the following error:80080005.

   atQVBWrapper.Document.CreateQVBProcess(ILogBucket i_LogBucket)

30.11.2011 06:01:42     Error Failed to create QlikView Engine..Exception=System.Runtime.InteropServices.COMException (0x80080005): Retrievingthe COM class factory for component with CLSID{7D26D6D1-415E-11D1-934D-0040333C91CC} failed due to the following error:80080005.

   atQVBWrapper.Document.CreateQVBProcess(ILogBucket i_LogBucket)

30.11.2011 06:02:16     Error Failed to create QlikView Engine..Exception=System.Runtime.InteropServices.COMException (0x80080005): Retrievingthe COM class factory for component with CLSID{7D26D6D1-415E-11D1-934D-0040333C91CC} failed due to the following error:80080005.

   atQVBWrapper.Document.CreateQVBProcess(ILogBucket i_LogBucket)

30.11.2011 06:02:51     Error Failed to create QlikView Engine..Exception=System.Runtime.InteropServices.COMException (0x80080005): Retrievingthe COM class factory for component with CLSID{7D26D6D1-415E-11D1-934D-0040333C91CC} failed due to the following error:80080005.

   atQVBWrapper.Document.CreateQVBProcess(ILogBucket i_LogBucket)

30.11.2011 06:03:26     Error Failed to create QlikView Engine..Exception=System.Runtime.InteropServices.COMException (0x80080005): Retrievingthe COM class factory for component with CLSID{7D26D6D1-415E-11D1-934D-0040333C91CC} failed due to the following error:80080005.

   atQVBWrapper.Document.CreateQVBProcess(ILogBucket i_LogBucket)

30.11.2011 06:03:29     Warning     Failed to allocate new QlikView Engine.Retrying (1)! Current usagecount=3 of 4

30.11.2011 06:04:01     Error Failed to create QlikView Engine..Exception=System.Runtime.InteropServices.COMException (0x80080005): Retrievingthe COM class factory for component with CLSID{7D26D6D1-415E-11D1-934D-0040333C91CC} failed due to the following error:80080005.

   atQVBWrapper.Document.CreateQVBProcess(ILogBucket i_LogBucket)

30.11.2011 06:04:06     Error The document failed to open.

30.11.2011 06:04:07     Error Document could not be opened

30.11.2011 06:04:07     Error Reload failed because the document could not beopened successfully. DocumentState=CouldNotOpenDocument

30.11.2011 06:04:07     Error Reload failed. Distribution skipped.

30.11.2011 06:04:07     Error The task "D:\Refresco\1_DataSources\SAPAPO\DE\QVDs\SAP BI Metadata Repository.qvw" failed. ErrorCount=11

StefanBackstrand
Partner - Specialist
Partner - Specialist

That error seems consistent with Desktop heap issues in Windows. Try and increase the Desktop Heap Size. Read more here: http://support.microsoft.com/kb/870655

Stefan Bäckstrand

Senior Technical Expert, PM

Email: Support@qlik.com<mailto:Support@qlik.com>

qlik.com<http://www.qlik.com/>

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

Not applicable
Author

Hi stefan,

Thankyou verymuch. I have informed our IT team. They have made the changes you said in your link.

I can tell only tomorrow morning whether it works, when all the tasks run according to our Jobs.

Thanks
sravan

Not applicable
Author

Hi stefan,

It still gave the same problem like yesterday even after making the changes you gave in the windows link.

The task "Reload ofD:\Refresco\1_DataSources\ServiceLevel\DE_NL\NL\DM_ServiceLevel_100_NL.qvw"failed. Part of the log file follows:

01.12.2011 06:17:25     Error Failed to create QlikView Engine..Exception=System.Runtime.InteropServices.COMException (0x80080005): Retrievingthe COM class factory for component with CLSID{7D26D6D1-415E-11D1-934D-0040333C91CC} failed due to the following error:80080005.

   atQVBWrapper.Document.CreateQVBProcess(ILogBucket i_LogBucket)

01.12.2011 06:17:39     Error The document failed to open.

01.12.2011 06:17:39     Error Document could not be opened

01.12.2011 06:17:39     Error Reload failed because the document could not beopened successfully. DocumentState=CouldNotOpenDocument

01.12.2011 06:17:39     Error Reload failed. Distribution skipped.

01.12.2011 06:17:39     Error The task "Reload of D:\Refresco\1_DataSources\ServiceLevel\DE_NL\NL\DM_ServiceLevel_100_NL.qvw"failed. ErrorCount=5

Regards

Sravan

Not applicable
Author

A Restart of the server was necessary after doing the changes in the Heapsize of the windowsside.

Old HeapValue: SharedSection=1024,20480,768 NewValue:SharedSection=1024,768,512

That solved the problem.

Thanks once again stefan

Regards

Sravan

StefanBackstrand
Partner - Specialist
Partner - Specialist

Allright, good news.

Stefan Bäckstrand

Senior Technical Expert, PM

Email: Support@qlik.com<mailto:Support@qlik.com>

qlik.com<http://www.qlik.com/>

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

mmichalke
Partner - Contributor III
Partner - Contributor III

Dear Stefan and Sravan,

at the moment i'm facing the same issue at a customer system. I got so far that the solution proposed by stefan was the following:

'That error seems consistent with Desktop heap issues in Windows. Try and increase the Desktop Heap Size. Read more here: http://support.microsoft.com/kb/870655'

Can anyone of you tell me how to determine the target value for HeapValue: SharedSection ?

Would be great to hear from you soon !!

Thanks,

Moritz