I had a weird situation this morning
On one of my test systems, I tried running the following command to shrink my log file
I received this errorCould not locate file 'filename' for database 'database_name' in sys.database_files. The file either does not exist, or was dropped.
I checked and the file does exist.
I ran a full Consistency Check (DBCC CHECKDB) and that seems to have fixed the problem.
Has anyone else come across this before? Should I be worried?