This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error during execution of 'OnSaved' in logic module 'VI.DB.Entities.EntityScriptLogic' when linking AD account to Person

We got the following error messages when attempted to link an ADSAccount to Person record in v7.1.1. What could be the cause to this error? Thanks!

Error during execution of 'OnSaved' in logic module 'VI.DB.Entities.EntityScriptLogic'.

      at VI.DB.Entities.EntitySingleDbObject.<>c__DisplayClass36_0.<<Save>b__0>d.MoveNext()

      at VI.DB.Entities.EventUnitOfWork.<PutAsync>d__2.MoveNext()

      at VI.DB.Entities.PermissionsUnitOfWork.<PutAsync>d__10.MoveNext()

      at VI.DB.Entities.EventUnitOfWork.<PutAsync>d__2.MoveNext()

      at VI.DB.Entities.UnitOfWorkImpl.<PutAsync>d__37.MoveNext()

      at VI.DB.Entities.DbEntitySink.<PutAsync>d__15.MoveNext()

      at VI.DB.Entities.InteractiveSaveEntityStrategy.<OnSavedAsync>d__4.MoveNext()

      at VI.DB.Entities.CombinedEntityLogic.<OnSavedAsync>d__13.MoveNext()

Error during execution of 'OnInitialize' in logic module 'EX0.Customizer.EX0Mailbox'.

      at VI.DB.Entities.CombinedEntityLogic.<OnSavedAsync>d__13.MoveNext()

      at VI.DB.Entities.EntityScriptLogic.<OnSavedAsync>d__15.MoveNext()

      at VI.DB.Entities.EntityScriptLogic.<_PropagateTemplatesAsync>d__26.MoveNext()

      at VI.DB.Entities.UnitOfWorkImpl.<PutAsync>d__37.MoveNext()

      at VI.DB.Entities.DbEntitySink.<PutAsync>d__15.MoveNext()

      at VI.DB.Entities.DelayedLogicSaveEntityStrategy.<OnSavingAsync>d__5.MoveNext()

      at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()

      at VI.DB.Entities.CombinedEntityLogic.<_CollectChangesAsync>d__28.MoveNext()

'6' is not a valid version string.

      at VI.DB.Entities.CombinedEntityLogic.<_CollectChangesAsync>d__28.MoveNext()

      at VI.DB.Entities.StateLessEntityLogic.<_RunActionsAsync>d__69.MoveNext()

      at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()

      at VI.DB.Entities.StateLessEntityLogic.<_RunActionAsync>d__70.MoveNext()

      at VI.DB.Entities.StateLessEntityLogic.<_GetParameterValuesAsync>d__72.MoveNext()

      at VI.DB.Entities.LogicValueStore.GetAsync(String definition, CancellationToken cancellationToken)

      at VI.DB.Entities.LogicValueStore._ExpensiveFunctionSource.GetAsync(String definition, CancellationToken cancellationToken)

      at VI.DB.Entities.ExpensiveFunction.GetAsync(ISession session, IEntity entity, IEntityWalker map, CancellationToken cancellationToken)

      at VI.DB.Entities.LogicExpensiveRegistration.<>c__DisplayClass5_0`1.<As>b__0(ISession session, IEntity entity, IEntityWalker walker, CancellationToken ct)

      at EX0.Customizer.EX0Mailbox.<>c.<.ctor>b__0_2(ISession s, IEntity e, IEntityWalker w, CancellationToken ct)

      at EX0.Customizer.ExchangeVersion..ctor(String strVersion)

Version 6 is not supported.

      at EX0.Customizer.ExchangeVersion..ctor(String strVersion)

  • I guess you have somewhere old binaries.
  • Hi Geraldine,

    1IM is a fresh v7.1.1 install environment w/ SQL2014 and all objects in AD and Exchange were used to be managed in v6 environment. They are now managed in v7 environment (v6 migrated to v7).
    Do you mean that the problem was due to some v6 binaries in that are provided by v7 software in v7 binaries folder or you mean that this ADSAccount object is associated with old legacy related to v6 binaries?
    Thanks!
  • I would check your templates and/or the contents of the ExchangeVersion property. The value 6 is not a supported ExchangeVersion according to the limited values.
  • It turned out that we were too early attempting to linking ADS User to Person while Exchange initial sync still running.
    Thank you and Geraldine both for quick assistances!