Hi
I once had such a logical filename but it was deleted. Now that i have rebuilt the DBs and i want to use this name, it says in use but there is no evidence of this:
Error: The logical file name "Archive_Log" is already in use. Choose a different name. (.Net SqlClient Data Provider)
Checks:
SELECT DB_NAME(database_id) AS DatabaseName,
name AS LogicalFileName,
physical_name AS PhysicalFileName
FROM sys.master_files AS mf
ORDER by name
ArchiveArchive_DataD:\SQLData\Archive_Data.mdf
ArchiveArchive_IndexD:\SQLData\Archive_Index.ndf
ArchiveArchive_log_PrimaryD:\SQLLogs\Archive_Log.ldf
There is no Archive_Log so why can't I rename Archive_log_Primary to it?
Thanks
Mike