I was so frustrated to resolved above
workflow error, because when I deployed my
visual studio workflow solution package and started the workflow (manually or item created) then I was getting error in workflow status as “
Failed on Start (retrying)”, also I didn’t see much useful information into workflow history, after looking into SharePoint log file, I have found below error.
Error:
Could not load file or assembly Load Workflow Assembly: System.IO.FileNotFoundException: Could not load file or assembly ‘ABC.dll, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxx' or one of its dependencies.
I know that there was some problem into
feature.xml or
workflow.xml file into solution package, but after looking into details, I have found out that I made very silly mistake into
workflow.xml file, there was one tag called “
CodeBesideAssembly”, we need to write only assembly name like ABC into that tag, but I wrote ABC.dll into
CodeBesideAssembly tag into
workflow.xml file which caused the error while starting of workflow.
After removing extra DLL word from the file, my workflow was worked fine. So be careful while making
workflow.xml file.
Keep Sharing…