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 to deploy a package to another server, the following error occurs.
"Method could not be resolved!" System.Exception: Method could not be resolved! at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Object Parameters, Boolean NullList, MarshalMessageType CallType) at SourceCode.Deployment.Management.PackageDeploymentManager.UploadStreamSync(Stream stream, Object state) at SourceCode.Deployment.Management.ClientSession.Load(Stream packageStream, Object state) at SourceCode.Management.Controls.DeploySelectPackage.BeginUpload()
Cannot Deploy package
If you just applied a Fix Pack or upgraded and are receiving this error, it is due to the Package and Deploy tool being out of sync with the server where the package is being deployed to. Ensure that you updated Client Machines where Package and Deploy / Client tools are installed.