Msg 8985, Level 16, State 1, Line 2
Could not locate file 'ExampleDB_log' for database 'ExampleDB' in sys.database_files. The file either does not exist, or was dropped.
Check how much of your transaction log is used:
SELECT f.file_id, f.name AS file_name, f.type_desc,
f.physical_name, f.size/128 AS size_MB,
FILEPROPERTY(f.name, 'SpaceUsed')/128 AS used_MB,
f.size/128 - FILEPROPERTY(f.name, 'SpaceUsed')/128 AS available_MB,
CASE WHEN f.is_percent_growth = 1 THEN f.growth ELSE f.growth / 128 END AS growth,
FROM sys.database_files f;
If there is space that is not used, you can try the shrink. If you're not sure the name of the log file, you can use the file id, which will always be 2 for the transaction log. Take a transaction log backup and then run:
DBCC SHRINKFILE (2, 0);
Again as Jeffrey says, it will only shrink log files if the virtual logs in the end of the file are not in use.