Solved

error 9003

Posted on 2004-08-16
5
331 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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
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…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

808 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