Skip to main content


 

Symptoms

 


After upgrading K2 Smartforms, when trying to access designer we are getting the following error: Server Error Input string was not in a correct format. More Details at System.Number.ParseUInt32(String value, NumberStyles options, NumberFormatInfo numfmt) at SourceCode.Security.Claims.Web.Shared.ConnectionClass.GetPoolConnectionString(Boolean useWorkflowPort) at SourceCode.Security.Claims.Web.Shared.ConnectionClass.GetPoolConnection(String credentialToken, Boolean asAppPool, Booleanand tokenApplied) at SourceCode.Security.Claims.Web.Shared.ConnectionClass.Connect(BaseAPI baseAPI, Boolean asAppPool, Boolean validateLicense) at SourceCode.Security.Claims.Web._trust.login.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 

 

Diagnoses

 


It was determined that the Hostname], mHostPort], and WorkflowPort] AppSettings keys in the web.config for K2 sites had placeholder values instead of actual values.
 

 

Resolution

Updating these keys for the SmartForms Designer site, Smartforms Runtime site, and ViewFlow site with the actual values at the locations below resolved the issue:

 

C:Program Files (x86)K2 blackpearlK2 smartforms Designer

 

C:Program Files (x86)K2 blackpearlK2 smartforms Runtime

 

C:Program Files (x86)K2 blackpearlWebservicesViewFlow

 

 



 
Be the first to reply!

Reply