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

Popular posts from this blog

gridview - Yii2 DataPorivider $totalSum for a column -

java - Suppress Jboss version details from HTTP error response -

Sass watch command compiles .scss files before full sftp upload -