No ratings

Generate PDF error after upgrade form 4.6.9 to 4.6.11




Symptoms



You receive the following error on the smart forms when trying to generate PDF after upgrade from 4.6.9 to 4.6.11:



The PDF could not be saved.


•Type: System.FormatException

•Message: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

•Source: mscorlib
•Method Base
◦Member Type: Method

◦Name: FromBase64_Decode

◦Module
◾Scope Name: CommonLanguageRuntimeLibrary

◦Declaring Type
◾Full Name: System.Convert

•Stack Trace:
at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)

at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)

at System.Convert.FromBase64String(String s)

at SourceCode.Forms.Controls.Web.SaveAsPDFHandler.FixTheme(String html, String serverTheme)

at SourceCode.Forms.Controls.Web.SaveAsPDFHandler.ProcessRequest(HttpContext context)




Diagnoses



 
This is known issue with coldfix available for K2 4.6.11 (reference ID for this coldfix is TFS 591163)


 


Resolution 


Contact K2 support to obtain coldfix for this issue. This issue is adressed in upcoming K2 4.7 release.


 




Version history
Last update:
‎02-19-2016 06:25 AM
Updated by:
Contributors