locked
D365 Update2.1 installation error: System.ArgumentException: Version string portion was too short or too long. RRS feed

  • Question

  • Hi,

    We get this error when uninstalling  D365 Updater 2.1 on the server. Can anyone please point me in the right direction to resolve this issue?

    Thanks,

     Database update install failed for orgId = XXXXXXXXXXXXXXXXXXXXXX.  Continuing with other orgs.  Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Version string portion was too short or too long.
       at System.Version.VersionResult.SetFailure(ParseFailureKind failure, String argument)
       at System.Version.TryParseVersion(String version, VersionResult& result)
       at System.Version.Parse(String input)
       at System.Version..ctor(String version)
       at Microsoft.Crm.ObjectModel.DependencyNodeService.ConvertVersionToDouble(String version)
       at Microsoft.Crm.ObjectModel.DependencyHelperBase.RetrieveVersion(Int32 componentType, Object record, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.DependencyHelperBase.PreCreateDependencyNodeEntity(ComponentCollectorRecord record, ExecutionContext context)
       at Microsoft.Crm.Dependency.ComponentCollector.ProcessDependencyNodes(BusinessEntityCollection nodesToCreate, BusinessEntityCollection nodesToUpdate, Dictionary`2 recordsByComponentType, IDependencyHelper helper, ExecutionContext context)
       at Microsoft.Crm.Dependency.ComponentCollector.InitializeRecords(ExecutionContext context)
       at Microsoft.Crm.Dependency.ComponentCollector.ProcessRecords(ExecutionContext context)
       at Microsoft.Crm.BusinessEntities.ExecutionContext.ProcessDependencies(FlushCacheOption option, CreateNewCollectorOption createOption)
       at Microsoft.Crm.BusinessEntities.ExecutionContext.OnEndRequest()
       at Microsoft.Crm.SE.DllMethodActions.ImportSystemSolution.Execute(String targetVersion)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId, Nullable`1 operationType)
       at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
       at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.OrgInstall(ArrayList orgIdArray)

    Wednesday, January 3, 2018 4:16 PM