Solved

Attaching database fail , Error 9003 The LSN passed to log scan in database is invalid.

Posted on 2009-04-01
3
8,093 Views
Last Modified: 2012-06-27
Client just had a lock up on Friday and unable to start MSSQL service due to what appeared is a copurpt Master database. When through the steps to recover and restore the master database. SQL service now loading and able to view database in EM. Howerver, 2 of the 3 were showing the status as "suspect". So I de-tached one of them and went to re-attach and get the following error:

"Error 9003: The LSN(##:##:##) passed to log scan in database 'databasename' is invalid."

So I suspect what ever happened on friday also caused a problem with the databases in question. I think we can restore those from back up. But do I have anything else I can try for now?
0
Comment
Question by:Thirt
  • 2
3 Comments
 
LVL 4

Author Comment

by:Thirt
ID: 24042586
MS SQL Server 2000
0
 
LVL 25

Accepted Solution

by:
reb73 earned 500 total points
ID: 24043053
Your log files may be corrupted as well, causing the database to be marked suspect when recovering logs..

Try attaching only the mdf files to see if it works for you.. Also have a look at the link below -

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=78376
0
 
LVL 4

Author Comment

by:Thirt
ID: 24051383
Tried to attach without the log file and same problem. I guess we just need to restore last good back up.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now