Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

Repair / recover database that is unable to be attached

$
0
0

Hi,

I had some hardware problems on the database server where I'm working. After restarting the server, I can't attach any database to an SQL Instance. I'm not sure what to do because without being able to attach it, I can't dbcc it. Is there any SQL Server native tool or command that can help? What options do I have? (error message when I try to attach is bellow).

Thank you

TITLE: Microsoft SQL Server Management Studio
------------------------------

Attach database failed for Server 'LT105996'.  (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.0.4064.0+((Katmai_SP2_GDR).110225-1353+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Attach+database+Server&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

Could not redo log record (585:2858:3), for transaction ID (0:480869), on page (1:302), database 'HYP_PLN' (database ID 9). Page: LSN = (422:770:2), type = 1. Log: OpCode = 4, context 2, PrevPageLSN: (585:2800:3). Restore from a backup of the database, or repair the database.
During redoing of a logged operation in database 'HYP_PLN', an error occurred at log record ID (585:2858:3). Typically, the specific failure is previously logged as an error in the Windows Event Log service. Restore the database from a full backup, or repair the database.
Could not open new database 'HYP_PLN'. CREATE DATABASE is aborted. (Microsoft SQL Server, Error: 3456)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=3456&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

 



Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>