Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
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 ?

1 Solution

Accepted Solutions
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.

View solution in original post

12 Replies
jochem_zw
Partner Ambassador
Partner Ambassador

‌admin account is the same as QV service account?

try to run as the service account and check the permissions.

gainkarthi
Partner - Specialist
Partner - Specialist
Author

Hi Joch,

Service account is part of Admin also.

jochem_zw
Partner Ambassador
Partner Ambassador

‌put logging on in the document properties

reload document in client with the service account

look in the log and you Will find the error

gainkarthi
Partner - Specialist
Partner - Specialist
Author

This is task error. Publisher task it self not getting triggered.

Not specific to the document.

jochem_zw
Partner Ambassador
Partner Ambassador

‌maybe this link can help

Jobs are not working since SR9

gainkarthi
Partner - Specialist
Partner - Specialist
Author

I tried that as well, but no luck

jochem_zw
Partner Ambassador
Partner Ambassador

Did you try to recreate a task?

or try to create a new task to see what happens?

what SR are you on?

gainkarthi
Partner - Specialist
Partner - Specialist
Author

I tried that already. We are in 11.2 SR5

Bill_Britt
Former Employee
Former Employee

Hi,

Being you are not posting all the log, it is hard to tell the flow of the error. How many engines are trying to run?

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.