All workflow related SmartForms are showing an error message "definition"
kbt134230
PRODUCTIssue
When opening up a workflow related SmartForm, an error will be shown which will prevent you from working on the Form.Symptoms
The following error is shown:
Error message:
"definition
Type: System.ArgumentException
Source: SourceCode.Forms
Method Base ◦Member Type: Method ◦Name: FromXml ◦Module
Scope Name: SourceCode.Forms.dll ◦Declaring Type
Full Name: SourceCode.Forms.Runtime.Execution.BrokerPackageCollection
Stack Trace: at SourceCode.Forms.Runtime.Execution.BrokerPackageCollection.FromXml(String definition) at SourceCode.Forms.Runtime.Execution.BrokerPackageCollection.Get(String xml, Boolean& wasCached) at SourceCode.Forms.AppFramework.FormRuntime.WorkXmlToApi(Stream input, Stream output) at SourceCode.Forms.Runtime.AJAXCall.ProcessRequestInternal(HttpContext context)"
The issue occurs because of a setting in the Web.config file located on your K2 Environment under the following path: [Drive]:[Program Files]K2 blackpearlK2 smartforms Runtime
If you have this setting enabled:
- <add key="TraceFilter" value="FormRuntime"/>
And you have this set to true:
- <add name="EnableTracing" value="false" />
You will experience the error mentioned above.
For more information on this config file, please have a look at this link:
http://help.k2.com/support-services/kbs100015
Resolution
This has been identified as bug in the product. To fix the issue, please change this setting to false:
<add name="EnableTracing" value="false" />
[Drive]:[Program Files]K2 blackpearlK2 smartforms RuntimeWeb.config