I have problems with database after reconnecting a hard disk:
.Net application works with database.
Disconnect hard disk with physical files.
Make any request to the database (of course we will have an exception,
Unable to open the physical file).
Reconnect hard disk.
Any query to the database in the future will still throw an exception,
Unable to open the physical file.
How can I recover connection with physical files without restarting the SQL Server service?