Skip to main content

Dears


When building workflows on windows 2003 server SP2.


 using K2 blackpearl 0807 (4.8210.3.0).


I got the following error


****************"The type or namespace name 'UserManagement' could not be found (are you missing a using directive or an assembly reference?)": Workflow.targets


****************


a warning preceeds this error tells me that:


***************** "Warning 2 Could not resolve this reference. Could not locate the assembly "UserManagement, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
 c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Microsoft.Common.targets 1 1 CSPD.BusinessProcesses
********************

Hi BasharA,


Could it be that you have the K2.net 2003 KO.dll registered in the GAC?


I've seen strange errors like these when this DLL is in the GAC. If it is there, please remove it as it is not necessary on a K2 blackpearl installation. After doing so, try to deploy again.


If this is not the case, create a new process and look at the references added for this process and compare them to the ones in the process which is giving this problem. If there are some missing references, add them and then retry the deployment.


Hope this helps!


Reply