Quantcast
Viewing all articles
Browse latest Browse all 15889

Attaching a db - missing log (ldf)

Hello,

I'm trying to re-attach sqlserver 2005 db.  I have the mdf file but I don't have the log file.  When I try to attach, I get the appended error.

Is there anyway, around this?

Thanks

Houman

 

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

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

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&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 open new database 'fuzzy'. CREATE DATABASE is aborted.
File activation failure. The physical file name "C:\bin\dev\sqlServer2005\MSSQL.1\MSSQL\DATA\fuzzy_log.ldf" may be incorrect.
The log cannot be rebuilt because the database was not cleanly shut down. (Microsoft SQL Server, Error: 1813)

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

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

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


Viewing all articles
Browse latest Browse all 15889

Trending Articles



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