locked
MS CRM2015 Installation Issue RRS feed

  • Question

  • We are doing a fresh install of CRM2015 on a (VM) windows server 2012 R2 with SQL 2012 SP1.

    The installation seemed to work all the way up until it gets to the part where it's trying to create the organization; The installation throw an error regarding an opportunity revenue rule workflow.

    The error log:

    19:09:07|Verbose| Business process control with id {919E14D1-6489-4852-ABD0-A63A6ECAAC5D} and name Lead to Opportunity Sales Process was successfully imported.
    19:09:07|  Error| System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.ImportDefaultDataAction ---> Microsoft.Crm.CrmException: Error while importing workflow {8b12a2c7-088c-49aa-93b3-b618e2b26ea4} name Opportunity Revenue Rule ---> Microsoft.Crm.CrmException: Error generating UiData ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadEvaluateCondition(EvaluateCondition activity)
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadExpression(Collection`1 activities, Type endActivityType, Boolean customActivity, Int32& activityIndex)
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadBranchStep(StepBase parentStep, Collection`1 sequenceActivities, Int32& activityIndex)
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadConditionStep(Boolean wait, ConditionSequence sequence)
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadCompositeStep(String stepId, String description, Activity activity, Collection`1 variables)
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadSingleStep(Activity activity)
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.GenerateWorkflowObjectModelFromXaml()
       --- End of inner exception stack trace ---
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.GenerateWorkflowObjectModelFromXaml()
       at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.GenerateUIData()
       at Microsoft.Crm.ObjectModel.Workflow.Validations.ValidateNoConditionScopeForPblRule.Validate(EntityValidationContext validationContext, BusinessEntity entity)
       at Microsoft.Crm.ObjectModel.Validations.EntityValidator.Validate(EntityValidationContext validationContext)
       at Microsoft.Crm.ObjectModel.BusinessRuleServiceInternalHandler`1.Create(IBusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.Tools.ImportExportPublish.ImportBusinessRuleSubHandler.ImportRule()
       at Microsoft.Crm.Tools.ImportExportPublish.ImportBusinessRuleSubHandler.ImportItem()
       at Microsoft.Crm.Tools.ImportExportPublish.ImportWorkflowHandler.ImportItem()
       --- End of inner exception stack trace ---
       at Microsoft.Crm.Tools.ImportExportPublish.ImportWorkflowHandler.ImportItem()
       at Microsoft.Crm.Tools.ImportExportPublish.ImportHandler.Import()
       at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport()
       at Microsoft.Crm.Setup.Server.Utility.NewOrgUtility.OrganizationImportDefaultData(Guid organizationId, Version existingDatabaseVersion, XmlDocument importXmlDoc, Boolean setup, String importFilePath)
       at Microsoft.Crm.Setup.Server.Utility.NewOrgUtility.OrganizationImportDefaultData(Guid organizationId, Version existingDatabaseVersion, String importFile)
       at Microsoft.Crm.Tools.Admin.ImportDefaultDataAction.Do(IDictionary parameters)
       at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- End of inner exception stack trace ---, Error, RetryCancel, Option1

    Any tips to resolve this issue in installation is much appreciated. Thanks


    Eric UNG [Senior Analyst Programmer :: Sydney, Australia]


    • Edited by Eric Ung Friday, February 6, 2015 3:30 AM
    Friday, February 6, 2015 1:42 AM

Answers

  • Hi,

    Not sure of the exact solution but in our case, we believe it was caused by a Microsoft CRM2013 DLL that was manually installed to the GAC. Perhaps you can review and check if this applies to you as well and uninstall the offending DLLs.


    Eric UNG [Senior Analyst Programmer :: Sydney, Australia]

    Thursday, February 26, 2015 1:29 AM

All replies

  • Hi 
    I have same error. 

    Did you find any solution? 

    Wednesday, February 25, 2015 10:31 AM
  • Hi,

    Not sure of the exact solution but in our case, we believe it was caused by a Microsoft CRM2013 DLL that was manually installed to the GAC. Perhaps you can review and check if this applies to you as well and uninstall the offending DLLs.


    Eric UNG [Senior Analyst Programmer :: Sydney, Australia]

    Thursday, February 26, 2015 1:29 AM
  • Hi Eric, 

    I had the same issue and i tried your solution and it got fixed. 

    Thank you so much :)

    Best Regards, 

    Athul


    With Regards Athul MT http://www.athulmt.blogspot.in/

    Tuesday, October 13, 2015 3:14 PM
  • Hi Athul,

    I am getting the exact same while creating a new ORG in 2016.  Could you kindly elaborate the steps you followed to fix this issue.

    Thanks,

    Hasib


    Hasibur Rahman

    Monday, July 17, 2017 8:20 PM