Error when opening Architect

After opening Architect version 2026.4.0.4226 the following error message appears:

Error
One or more errors occurred.
------------------------------------------
Could not load file or assembly 'System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
------------------------------------------
========================================
 Stack trace
========================================
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Origam.Extensions.TypeExtensions.GetExportedTypes(Assembly assembly)
   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
   at System.Linq.Enumerable.<DistinctIterator>d__64`1.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Linq.Enumerable.<OfTypeIterator>d__95`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Origam.Rule.ModelRules.GetErrors(List`1 schemaProviders, FilePersistenceService independentPersistenceService, CancellationToken cancellationToken)
   at OrigamArchitect.frmMain.DoModelChecks(FilePersistenceService independentPersistenceService, CancellationToken cancellationToken)
   at OrigamArchitect.frmMain.<>c__DisplayClass151_0.<RunBackgroundInitializationTasks>b__0()
   at System.Threading.Tasks.Task.Execute()   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at OrigamArchitect.frmMain.TaskErrorHandler(Task previousTask)

The issue is still there in build 2026.4.0.4228.

Error
One or more errors occurred.
========================================
One or more errors occurred.
------------------------------------------
Could not load file or assembly 'System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
------------------------------------------
========================================
 Stack trace
========================================
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Origam.Extensions.TypeExtensions.GetExportedTypes(Assembly assembly)
   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
   at System.Linq.Enumerable.<DistinctIterator>d__64`1.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Linq.Enumerable.<OfTypeIterator>d__95`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Origam.Rule.ModelRules.GetErrors(List`1 schemaProviders, FilePersistenceService independentPersistenceService, CancellationToken cancellationToken)
   at OrigamArchitect.frmMain.DoModelChecks(FilePersistenceService independentPersistenceService, CancellationToken cancellationToken)
   at OrigamArchitect.frmMain.<>c__DisplayClass151_0.<RunBackgroundInitializationTasks>b__0()
   at System.Threading.Tasks.Task.Execute()   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at OrigamArchitect.frmMain.TaskErrorHandler(Task previousTask)

I’m not able to reproduce the error. The architect properly runs after the installation.

Please try to uninstall it, make sure the folder is empty and install it again.

I did exactly that, but it is still there. But it only appears when you open a package (which I do automatically, so I didn’t notice this is the trigger) and then again when you close the Architect.

The issue only appears when the data service is set to Origam.DA.Service.PgSqlDataService, Origam.DA.Service, for MsSqlDataService it works fine.

2026.4.0.4234 build contains the fix of the issue.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.