Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

SQL Detaching Issues

$
0
0

A customer of mine is having some SQL issues with some DBs.  After they had a power outage some of the dbs wont come up on start.   I have to mark them offline then online for them to work and now after any reboot a set of dbs don't start without manual intervention.  

All the databases on startup of SQL in the morning get:

 Unable to open the physical file "E:\Program Files (x86)\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\database.mdf". Operating system error 3: "3(The system cannot find the path specified.)".

But after I manually set the detached db to offline then online again it works fine. 

Note the E drive is an actual path and not the goofy E drive error SQL gets sometime.

Thanks all ! 


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>