November 12, 2004 at 2:03 am
Hi,hello
I used the physical file to attach the database:
sp_attach_db db,path of .mdf,path of .ldf
The returned message was :
The LSN (45512:185:1) passed to log scan in database 'db' is invalid.
What's matter? How it's to solve?
Thanks in advance
November 15, 2004 at 8:00 am
This was removed by the editor as SPAM
November 15, 2004 at 1:52 pm
I would try attaching the DB using a single file
exec sp_attach_single_file_db 'dbname',
'pathname\dbname_data.mdf'
This will create a new log file so you will need to rename your old log file.
November 15, 2004 at 3:48 pm
Here is another thread
http://www.sqlservercentral.com/forums/shwmessage.aspx?messageid=105032
Also, what SP are you running there was a bug with restores and attaching databases that was fixed in I want to say SP3
Wes
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply