When trying to switch a mailbox manually or via the MSA the switching works, but no hidden switch message is being placed inside the mailbox, thus causing EMWProf / CPUU to fail with the following log entry:
"Switch message was not found"
When examining the extended EMWMigration log or MSA log it is visible that the last step before producing an error is the enumeration of Domain Controllers.
EMWMigration Log:
1/9/2012 12:36:42 PM MMExCore|Quest.MigrationManager.Exchange.Informer.informer_WriteLogInfo Message: Severity: 5| Source: EMWLDAP40::LDAPSearcher::Retrieve| Number: 5108 - Prepare DS search. BaseDN: 'DC=contoso,DC=com'| Scope: 2| Filter: '(&(&(&(samAccountType=805306369)(primaryGroupID=516)(objectCategory=computer))))' |External source: aeEMWGUIForms.CMBRedir.Log event
1/9/2012 12:36:42 PM MMExCore|Quest.MigrationManager.Exchange.Informer.informer_WriteLogError Error: 0 - (Source: EMWLDAP40::LDAPOperations::GetDCCollection| Number: 91 - Object variable or With block variable not set | Source: aeEMWGUIForms.CMBRedir.Log event)
MSA log:
CMBMSwitcher::NotifyProf TraceMsg 4851 Posting EMWProf switch notification message to the mailbox 'XXX'.
EMWLDAP40::LDAPOperations::GetRootDSEInfo TraceMsg 5110 Retrieve info from RootDSE. Getting RootDSE
EMWLDAP40::LDAPOperations::GetDCCollection Error 91 Object variable or With block variable not set
When using LDAP and using the same filter (&(&(&(samAccountType=805306369)(primaryGroupID=516)(objectCategory=computer)))) it works as expected.
In this particular case the issue was caused by the OU “Doman Controllers” containing a DC which didn’t have some of the attributes, eg. the dNSHostName attribute or the networkAddress attribute.
Verify if all the DC’s returned by the LDAP query have the dNSHostName attribute set.
LDIFDE can be used to run this LDAP query and output the resulting objects and their attributes to a text file as follows:
LDIFDE -f output.txt -r "(&(samAccountType=805306369)(primaryGroupID=516)(objectCategory=computer))"
Compare the attributes of each object in the output file to see if any are invalid or missing.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center