Encountered this error while trying to deploy a workflow

  • 26 September 2014
  • 2 replies
  • 1 view

Badge +2

Hello all, did encountered this error while deploying a workflow on k2 designer:

 

System.ArgumentNullException: Value cannot be null.
Parameter name: registeredWizard
   at SourceCode.Framework.WizardDefinition..ctor(WizardElement registeredWizard)
   at SourceCode.WebDesigner.Authoring.Forms.GenerateProcess.CreateClientEvents
(XmlDocument xmlProcess, XmlDocument xmlInputData, XmlNode activity, Activity newActivity,
Process newProcess, String UserName)
   at
SourceCode.WebDesigner.Authoring.Forms.GenerateProcess.CreateActivies
(XmlDocument xmlInputData, XmlDocument xmlProcess, DefaultProcess& newProcess, String UserName)
   at SourceCode.WebDesigner.Authoring.Forms.GenerateProcess.Generate
(String LocalHostConnection, String UserName, Int32 ProcessID, String InputData, String ProcessXML,
String SqlConnectionString, String HostServerConnectionString)

 

 

Please would need help asap.

 

 


2 replies

Badge +10

Yeah that doesn't give you much to work with.   However, I believe I received a similar error recently and it turned out the MSDTC wasn't enabled on the SQL Server.  Also make sure its enabled on the K2 Server and SharePoint server as well.

 

http://help.k2.com/helppages/k2blackpearlGettingStarted4.6.4/MSDTC.html

 

I was enable to figure this out by looking in the event logs and seeing an error about "partner transaction" which is a tell tale sign that something with MSDTC is not right.

 

Hopefully this helps. 

 

Regards,

Tim

Badge +2

Thank you. All the best.

Reply