The main web application on port 80 was running on sysadmin
account in application. I changed identity to Domain user
account. Added that user to config
and admin
databases as db owner
and securityadmin
.
From that onward website is displaying
Cannot connect to the configuration database.
I added domain user
into farm admin group also. Still did not worked.
I changed back to sysadmin
account and working fine. But I don't want use sysadmin account.