Event ID - 5108

Event Id5108
SourceMSSQLServer
DescriptionLog file '%.*ls' does not match the primary file. It may be from a different database or the log may have been rebuilt previously.
Event Information"According to Microsoft

Cause:
The locations of all the files in a database are recorded in both the master database and the primary file for the database. You will see the above error if the information stored in the primary file points to a log file that does not exist or to a log file whose header informatino does not indicate that it is part of the same database as the primary file.
Resolution:
If you see this error when you try to restore or attach a database:
1.Verify that you have specified the correct file names.
2.Verify that you have specified the correct path.
3.Verify that all files specified belong to the same physical database.
4.If the specified file has been copied from another location, verify that the copy completed successfully.
If you see this error in the SQL Server error log after your database has been marked suspect:
1.Verify that the file specified in the message still exists in the expected location.
2.Verify that there is available disk space on the drive where the file resides.
3.Restore from a known good backup.
For additional help to resolve this error, contact Microsoft Product Support Services."
Reference LinksEvent Id:5108 of Source Id:MSSQLServer

Catch threats immediately

We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.