Skip to main content


 

Symptoms


When deploying a workflow in K2 Designer for Visual Studio, the following error is shown:

"Unexpected error writing metadata to file ... No logical space left to create more user strings"
 

Diagnoses


The error message itself is an indication of hitting a .NET limitation. When you deploy a process, it is compiled into a .NET assembly, and .NET limits the number of strings in the assembly. These strings are made up of Activity, Events, DataFields, Escalations, etc.
 

Resolution

To try and resolve this, you can try and eliminate any unnecessary DataFields , XML Fields , Escalations or Events. Alternatively, you may break part of the process into a child process, and use an IPC event to execute it.




 
Be the first to reply!

Reply