NPrinting 17 connection does not work post upgrade with ERROR: Buffer's size should be strictly greater than zero
Article Number: 000049035 | Last Modified: 2018/09/07
After you upgrade any version of Nprinting 17, the existing connections do not work. Additionally, in NPrinting engine logs you may notice the following errors:Qlik.NPrinting.Engine 126.96.36.199 Qlik.NPrinting.Engine.Consumer.EngineConsumer 20180410T114138.506+00:00 ERROR ServerName 0 0 0 0 0 0 0 0 Error while trying to add a resolver for connection navigator=qliksense;proxyurl=https://server1.domain/com/;appid=xxxxxxxxx;identity=domain\user. ERROR: Buffer's size should be strictly greater than zero.↵↓Parameter name: initialCreationBufferMaxSize Stack trace: at Qlik.NPrinting.Engine.Consumer.RequestBufferManager.GetOrCreateBuffer(Guid engineId, String connectionString, Int32 initialCreationBufferMaxSize) in c:\Jws\workspace\NP-REL-188.8.131.52-BR-01-build\server\NPrinting\src\Engine\Consumer\RequestBufferManager.cs:line 23↵↓ at Qlik.NPrinting.Engine.Consumer.EngineConsumer.AddResolverToConnection(Guid connectionId, String connectionString, Int32 bufferMaxSize, Int32 batchMaxSize, DateTime requestTimestamp) in c:\Jws\workspace\NP-REL-184.108.40.206-BR-01-build\server\NPrinting\src\Engine\Consumer\EngineConsumer.cs:line 469 Environment details:
The issue occurs due to improper upgrade. NPrinting 17 installer contains three executable for the three components Server, Engine and Designer respectively. All the three executable must be run in the order specified to complete the upgrade. Typically, it was found that Engine component wasn't upgraded so there is a version mismatch between Engine and Server where Engine is on a lower version than the server leading to the incompatibility hence the error mentioned in the Description section.
In the Engine logs, you may notice the version number to figure out the version mismatch.
This can also occur if there are two versions of NPrinting Server installed. Check the Add/Remove Programs for any duplicates of NPrinting Server.
Ensure that all the three executable are run/upgraded in the following order for a complete and successful upgrade of NPrinting 17
- NPrinting Server
- NPrinting Engine
- NPrinting Designer