asp.net - ADO.Net Connection Pooling with an MSSQL Account that is Disabled -
in our production environment have database every 30 minutes restored vendor's log shipping backup. when restore happens, our sql auth account disabled, database restored , account re-enabled.
a problem occurs when connection pool fresh , attempt connect disabled account. bad connection pooled (i assume) , next 1 3 hours every connection throws sqlexception [sqlexception: login failed user 'xxxxx'. reason: account disabled.]
even though, can connect database via ssms , application pool reset fixes issue.
is there fix other disable pooling?
Comments
Post a Comment