We had a power failure/power surge that killed our SQL server. The server has been rebuilt, Windows installed, and SQL 2008 installed (not R2), and patched to SP3.
SQL mdf and ldf files were restored from a backup but not the FTDATA folder containing full text catalogs. Now I am unable to attach the databases without the FTDATA.
Using the SSMS GUI to attach, I get a "Not Found" error on the FTDATA file and options to "Add Catalog" or "Remove" are grayed out.
Using T-SQL script:
exec sp_attach_db 'Data_01'
, 'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\Data_01.mdf'
, 'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\Data_01_log.ldf'
I get error:
Msg 5120, Level 16, State 5, Line 1
Unable to open the physical file "C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\FTData\ftrow_TEST{CB9A8CC5-68C9-4569-BD3B-1EAE5A252A2F}.ndf". Operating system error 2: "2(The system cannot find the file specified.)".
Msg 1813, Level 16, State 2, Line 1
Could not open new database 'Data_01'. CREATE DATABASE is aborted.
Again, the FTDATA folder was NOT restored so is unavailable. Can I attach without it?
Thanks.