Package & Deployment error: "Could Not Load Type..."

  • 24 February 2022
  • 0 replies
  • 11 views

Userlevel 5
Badge +20
 

Package & Deployment error: "Could Not Load Type..."

kbt173350

PRODUCT
K2 Cloud Update 10
BASED ON
K2 Cloud Update 10
TAGS
Deployment
Troubleshooting Document
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

When trying use the Package & Deployment tool and you choose to create a package (K2DeploymentUtility.5.1010.1000.0.exe) you see the following error displayed when the button is clicked:

Could not load type 'SourceCode.Deployment.Management

This stops you from proceeding any further and the package and deployment process is then stopped.

 

Symptoms

The complete error message is as follows: 

Could not load type 'SourceCode.Deployment.Management.ISession' from assembly 'SourceCode.Deployment.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d'. at SourceCode.Deployment.Standalone.UIManagerAction.CreatePackage() at SourceCode.Deployment.Standalone.Launcher.<>c.b__7_0(UIManagerAction action) at SourceCode.Deployment.Standalone.Launcher.ExecuteButtonAction(Action`1 action)

 

Troubleshooting Steps

This error can be resolved by adding your IP address to our whitelist, you may contact K2 support to do this for you.

Another option is to install the latest version (s) of .netframework (4.7.2) onwards as well as this will have a bearing on if this works as expected or not.


0 replies

Be the first to reply!

Reply