Code Fix: After installing 4.7 CU5 FP 40 the Save as PDF method no longer works.

  • 16 February 2021
  • 0 replies
  • 3 views

Userlevel 5
Badge +20
 

Code Fix: After installing 4.7 CU5 FP 40 the Save as PDF method no longer works

KB003140

PRODUCT
K2 blackpearl 4.7
K2 4.7 March 2018 Cumulative Update
K2 4.7 March 2018 Cumulative Update Fix Pack 43
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

 

Issue Description

When executing the Save as PDF method after installing 4.7 CU5 FP 40,  an error occurs.

Error Message

The following error occurs: “Index was out of range. Must be non-negative and less than the size of the collection.

Source:

SourceCode.Forms.Controls.Web

Method Base

Member Type:

Method

Name:

ExecuteSaveAsPDFMethod

Module

Scope Name:

SourceCode.Forms.Controls.Web.dll

Declaring Type

Full Name:

SourceCode.Forms.Controls.Web.SaveAsPDFRequest

Stack Trace:

at SourceCode.Forms.Controls.Web.SaveAsPDFRequest.ExecuteSaveAsPDFMethod(SaveAsPDFRequest request)

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

Resolution

  1. Ensure you have K2 4.7 installed.
  2. Download and Install the K2 4.7 March 2018 Cumulative Update from K2 Partner and Customer Portal.
  3. Download the K2 4.7 March 2018 Cumulative Update FP43 from K2 Partner and Customer Portal.
  4. Install the K2 4.7 March 2018 Cumulative Update FP43 to apply the fix.
  5. It is recommended to refresh the browser cache.

Considerations

The PDF service instance needs to be refreshed.

 


0 replies

Be the first to reply!

Reply