This article discusses the necessary steps required to configure the K2.net environment to run on a specific versions of the Microsoft .NET framework.

Introduction

Important: The information shared in this article is strictly related to K2.net 2003 with SP4(3.6262.1.0)

This release of K2.net is compatible with the following versions of the .NET Framework:

  • Microsoft .NET Framework v1.0 (v1.0.3705)
  • Microsoft .NET Framework v1.1 (v1.1.4322)
  • Microsoft .NET Framework v2.0 (v2.0.50727)

K2.net 2003 Server .NET Framework configuration


Option 1:
The steps discussed in this section make use of the K2.net Service Manager to update the .NET Framework configuration.
  • Click "Start > All Programs > K2.net 2003 > K2.net 2003 Service Manager"
  • In K2.net Service Manager, right click the registered K2.net Server and select Properties from the Menu
  
 
  • Click the Advanced tab

  

 
  • Select the required .NET Framework, and click OK to save the configuration changes
  • Restart the K2.net Server service to apply the changes made to the .NET Framework configuration

  

 

 

Note: Start the K2.net Server in console mode to verify that the correct version of the .NET Framework is loaded.

 

 
Option 2:
The steps discussed in this section edit the K2.net Server configuration file to update the .NET Framework configuration.
  • In Windows explorer, browse to "C:\Program Files\K2.net 2003\Bin", locate the "K2Server.config" file
  • Open "K2Server.config" in notepad, locate the <Framework Version="v2.0.50727" /> setting and update the Version value to the required .NET Framework version
  • Save and close the configuration file
  • Restart the K2.net Server service to apply the changes made to the .NET Framework configuration

  

 

 

Note: Start the K2.net Server in console mode to verify that the correct version of the .NET Framework is loaded.

 

 
K2.net 2003 Studio .NET Framework configuration
The steps discussed in this section edit the K2.net Studio configuration file to update the .NET Framework configuration.
  • Close all running instances of K2.net Studio
  • In Windows explorer, browse to "C:\Program Files\K2.net 2003\Bin", locate the "K2Studio.exe.config" file
  • Open "K2Studio.exe.config" in notepad, locate the "<supportedRuntime version="v2.0.50727" />" setting and update the Version value to the required .NET Framework version
  • Save and close the configuration file
Important: K2.net 2003 Server and K2.net 2003 Studio MUST be configured on the same .NET Framework version, failing to do so will result in failure to export processes from K2.net Studio to K2.net Server.

 

Important: An invalid version number of the .NET Framework specified will result in unexpected behavior of K2.net Studio and/or K2.net Server, please ensure that the correct version numbers is used at all times.