Verify that the DomainAccount user that has access rights to the docgen database also has access rights to the Expere Database.