Hello,
I am in the process of upgrading a 4.0 dB to 2013. Obviously the first step is to upgrade the dB to 2011. Upgrade to 2011 goes on for couple of hours and almost towards the end, it fails with the following error message. Looks like the issue is related to a WF. It is extremely difficult to go back to the 4.0 and disable this WF and get another copy of 165GB database. Is there a way around this error by fixing the backup copy of the dB I currently have. Maybe, running a query against the SQL to find this WF and disable it in SQL? Thanks. Here is the error log.
Error|
System.Exception: Action Microsoft.Crm.Tools.Admin.UpgradeWorkflowsAction
failed. ---> Microsoft.Crm.CrmException: Error generating UiData --->
System.FormatException: Guid should contain 32 digits with 4 dashes
(xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
at System.Guid.GuidResult.SetFailure(ParseFailureKind failure,
String failureMessageID, Object failureMessageFormatArgument, String
failureArgumentName, Exception innerException)
at System.Guid.TryParseGuidWithNoStyle(String guidString,
GuidResult& result)
at System.Guid.TryParseGuid(String g, GuidStyles flags,
GuidResult& result)
at System.Guid..ctor(String g)
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadPrimitiveExression(WorkflowAttributeType
type, String stringValue)
at
Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadEvaluateExression(EvaluateExpression
activity, String attributeName, String targetEntityName)
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.GenerateUIData()
--- End of inner exception stack trace ---
at
Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.GenerateUIData()
at
Microsoft.Crm.Tools.Admin.UpgradeWorkflowsAction.VerifyBackConversionToUIData(Entity
workflow, ExecutionContext context, IMetadataProvider metadataProvider, Int32
primaryEntityOtc)
at Microsoft.Crm.Tools.Admin.UpgradeWorkflowsAction.Upgrade(Guid
organizationId)
at Microsoft.Crm.Tools.Admin.UpgradeWorkflowsAction.Do(IDictionary
parameters)
at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction
action, IDictionary para<o:p></o:p>