You are here: Attaching MDF without LDF « MsSQL Server « IT news, forums, messages
Attaching MDF without LDF

Posted by Taqyon on 10/28/75 11:30

Hi Guys

I'm recovering from a hard disk crash, trying to reattach recovered
files.

The MDF file seems fine, but I get:

"Server: Msg 9004, Level 23, State 1, Line 1
An error occurred while processing the log for database
'NetCoverAdmin'."

when I try to include the LDF file. My command was:

EXEC sp_attach_db @dbname = N'NetCoverAdmin',
@filename1 = N'c:\Program Files\Microsoft SQL
Server\MSSQL\Data\NetcoverAdmin_Data.MDF',
@filename2 = N'c:\Program Files\Microsoft SQL
Server\MSSQL\Data\NetcoverAdmin_Log.LDF'

Is there any way I can restore the database without the LDF file?

My backups where on another disk that mysteriously failed at the same
time, so I have to work what I got...

Any help appreciated!!

Thanks

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация