Qlik Sense fails to export a sheet to PDF and returns a blank page.
When exporting an object as an image, the error:
An error occurred during export. Please try again.
Environment:
Qlik Sense Enterprise on Windows
Resolution:
- Verify if port 4899 is available. Unblock if it is not.
- Check the System_Printing log to see if the following error message can be found:
Failed to connect to an IPC Port: The system cannot find the file specified. Server stack trace: at System.Runtime.Remoting.Channels.Ipc.IpcPort.Connect(String portName,
If so, please continue the following:
- Go to C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\
- Make a backup of machine.config file first
- Open machine.config to see if the following line is included:
<commonBehaviors><endpointBehaviors><Microsoft.VisualStudio.Diagnostics.ServiceModelSink.Behavior/></endpointBehaviors><serviceBehaviors><Microsoft.VisualStudio.Diagnostics.ServiceModelSink.Behavior/></serviceBehaviors></commonBehaviors></system.serviceModel>
- Delete this line and save the file
- Restart QlikSense printing service