Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
gainkarthi
Partner - Specialist
Partner - Specialist

Tasks are getting failed with the error System.Exception: Access denied. at SolutionGlobal.Logging.QTLog.GetTaskLogFileEntryList(String logPath, Int32 maxRecords) at SolutionGlobal.Logging.QTLog.GetTaskLogFileEntries(String logPath, Int32 maxRecords

Tasks are getting failed with the error

System.Exception: Access denied.    at SolutionGlobal.Logging.QTLog.GetTaskLogFileEntryList(String logPath, Int32 maxRecords)    at SolutionGlobal.Logging.QTLog.GetTaskLogFileEntries(String logPath, Int32 maxRecords

But Admin account does have access to all the folders.

Any Idea ?

12 Replies
gainkarthi
Partner - Specialist
Partner - Specialist
Author

Hi Bill,

There are 15 engines for Distribution.

Regards,

Karthik

Bill_Britt
Former Employee
Former Employee

Hi,

That is what I figure, the error points to the desktop heap needing to be increased?

In Version 11 Release Notes, we say Support can provide the information on how to run more engines than 9.

Version 10 Release Notes


Due to a limitation associated with using Microsoft’s COM objects we recommend that you limit the number of QlikView Engines (QlikView Enterprise Management Console>> Setup>> Distribution Services>> Advanced tab) to a maximum of 9 or the number of processor cores available on the host server, whichever is lower.

Version 11 Release Notes


Due to a limitation associated with using Microsoft’s COM objects we recommend that you limit the number of QlikView Engines (QlikView Management Console>> System>> Setup>> Distribution Services>> Advanced tab) to a maximum of 9 or the number of processor cores available on the host server -1, whichever is lower.


If you have more than 9 processor cores, and wish to run more Engines, contact Support for information regarding a registry change to the Desktop Memory Heap settings on the server.

 

Resolution 

Note: Please backup your registry before you make any changes.

Desktop memory Heap Registry change:

Change the registry setting:


HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows

Change the desktop heap setting in the registry to '1024,20480,2048'

%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows
SharedSection=1024,20480,2048 Windows=On SubSystemType=Windows
ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3
ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off
MaxRequestThreads=16

Default is 1024,3072,512 in x86 or 1024,20480,768 in x64


Read more on:
http://blogs.msdn.com/ntdebugging/archive/2007/07/05/desktop-heap-part-2.aspx

http://blogs.msdn.com/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
gainkarthi
Partner - Specialist
Partner - Specialist
Author

Thanks Bill.

I get some helpful information here. Let me dig deeper and decide on the action.

Thank you.