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…
Showing posts with label CodeBesideAssembly. Show all posts
Showing posts with label CodeBesideAssembly. Show all posts
Friday, May 29, 2009
Error occurred while starting of workflow (Could not load file or assembly Load Workflow Assembly System.IO.FileNotFoundException)
Labels:
CodeBesideAssembly,
Could not load file or assembly Load Workflow Assembly System.IO.FileNotFoundException,
Failed on Start (retrying),
feature.xml,
Personal Experience,
Sharepoint Problems,
solution package,
visual studio,
Visual Studio Workflow - SharePoint,
Workflow,
workflow.xml
Subscribe to:
Posts (Atom)