locked
CRM 4.0 - Import Organization Error RRS feed

  • Question

  • I am trying to import our production CRM DB into our development enviornment DB to refresh the data. When running the Deployment Manager and importing the organization, I receive the following error after it maps all the users successfully:

    06:36:44|  Error| Import Organization (Name=DEVCRM, Id=88cc6e11-39ad-de11-8c76-005056860a8d) failed with Exception:
    Microsoft.Crm.CrmException: Could not find a plugin using assembly name and type
       at Microsoft.Crm.ObjectModel.PluginTypeServiceInternal`1.GetIdFromTypeAndAssemblyName(String typeName, String assemblyName, String publicKeyToken, String assemblyVersion, String culture, ExecutionContext context)
       at Microsoft.Crm.Workflow.WorkflowDefinitionVisitor.Visit(CustomActivityStep isvActivityStep)
       at Microsoft.Crm.Workflow.ObjectModel.CustomActivityStep.Apply(StepVisitorBase visitor)
       at Microsoft.Crm.Workflow.WorkflowDefinitionVisitor.Visit(WorkflowStep workflowStep)
       at Microsoft.Crm.ObjectModel.WorkflowServiceInternal`1.CreateDefinitionFromObjectModel(ExecutionContext context, WorkflowEntity definition, List`1 dependencies, List`1 customActivityIds)
       at Microsoft.Crm.ObjectModel.WorkflowServiceInternal`1.PublishInPlace(WorkflowEntity definition, ExecutionContext context)
       at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.RepublishWorkflow(ExecutionContext context, WorkflowUIData workflowData)
       at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ProcessWorkflowUIData(ExecutionContext context)
       at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.Import(Guid organizationId, String organizationUniqueName, String organizationFriendlyName, String sqlServerName, String databaseName, Uri reportServerUrl, String privilegedUserGroupName, String sqlAccessGroupName, String userGroupName, String reportingGroupName, String privilegedReportingGroupName, ICollection`1 users, MultipleTenancy multipleTenancy)

    Any suggestions?

    Thursday, October 1, 2009 8:44 PM

Answers

All replies

  • Hi Anthony,

    Microsoft.Crm.CrmException: Could not find a plugin using assembly name and type

    Do you have a plugin deployed to your crm system?  If so, I'd recommend deploying it to the database and not disk.  If it is to disk, then it also needs to exist in the same path, same location in your new crm server.



    Alex Fagundes - www.PowerObjects.com
    Thursday, October 1, 2009 10:45 PM
  • Alex-

    Appreciate the response. We are currently leveraging the disk deployment as a carry over from CRM 3.0. Our installation paths on both servers are identical, thus the confusion over the hangup. In an effort to eliminate the plugin deployment (as I can reinstall after the import), I unregistered from the server/DB backup before the import but am still receiving the same result. Any additional suggestions?

    Thanks-
    Anthony
    Tuesday, October 6, 2009 4:22 PM
  • Are there any workflows running in the background that use addins?
    Tuesday, October 6, 2009 5:37 PM
  • Halldor is on the right track.  You are missing some assembly -- workflow, plugin, custom product that was installed, but not being used???

    Microsoft.Crm.CrmException: Could not find a plugin using assembly name and type

    Download and run the plugin registration tool to see what is registered.
    http://code.msdn.microsoft.com/crmplugin/Release/ProjectReleases.aspx?ReleaseId=2010



    Alex Fagundes - www.PowerObjects.com
    Tuesday, October 6, 2009 6:31 PM
  • Alex-

    Appreciate the response. We are currently leveraging the disk deployment as a carry over from CRM 3.0. Our installation paths on both servers are identical, thus the confusion over the hangup. In an effort to eliminate the plugin deployment (as I can reinstall after the import), I unregistered from the server/DB backup before the import but am still receiving the same result. Any additional suggestions?

    Thanks-
    Anthony

    I am also facing same issue. in my CRM, All the Plug-ins are registered in database. All the workflow is designed in CRM only. One worklfow calling a Plug-ins.

    Still facing same erro. Any help would be highly appriciated as I need to UP my UAT/Test server in very short time.

    Shubh
    Monday, February 1, 2010 1:38 PM
  • Hi Anthony,

    You might read the following http://mscrmuk.blogspot.com/2008/10/deploying-custom-workflow-activities.html
    This because you have a self developed plug in (WorkflowDefinitionVisitor.Visit) you have to take care of.

    Henrik Jensen Instructor / Consultant MCP, MCAD, MCSD, MCTS, MCPD, MCITP, MBSS, MBSP, MCT www.crmblog.dk (Danish oly)
    Tuesday, February 2, 2010 7:36 AM