Skip to main content
Nintex Community Menu Bar
Knowledge Base

Unable to access K2 Designer - 1058 SourceCode.Designer.Runtime.K2DesignerHostedServer not hosted!

  • May 8, 2025
  • 0 replies
  • 36 views

Forum|alt.badge.img+7

Topic
The following error is shown when trying to open K2 Designer:

1058 SourceCode.Designer.Runtime.K2DesignerHostedServer not hosted!

 

Instructions 
Please check the HostServer logs in [Program Files]\K2\Host Server\Bin on your K2 server. If you see the following error, this means the K2 service is unable to load the SourceCode.Designer.Runtime.dll assembly because the wrong version is found.

"Error","System","2010","TypeLoadError","SourceCode.Hosting.Server.Runtime.HostTypeLoader.LoadHostableTypes","2010 Type Load Error, C:\Program Files\K2\Host Server\Bin\HostedServers\SourceCode.Designer.Runtime.dll: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)
   at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
   at System.Reflection.Assembly.LoadFile(String path)
   at SourceCode.Hosting.Server.Runtime.HostTypeLoader.LoadHostableTypes(String AssemblyDir, String InterfaceName)"

The SourceCode.Designer.Runtime.dll assembly can be found in [Program Files]\K2\Host Server\Bin\hostedservers\.

If you have a different environment that is on the same version and Cumulative Update or Fix Pack, and Designer is working properly on that environment, you can try the following to fix this error:

  1. On the working environment's K2 server, go to [Program Files]\K2\Host Server\Bin\hostedservers\
  2. Copy SourceCode.Designer.Runtime.dll
  3. Copy the dll to a temporary folder on the server that is throwing the error
  4. Stop the K2 service on the server with the error
  5. On the server with the error, backup [Program Files]\K2\Host Server\Bin\hostedservers\SourceCode.Designer.Runtime.dll to another location. Do not backup the dll in the same location.
  6. Still on the server with the error, copy SourceCode.Designer.Runtime.dll in the temporary folder (from step 3) to [Program Files]\K2\Host Server\Bin\hostedservers\
  7. Replace the file when prompted
  8. Restart K2 service on the server with the error

If you do not have another environment from which you can copy the SourceCode.Designer.Runtime.dll, please log a Nintex Support case to request assistance.