Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

DB properties grayed out after renaming files

$
0
0
I am playing around with an AdventureWorks 2014 Database and I went to rename the logical and physical file using SSMS and succeeded at renaming both. I tried to bring the database back online afterwards but now the Database is in a Recovery Pending state with the following error 

File activation failure. The physical file name "C:\Program Files\Microsoft SQL Server\MSSQL12.SQLEXPRESS14\MSSQL\DATA\AdventureWorks2014_Log.ldf" may be incorrect.

It's physically there..... I had just renamed it and the data shouldn't be altered but how do I set it as a primary database file? If I right click on the DB "properties" is greyed out.

Viewing all articles
Browse latest Browse all 4689

Trending Articles