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.
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.