Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

Highlighted
ahmar811
Contributor III

NPrinting Scheduler & WebEngine Services Stop after few second

Hi,

Expert

Today I'm facing issue regarding NPrinting Service(Scheduler & WebEngine),When I try to start manually these two service but after few second it automatically stop, please refer below screenshot.

services.png

Windows Logs.png

after checking Windows log I found some error message like below:

1)The below error for QlikNPrintingWebEngine and QlikNPrintingScheduler:

Failed to stop service. System.InvalidOperationException: An unhandled exception was detected ---> NHibernate.StaleStateException: Unexpected row count: 0; expected: 1

  at NHibernate.AdoNet.Expectations.BasicExpectation.VerifyOutcomeNonBatched(Int32 rowCount, IDbCommand statement)

  at NHibernate.Persister.Entity.AbstractEntityPersister.Delete(Object id, Object version, Int32 j, Object obj, SqlCommandInfo sql, ISessionImplementor session, Object[] loadedState)

  at NHibernate.Persister.Entity.AbstractEntityPersister.Delete(Object id, Object version, Object obj, ISessionImplementor session)

  at NHibernate.Action.EntityDeleteAction.Execute()

  at NHibernate.Engine.ActionQueue.Execute(IExecutable executable)

  at NHibernate.Engine.ActionQueue.ExecuteActions(IList list)

  at NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions(IEventSource session)

  at NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEvent event)

  at NHibernate.Impl.SessionImpl.Flush()

  at Qlik.NPrinting.Rep...


I hope now you understand my problem.

Regards

Ahmar

1 Solution

Accepted Solutions
ahmar811
Contributor III

Re: NPrinting Scheduler & WebEngine Services Stop after few second

I resolved my issue by using Reinstall NPrinting same version(June 2018).

3 Replies
Employee
Employee

Re: NPrinting Scheduler & WebEngine Services Stop after few second

Hi,

- what version are you using?

- did you try to restart the server?

- could you post the whole log files?

Best Regards,

Ruggero

---------------------------------------------

When applicable please mark the appropriate replies as CORRECT https://community.qlik.com/docs/DOC-14806. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
ahmar811
Contributor III

Re: NPrinting Scheduler & WebEngine Services Stop after few second

I resolved my issue by using Reinstall NPrinting same version(June 2018).

ahmar811
Contributor III

Re: NPrinting Scheduler & WebEngine Services Stop after few second

Thanks Ruggero.

For your response.