Code Fix: File Attachment Control intermittently causes the SmartForms Application Pool to stop

  • 16 February 2021
  • 0 replies
  • 12 views

Badge +5
 

Code Fix: File Attachment Control intermittently causes the SmartForms Application Pool to stop

KB001826

PRODUCT
K2 smartforms 4.7
BASED ON
K2 smartforms 4.7
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
After upgrading from K2 4.6.11 to K2 4.7, the K2 Designer File Attachment Control intermittently causes the SmartForms Application Pool to stop. This happens when selecting a file and clicking OK in the file browse box.

 

Error Message
An unhandled Microsoft .NET Framework exception occurred in w3wp.exe [83836]

Image

APICommunicationException was unhandled --> An unhandled exception of type 'SourceCode.Hosting.Exceptions.APICommunicationException' occurred in SourceCode.Forms.dll. Additional Information: Not Connected

Image

 

 

 

 

Repro Steps

  1. Set ConnectionPooling to false in web.config for both Designer and Runtime.
  2. Add an attachment control onto a view.
  3. Save and publish the view.
  4. Run the view and load a file with the attachment control, refreshing and repeating until the error occurs.

 

 

Resolution

  1. Ensure you have K2 4.7 installed.
  2. Install the K2 4.7 February 2017 Cumulative Update.
  3. Get the K2 4.7 February 2017 Cumulative Update FP3 from Regional Support.
  4. Install the K2 4.7 February 2017 Cumulative Update FP3 to apply the fix.
  5. Clear the Browser Cache.

 


0 replies

Be the first to reply!

Reply