Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

Not applicable

Unexpected error occured during On-Demand request processing. Access violation at address 0040A3EF in module 'NPrintingSvc.exe'. Read of address 00000000

Hi All,

I am getting the following Error while generating On Demand report:

Unexpected error occured during On-Demand request processing.Access violation at address 0040A3EF in module 'NPrintingSvc.exe'. Read of address 00000000

It was working fine before, suddenly OnDemand report stopped working. I am getting the above metioned error. Please suggest me how to troubleshoot this issue.

Thanks in Advance,

Saranya A.

1 Solution

Accepted Solutions
nishaloganathan
Contributor II

Re: Unexpected error occured during On-Demand request processing. Access violation at address 0040A3EF in module 'NPrintingSvc.exe'. Read of address 00000000

Hi Saranya,

Just try this..

Rename the report name and template name. Then try to generate the report from Access point..

Thanks,

Nisha

8 Replies
Not applicable

Re: Unexpected error occured during On-Demand request processing. Access violation at address 0040A3EF in module 'NPrintingSvc.exe'. Read of address 00000000

This is an usual error when your QVW is opened by another process apart qvservices. make sure the particular qvw is closed everywhere and try again.

Hope this helps..

Pls mark this as helpful/correct answer accordingly.

alexpanjhc
Valued Contributor

Re: Unexpected error occured during On-Demand request processing. Access violation at address 0040A3EF in module 'NPrintingSvc.exe'. Read of address 00000000

what version are you on?

Did you try on-demand in the desktop version? Is it successful?

If you do, you know that your settings are OK, then you may need help from the server admin.

If you do not, you need to check the local settings.

Do you have section access if you are under 17.2?

filip_duchateau
Contributor II

Re: Unexpected error occured during On-Demand request processing. Access violation at address 0040A3EF in module 'NPrintingSvc.exe'. Read of address 00000000

Hi,

I found this one on the community.  Hope it helps.

To learn about access violation messages in greater detail please view the following presentation at the link below:

Configuring and Troubleshooting your NPrinting Implementation

Also check below as well:

The error Access Violation can occur if there is a permissions problem or in some cases, a simple reboot of the server will resolve the issue.

This error could indicate that:

1. The server  where the QVW's are stored needs to be rebooted

2. The QVW is protected by section access. If yes, please use section access credentials in the NPrinting source connection when section access is contained in the QVW.

Please, have a look at this article:

https://community.qlik.com/docs/DOC-13553

3. The path to the QVP connection is invalid. Open the QVW using the NPrinting service account to test this. If the QVW cannot be opened, then there is a permissions problem with the NPrinting Server service account

See Troubleshooting the NPrinting server service and service account

https://community.qlik.com/docs/DOC-8447

4. The QlikView document you are connecting to is showing a message or cannot be opened because of a license issue.

You can check this connecting to the QlikView document as the NPrinting user following this process:

i. Open the QlikView installation folder (normally it is C:\Program Files\QlikView)

ii. Click on Shift and right click on the Qv.exe file

iii. Choose "Run as a different user" in the window that opens

iv. Enter the NPrinting user Id and password.

v. Open the QlikView document.

Is QlikView showing any error message? Please, send us a screenshot.

5. The QV Desktop where the QVWs are stored needs needs to be repaired or reinstalled

6. Another process is closing or locking the QVW during the execution of an automated schedule. Check QV server and other potential external tasks and processes that might be locking the QVW.

7. Check that your report template,qvw and nsq are NOT blocked. Right-click separately on each these files.  Choose 'Properties' from the context menu. Select the 'General' tab. In the security section at the bottom, click 'Unblock'.

Not applicable

Re: Unexpected error occured during On-Demand request processing. Access violation at address 0040A3EF in module 'NPrintingSvc.exe'. Read of address 00000000

Thank you for all your reply.

I have tried through QlikView Desktop version instead of Access point. Even this is also throwing same error.

NP OnDemand issue.PNG

From NPrinting Designer I can generate reports through ONDemand it is not working. It was working before perfectly. Suddenly stopped working.

Thanks in Advance,

Saranya A.

filip_duchateau
Contributor II

Re: Unexpected error occured during On-Demand request processing. Access violation at address 0040A3EF in module 'NPrintingSvc.exe'. Read of address 00000000

Can you tell us which version of NPrinting and QlikView (or QlikSense) you are using ?

nishaloganathan
Contributor II

Re: Unexpected error occured during On-Demand request processing. Access violation at address 0040A3EF in module 'NPrintingSvc.exe'. Read of address 00000000

Hi Saranya,

Just try this..

Rename the report name and template name. Then try to generate the report from Access point..

Thanks,

Nisha

Not applicable

Re: Unexpected error occured during On-Demand request processing. Access violation at address 0040A3EF in module 'NPrintingSvc.exe'. Read of address 00000000

Thank you very much nishaloganathan

After cloning the same template with different name is working fine.

vgutkovsky
Honored Contributor II

Re: Unexpected error occured during On-Demand request processing. Access violation at address 0040A3EF in module 'NPrintingSvc.exe'. Read of address 00000000

After much hair pulling, I discovered this error also occurs if you (a) respect Current Selections, and (b) one of your current selections is a date field that has a numeric value but doesn't look like a number. For instance, if you have a month formatted as MMM YYYY such as Aug 2016. If you look at the ODS logs (tested in v16 SR5), you'll see that it tries to pass the parameter as something like this: Selections: [[FieldName: MonthYear, FieldValues: [[Value: 1388380160*2^(-15), IsNumeric: True]

To get around this "undocumented feature" I created a button that conditionally hides/shows my NPrinting report/task buttons. I also created a second calendar field that looks the same as the real MonthYear, but is, in fact, a text string. At the same time as the button shows my NPrinting objects, it passes the real MonthYear selections into the text MonthYear. When the user hides the NPrinting objects, the selection is reversed.

fsv‌ You guys may want to look into fixing this. Cheers.

Vlad

Community Browser