0
Fixed

Request to reflect change entities failing after upgrade

Hayden Gray 4 years ago updated 4 years ago 1

Hello,

Recently updating UNIFYBroker from 5.0.4 to 5.3.2 and am now receiving this below error in the IdB logs.

Request to reflect change entities of the adapter.
Request to reflect change entities of the FIMIDBStaff (5a2fed36-ecae-4f32-8878-2f01b1661c5d) adapter errored with message: Could not load type 'Unify.Product.IdentityBroker.ChangesItemContextFactory' from assembly 'Unify.IdentityBroker.ChangeLog.Repository.Sql, Version=5.0.0.0, Culture=neutral, PublicKeyToken=84b9288cb2633de4'.. Duration: 00:00:00
Error details:
System.TypeLoadException: Could not load type 'Unify.Product.IdentityBroker.ChangesItemContextFactory' from assembly 'Unify.IdentityBroker.ChangeLog.Repository.Sql, Version=5.0.0.0, Culture=neutral, PublicKeyToken=84b9288cb2633de4'.
at Unify.Product.IdentityBroker.ChangeLogEngine.<>c__DisplayClass11_0.<Initialize>b__0(XElement configurationElement)
at Unify.Framework.Data.DataEngine.GetContextFactory[TFactory](XElement connectionElement)
at Unify.Product.IdentityBroker.ChangeLogEngine.CreateComponent(IChangeLogContextFactoryInformation factoryInformation)
at Unify.Product.IdentityBroker.ChangeLogNotifierDecorator.CreateComponent(IChangeLogContextFactoryInformation factoryInformation)
at Unify.Product.IdentityBroker.ChangeLogEngineAccessor.CreateComponent(IChangeLogContextFactoryInformation factoryInformation)
at Unify.Product.IdentityBroker.Adapter.CreateChangeLogContext()
at Unify.Product.IdentityBroker.Adapter.ReflectChangesInner()
at Unify.Product.IdentityBroker.Adapter.ReflectChanges()
at Unify.Product.IdentityBroker.AdapterAuditingDecorator.ReflectChanges()
at Unify.Product.IdentityBroker.AdapterNotifierDecorator.ReflectChanges()
at Unify.Product.IdentityBroker.ReflectAdapterOnChangeDueJob.<RunBase>b__9_0(IOperationalAdapter adapter)

I am also having issue updating the IdB maangement agents after the update. FIM is able to successfully retrieve the interfaces but when I click ok on the Connectivity Tab it give me the following error:

Image 5456

FIM also produces the following error in the log:

The extensible extension returned an unsupported error.
The stack trace is:

"Unify.Product.IdentityBroker.LdapOperationException: The server forcefully terminated the connection with the following reason: Internal Server Error #11: Unify.Product.IdentityBroker.UnifyLDAPException: Could not retrieve a valid last change number.
at Unify.Product.IdentityBroker.RootDSEGenerator.GetLastChangeNumber()
at Unify.Product.IdentityBroker.RootDSEGenerator.AddLastChangeNumber(IDictionary`2 resultAttributes)
at Unify.Product.IdentityBroker.RootDSEGenerator.BuildRootDseEntry(HashSet`1 attributes)
at Unify.Product.IdentityBroker.RootDSERequestHandler.HandleRequest(IRfcLdapMessage message, CancellationToken token, Action`1 postAction)
at Unify.Product.IdentityBroker.RequestHandlerAuditingDecorator.HandleRequest(IRfcLdapMessage message, CancellationToken token, Action`1 postAction)
at Unify.Product.IdentityBroker.LDAPConnection.d__35.MoveNext() - Result Code: Other ---> Unify.Product.IdentityBroker.LdapServerException: The server forcefully terminated the connection with the following reason: Internal Server Error #11: Unify.Product.IdentityBroker.UnifyLDAPException: Could not retrieve a valid last change number.
at Unify.Product.IdentityBroker.RootDSEGenerator.GetLastChangeNumber()
at Unify.Product.IdentityBroker.RootDSEGenerator.AddLastChangeNumber(IDictionary`2 resultAttributes)
at Unify.Product.IdentityBroker.RootDSEGenerator.BuildRootDseEntry(HashSet`1 attributes)
at Unify.Product.IdentityBroker.RootDSERequestHandler.HandleRequest(IRfcLdapMessage message, CancellationToken token, Action`1 postAction)
at Unify.Product.IdentityBroker.RequestHandlerAuditingDecorator.HandleRequest(IRfcLdapMessage message, CancellationToken token, Action`1 postAction)
at Unify.Product.IdentityBroker.LDAPConnection.d__35.MoveNext() - Result Code: Other
at Unify.Product.IdentityBroker.LdapConnection.GetMessage(Int32 messageId)
at Unify.Product.IdentityBroker.SearchRequest.Send(Func`2 send, Func`2 recv)
at Unify.Product.IdentityBroker.LdapConnection.SendRequest(ILdapRequest request)
--- End of inner exception stack trace ---
at Unify.Product.IdentityBroker.LdapConnection.SendRequest(ILdapRequest request)
at Unify.Product.IdentityBroker.LdapConnectionProxy.<.ctor>b__3_0()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at Unify.Product.IdentityBroker.LdapConnectionProxy.<>c__DisplayClass3_0.<.ctor>b__2()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at Unify.Product.IdentityBroker.LdapConnectionProxy.get_LdapSchema()
at Unify.Product.IdentityBroker.LdapConnectionProxy.get_Schema()
at Unify.Product.IdentityBroker.UnifyLdapConnectorTypeProxy.GetSchema(KeyedCollection`2 configParameters)
Forefront Identity Manager 4.1.3646.0"


Thanks

Fixed

Hi Guys,

Apologies these issues were due to a old patch existing in the Identity Broker Patches directory. I removed this and restarted the service, now all this working.

Thanks,

Hayden