No ratings

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


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

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.


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.



The complete error message is as follows: 

Could not load type 'SourceCode.Deployment.Management.ISession' from assembly 'SourceCode.Deployment.Management, Version=, 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.

Labels: (1)
Version history
Last update:
‎05-19-2021 10:31 AM
Updated by: