vikaskottari
Design Dabbler

Nintex Forms for SharePoint on-prem print to pdf not working

In clients test SharePoint 2016 environement the print to pdf button on the form just keeps loading and says "Converting to PDF...", When i check the ULS log i see below error. I see many unexpected errors to all the glyphicon related font files. Please note that we are using a custom master page which also uses the bootstrap.min.css.

With same configuration and custom masterpage, the print to pdf is working fine on the DEV environment.

 

No image found in sharepoint library 'http://xxsitenamexx/_layouts/15/NintexForms/themes/base/../fonts/glyphicons-halflings-regular.eot' to print to pdf , Actual Exception: Microsoft.SharePoint.SPException: Cannot open file "glyphicons-halflings-regular.eot". ---> System.Runtime.InteropServices.COMException: Cannot open file "glyphicons-halflings-regular.eot".
at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)
at Microsoft.SharePoint.Library.SPRequest.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps) -
-- End of inner exception stack trace ---
at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
at Microsoft.SharePoint.Library.SPRequest.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)
at Microsoft.SharePoint.SPFile.GetFileStream(SPWeb web, String fileUrl, SPFileLevel level, OpenBinaryFlags openOptions, String etagNotMatch, SPFileStreamManager spMgr, SPFileRightsManagementSettings rightsManagementSettings, Boolean throwOnVirusFound, SPVirusCheckStatus& virusCheckStatus, String& virusCheckMessage, String& etagNew, String& contentTagNew, SPFileInfo& fileprops)
at Microsoft.SharePoint.SPFile.GetFileStream(OpenBinaryFlags openOptions, String etagNotMatch, String& etagNew, String& contentTagNew)
at Microsoft.SharePoint.SPFile.OpenBinary(SPOpenBinaryOptions openOptions)
at Nintex.Forms.SharePoint.ApplicationPages.PrintPdf.GetImageBinaryFromSharePointLibraries(String imageUrl)

0 Kudos
Reply