Dear All,
Hi. I have a server with the following installed:
Windows server 2008 R2 SP1
SQL Server 2008 R2
My production database was "mydb"
The production database files were stored as below :
1) "mydb.ndf" file was stored at "C:\Program Files\Microsoft SQL
Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\mydb.ndf"
2) "mydb.mdf" and "mydb.ldf" files were stored at
D:\myfolder
Due to some reasons the Hard disk crashed and I lost my C:\ drive leaving me
with only the ".mdf" and ".ldf" database files.
I have re-installed the Windows server 2008 R2 SP1 and SQL Sever 2008 R2. Now
when I try to "re-attach" "mydb", by following method :
Right click Databases-Attach-Add, select the .mdf file and click OK
I get the following error :
"Unable to open the physical file C:\Program Files\Microsoft SQL
Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\mydb.ndf"....