Error "Cannot update the agent's database" Pops up after installing Mail, PF, FB, or Calendar Agent and attempting to commit changes.
The following is found in the Emwmigration.log
"aeEMWCommit::CFBJob::BeforeUpdate Host Update: Cannot connect to the Source Agent's database.
aeEMWCommit::CFBJob::CommitChanges Error: (An error occurred while performing BeforeUpdate."
Restart the WMI (Windows Management Instrumentation) service on in services.msc on whichever server is referenced by the error found in the Emwmigration.log and commit changes once again.
For further informaiton on WMI (Windows Management Instrumentation) please see this Microsoft article.