Solved

error 9003

Posted on 2004-08-16
5
336 Views
Last Modified: 2008-02-01
/////////////////////////////
I am using the follwing syntax to attach the database

EXEC sp_attach_db @dbname = N'<bpl>',
   @filename1 = N'd:\newdatafiles\bpl_2000_data.mdf',
   @filename2 = N'd:\newdatafiles\bpl_2000_log.ldf'

When I am doing so I am getting the following error
---
Server: Msg 9003, Level 20, State 1, Line 1
The LSN (70:729:1) passed to log scan in database 'bpl' is invalid.
Connection Broken
---
/////////////////////////////

I got this problem too, and i already read all helper's comment. The next question is, how can i attach this database
again to sql server???  
0
Comment
Question by:shadow2004
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 5

Expert Comment

by:amit1978
ID: 11808505
Probably use the option provided by enterprise sql server to attech the database.

Amit Jain
0
 

Author Comment

by:shadow2004
ID: 11809115
i has been try it but the error message stiil appear.
0
 
LVL 34

Accepted Solution

by:
arbert earned 500 total points
ID: 11814219
This usually means the logfile is corrupted or invalid.  Have you verified the SQL Server version for the destination server is the SAME (or newer) version as the source SQL Server?  If they aren't equivelent versions, you'll get this error too.

Brett
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

726 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