HOME DOCUMENTATION DOWNLOADS BLOG

Origam migration from 2018.2 to 2019.1

Hi,
What are the migration steps when upgrading from 2018.2 (model in SQL) version to 2019.1? I tried to update Architect binary, but there is issue with with config file - renaming AsapSetting.config to OrigamSetting.config is probably not the correct way. What are steps for upgrading IIS as well?

Best regards,
Ivan

The error message is :

Repository Login Failed
Repository login failed.
Object reference not set to an instance of an object.

Object reference not set to an instance of an object.

========================================
Stack trace

at Origam.OrigamEngine.RuntimeServiceFactory.CreatePersistenceService()
at OrigamArchitect.frmMain.LoadSchemaList()
at OrigamArchitect.frmMain.Connect(String configurationName)

Seems the setting for the provider in OrigamSettings is wrong. Can you please share the content of the settings (except of the connection strings, of course).

See attached printscreen of OrigamSettings.config part.

These are the valid entries for the ModelProvider entry:

  • Origam.OrigamEngine.FilePersistenceBuilder, Origam.OrigamEngine
  • Origam.OrigamEngine.DatabasePersistenceBuilder, Origam.OrigamEngine

Thanks. This helped. I can load the configuration now. But when I want to open any package (Root, Security), I get error message:

========================================
Error occurred while loading parameters
Value cannot be null.
Parameter name: type

Value cannot be null.
Parameter name: type

========================================
Stack trace

at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Origam.Reflector.InvokeObject(String classname, String assembly)
at Origam.DA.Service.DatasetGenerator.CreateDataSet(DataStructure ds, Boolean includeCalculatedColumns, DataStructureDefaultSet defaultSet, CultureInfo culture, Boolean forceBuildFromDatastructure)
at Origam.DA.Service.AbstractDataService.GetDataset(DataStructure ds, Guid defaultSetId)
at Origam.DA.Service.AbstractSqlDataService.LoadDataSet(DataStructureQuery query, IPrincipal principal, DataSet dataset, String transactionId)
at Origam.DA.Service.AbstractSqlDataService.LoadDataSet(DataStructureQuery dataStructureQuery, IPrincipal principal, String transactionId)
at Origam.Workflow.DataServiceAgent.LoadData(DataStructureQuery query, DataSet data)
at Origam.Workflow.DataServiceAgent.Run()
at Origam.Workbench.Services.ParameterService.LoadParameters()
at Origam.Workbench.Services.ParameterService.RefreshParameters()
at OrigamArchitect.frmMain._schema_SchemaLoaded(Object sender, EventArgs e)