Resources for IT Professionals > Dynamics Forums > CRM > Publishing the Workflow in MSCRM 4.0 giving errors
Ask a questionAsk a question
 

QuestionPublishing the Workflow in MSCRM 4.0 giving errors

  • Tuesday, November 03, 2009 8:43 PMSachinOnBizTalk Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

    Here is an intresting situation which I am facing in MSCRM 4.0 is

    1. I have a custom workflow which access Dll's with assembly version 1.0.0.0 
    2. I am able to import and publish this workflow successfully.
    3. When I modify things in Dll and then change the assebly version 1.0.2.5
    4. Then I try to publish the same workflow with registring the new Dll and then I get an error while publishing.

    Then I tried to changed the assembly version again to 1.0.0.0 and registered again and then i was able to publish the workflow successfully.
    So it that MSCRM works only with Assembly versions 1.0.0.0? 

    Any help, would be a great help.
    Thanks in Advance.

    Regards,
    Sachin.
       

All Replies

  • Wednesday, November 04, 2009 4:56 PMckeller Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    have you deleted the 1.0.0.0 version before adding the new one?
    There is no support for having multiple versions of an assembly. See http://msdn.microsoft.com/en-us/library/cc151144.aspx which states:

    -> You should have only one version of an assembly in the database. If you are making changes, make sure that you delete the old version, and then add the new version.
    -> Multiple versions of an assembly are not supported.
  • Wednesday, November 04, 2009 6:52 PMSachinOnBizTalk Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

    Thanks for the reply.

    Yes there is only version at a time. So i dont see any problem with that.

    SO what else I can try to solve this problem.

    Any help much appreciated.

    Thanks & Regards,
    Sachin.