locked
Problem while Registering a WorkFlow assembly RRS feed

  • Question

  • Hello,

    I have created a sample workflow to create a task "CreateTask".Its assembly name is "CreateTask.dll".

    In order to register ,as per the msdn readme.doc,i opened the pluginDeveloper.sln and add this assembly in the bin/debug folder where PluginDeveloper.exe exists.There is a register.xml file.

     

    The sample xml file's <Solutions> tag now is.

     <Solution SourceType="0" Assembly="c:\CheckPrivacy.dll">
     <!--
            Tag: WorkflowTypes
            Description: Container for one or more WorkflowType tags. 
      --> 
     <WorkflowTypes>
     <!-- 
                Tag: WorkflowType
                Description: Registers a single workflow activity type in the solution assembly.
                Attributes:
                    TypeName
                        Fully qualified name of the workflow activity type, beginning with
                        the namespace.
                    FriendlyName
                        A more user friendly name for the type.
                SDK documentation: plugintype class   -->
      <WorkflowType TypeName="Coho.Lead.CheckPrivacy" FriendlyName="Check Privacy" />
      </WorkflowTypes>
      </Solution>
     

    How can i edit the <Solutions> tag in that xml file inorder to develop and register my new workflow assembly?

    my doubt is in these 2 lines,

    <Solution SourceType="0" Assembly="c:\CheckPrivacy.dll">

    and

     <WorkflowType TypeName="Coho.Lead.CheckPrivacy" FriendlyName="Check Privacy" />

     

    Waiting for your reply,

    Thursday, June 5, 2008 1:40 PM

Answers

  • The attributes should be set as follows:

     

    Assembly - this is the current path to your assembly

    TypeName - fully qualified (i.e. namespace + class name) name of you workflow class

    FriendlyName - whatever you want

    Saturday, June 7, 2008 5:32 AM
    Moderator

All replies

  • The attributes should be set as follows:

     

    Assembly - this is the current path to your assembly

    TypeName - fully qualified (i.e. namespace + class name) name of you workflow class

    FriendlyName - whatever you want

    Saturday, June 7, 2008 5:32 AM
    Moderator

  • Hi,

    I encountered with the same problem. After changing the assembly name, typename and friendly name, i still get an error message.

    "Http 401: Unauthorized user " The debugging message asks to check the Response object.I rightly entered my login credentials of my crm server. I am stuck. Kindly help me out.

    Thanks,
    Shonai
    Friday, June 13, 2008 10:47 AM
  • HAve you set the organization name correctly ?

    Friday, June 13, 2008 6:27 PM
    Moderator
  • CRM SDK 4.0.5 is now available.Download it and try again.

    I used that verion and found it working correctly.

    First you need to add correctly an organization in the deployment Manager-server.

    add your userid as a user to that organization.

    Then create the plugin assembly.In the xml file,give ur assembly path and name.

    Give correct organization name ans server name.try it.

     

    Monday, June 16, 2008 10:20 AM
  • Hi,

    Thanks for your reply. I am still facing the same error message. I have found this patch on Microsoft website http://support.microsoft.com/kb/885274,  Trying to fix that.

    PS: Downloaded the new SDK 4.0.5 and tried with it.
           Entered the organization name correctly.

    Thanks,
    Shonai
    Tuesday, June 17, 2008 11:07 AM