K2 Runtime web.config File Debugging Settings

The following Debugging items are available in the K2 runtime web.config file typically found at: C:\Program Files\K2\K2 smartforms Runtime\Web.config.

Node Change permitted? Description Example or Default Value

<!--<add key="DebugLevel" value="1" /> -->

Yes DebugLevel enables logging in Runtime. Specifying it is the same as appending _debug={DebugLevel} to each runtime Url) but applies to everyone that visits the site. One of the following:
  1. Debug
  2. Message
  3. Info
  4. Warning
  5. Error

<add key="Style" value="Platinum" />

No The default Theme N/A

<add key="ObjectDesignerEnabled" value="true" />

<add key="FormDesignerEnabled" value="true" />

<add key="ViewDesignerEnabled" value="true" />

<add key="WebWorkflowEnabled" value="true" />

No K2 Designer Settings to enable or disable the Designers N/A

<add key="WebWorkflowPath" value="~/Workflow/WebDesigner.aspx" />

No Location of the K2 Web Workflow Designer site

N/A

 <!-- <key="Forms.Runtime.BaseUrl" value="http://localhost/Runtime/"/> -->

<add key="AppRuntimePath" value="~/Runtime/AppRuntime.aspx" />

<add key="FormRuntimePath" value="~/Runtime/Form.aspx" />

<add key="ViewRuntimePath" value="~/Runtime/View.aspx" />

<add key="BlockedBrowserPath" value="~/BlockedBrowser.aspx" />

No K2 Designer Runtime Links N/A

<add key="UnauthorisedAccessPath" value="~/NotAuthorised.aspx" />

* Yes The path that users are redirected to when they are not authorized to view the designer / runtime.  

 <add key="Forms.Global.ErrorLogging.Enabled" value="false" />

Yes HTTP Global Application Settings. Enables error logging One of the following:
  • true
  • false

<add key="Forms.Global.ErrorLogging.FilePath" value="C:\Debug\SourceCode.Forms.Web.error" />

Yes HTTP Global Application Settings. Error logging location Valid path

<add key="UseBundledFiles" value="true" />

Yes File bundling - When changed to false, separate files are available for debugging purposes. Change the value to false if bundled files should not be used. For performance reasons, when changing this to false it is important to also switch off the following: "Forms.PostRenderCombining.Enabled" One of the following:
  • true
  • false

<add key="UseMinifiedFiles" value="true" />

* Yes Controls whether script and style-sheet files are minified during bundling (see UseBundledFiles). One of the following:
  • true
  • false

<!--<add key="TraceFilter" value="FormRuntime,Performance,PerformanceSummary"/>-->

<!--<add key="TraceFilter" value="Caching"/>-->

<!--<add key="TraceFilter" value="Security"/>-->

<!--<add key="TraceFilter" value="CombinedResources"/>-->

<!--<add key="TraceFilter" value="Administration,AppStudio,AppDesigner,AppRuntime,
FormDesigner,FormRuntime,RuleDesigner,SODesigner,ViewDesigner,
Categories,Performance,PerformanceSummary,Caching,Security,
CombinedResources"/>-->

Yes Logging settings to filter per category or combination of categories for debugging purposes
  • Administration
  • AppStudio
  •  AppDesigner
  • AppRuntime
  • FormDesigner
  • FormRuntime
  • RuleDesigner
  • SODesigner
  • ViewDesigner
  • Categories
  • Performance
  • PerformanceSummary
  • Caching
  • Security

<outputCacheProfiles>
<add name="RT profile" duration="3600" enabled="true" location="ServerAndClient" />
</outputCacheProfiles>

Yes Once a Form is rendered it is stored in the output caching of the server. Settings include how long this is cached and location where it's stored. Duration has been changed for performance reasons. These settings should preferably not be changed. Duration is noted in seconds
* You can change these values but it's not recommended