Showing posts with label attaching. Show all posts
Showing posts with label attaching. Show all posts

Friday, March 30, 2012

HELP! with coruppted mdf-File

Have a BIG Problem with attaching a mdf-File to my MSDE! While attaching the
following error appears:
"The Header for this File is not a valid Database-Header. The
'PageAudit-attribute' is wrong.

How can I attache (repair) this mdf file?

Thank you for awnsers

Michael Lorenz"Michael Lorenz" <Lorenz-m@.t-online.de> wrote in message
news:beehcs$d4p$02$1@.news.t-online.com...
> Have a BIG Problem with attaching a mdf-File to my MSDE! While attaching
the
> following error appears:
> "The Header for this File is not a valid Database-Header. The
> 'PageAudit-attribute' is wrong.
> How can I attache (repair) this mdf file?
> Thank you for awnsers
> Michael Lorenz

Is the version of MSSQL where you detached the files the same as the one
where you are attaching them? You can attach SQL7 files to a SQL2000 server,
but not the reverse.

Also, there is a very hardware-specific issue which gives this error, but it
might apply to you:

http://support.microsoft.com/defaul...kb;en-us;268481

Simon

Monday, March 19, 2012

HELP! I/O error (torn page) when attaching mdf and ldf files

We are using cloning software to directly backup the mdf and ldf files. I am
testing a restore of these files by using sp_attach_db.
When I do this I am receiving an error on the ldf file: See below:
Server: Msg 823, Level 24, State 6, Line 1
I/O error (torn page) detected during read at offset 0000000000000000 in
file 'D:\Data\FRPP01_log.ldf'.
Connection Broken
Please help........Your clone is no good. It was taken during while a page was partially
written.
You need to have your clone software interact with the SQL VDI (Virtual
Device Interface) that will quiesce database writes for a moment while the
clone occurs. You need to contact your clone software vendor to see if they
support this technology and if so, how to enable it for your environment.
--
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"Kristen" <Kristen@.discussions.microsoft.com> wrote in message
news:3ED62BD7-738E-4399-A845-98BA25919E53@.microsoft.com...
> We are using cloning software to directly backup the mdf and ldf files. I
> am
> testing a restore of these files by using sp_attach_db.
> When I do this I am receiving an error on the ldf file: See below:
> Server: Msg 823, Level 24, State 6, Line 1
> I/O error (torn page) detected during read at offset 0000000000000000 in
> file 'D:\Data\FRPP01_log.ldf'.
> Connection Broken
> Please help........

HELP! I/O error (torn page) when attaching mdf and ldf files

We are using cloning software to directly backup the mdf and ldf files. I a
m
testing a restore of these files by using sp_attach_db.
When I do this I am receiving an error on the ldf file: See below:
Server: Msg 823, Level 24, State 6, Line 1
I/O error (torn page) detected during read at offset 0000000000000000 in
file 'D:\Data\FRPP01_log.ldf'.
Connection Broken
Please help........Your clone is no good. It was taken during while a page was partially
written.
You need to have your clone software interact with the SQL VDI (Virtual
Device Interface) that will quiesce database writes for a moment while the
clone occurs. You need to contact your clone software vendor to see if they
support this technology and if so, how to enable it for your environment.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"Kristen" <Kristen@.discussions.microsoft.com> wrote in message
news:3ED62BD7-738E-4399-A845-98BA25919E53@.microsoft.com...
> We are using cloning software to directly backup the mdf and ldf files. I
> am
> testing a restore of these files by using sp_attach_db.
> When I do this I am receiving an error on the ldf file: See below:
> Server: Msg 823, Level 24, State 6, Line 1
> I/O error (torn page) detected during read at offset 0000000000000000 in
> file 'D:\Data\FRPP01_log.ldf'.
> Connection Broken
> Please help........

HELP! I/O error (torn page) when attaching mdf and ldf files

We are using cloning software to directly backup the mdf and ldf files. I am
testing a restore of these files by using sp_attach_db.
When I do this I am receiving an error on the ldf file: See below:
Server: Msg 823, Level 24, State 6, Line 1
I/O error (torn page) detected during read at offset 0000000000000000 in
file 'D:\Data\FRPP01_log.ldf'.
Connection Broken
Please help........
Your clone is no good. It was taken during while a page was partially
written.
You need to have your clone software interact with the SQL VDI (Virtual
Device Interface) that will quiesce database writes for a moment while the
clone occurs. You need to contact your clone software vendor to see if they
support this technology and if so, how to enable it for your environment.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"Kristen" <Kristen@.discussions.microsoft.com> wrote in message
news:3ED62BD7-738E-4399-A845-98BA25919E53@.microsoft.com...
> We are using cloning software to directly backup the mdf and ldf files. I
> am
> testing a restore of these files by using sp_attach_db.
> When I do this I am receiving an error on the ldf file: See below:
> Server: Msg 823, Level 24, State 6, Line 1
> I/O error (torn page) detected during read at offset 0000000000000000 in
> file 'D:\Data\FRPP01_log.ldf'.
> Connection Broken
> Please help........

Monday, March 12, 2012

HELP! Error attaching DB

Hi!
When I try Attach a DB I have this error:
Error: 3624
Location: recovery.c:2440
Expression: seenCKptEnd
SPID: 51
Process ID: 1344
Any idea ?
Excuse my English.
Thanks in advance.
Joao Pinto
Which version and Service Pack level are you on?
And has the DB been detached using sp_detach_db or Enterprise Manager (which
uses sp_detach_db behind the scenes)? If you try to attach a database that
has not been explicitly detached, it might not work.
Jacco Schalkwijk
SQL Server MVP
"Joao Pinto" <joao.pi@.mail.telepac.pt> wrote in message
news:nrrpb090vp3udue0t19qvobjqj7nsd34o5@.4ax.com...
> Hi!
> When I try Attach a DB I have this error:
> Error: 3624
> Location: recovery.c:2440
> Expression: seenCKptEnd
> SPID: 51
> Process ID: 1344
>
> Any idea ?
>
> Excuse my English.
> Thanks in advance.
> Joao Pinto
|||I'm getting the same error. I've tried the suggested steps for
recovering a database, but the problem seems to be a real bug. Any
updates on this issue?
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
|||So, did you detach the database first? Are you on the same version and service pack? Attach should work if you
are on the same version (and service pack for system databases) and you first detached the database. If not,
you should open a case with MS PSS.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"David Rairigh" <drairigh@.allinview.com> wrote in message news:u$7xEAxTEHA.2972@.TK2MSFTNGP12.phx.gbl...
> I'm getting the same error. I've tried the suggested steps for
> recovering a database, but the problem seems to be a real bug. Any
> updates on this issue?
> *** Sent via Devdex http://www.devdex.com ***
> Don't just participate in USENET...get rewarded for it!
>
|||Actually, the order of events was:
<OL>
<LI>Was working on db in evening
<LI>Following morning, system drive was full from another transfer
process when the system re-booted.
<LI>When SQL Server started, <database> was marked as suspect.
<LI>Error was same as reported above.
<LI>Tried to reset the status using sp_ResetStatus
<LI>Even after resetting status and re-starting system, continued
received the subject error.
<LI>Tried detaching. Database detached, with error (don't remember
specific error)
<LI>Couldn't re-attach db, received the subject error
<LI>Tried updating to sp3, tried different machine, same error.
</OL>
Finally, gave up and re-scripted the database. Haven't got time to do
research on it. Now I'm simply insuring that I have backups of the dbs
in development <i>and</i> production.<br>
I don't know that the low disk space caused the problem, but it seems
the most like culprit as the <i>start</i> of the problem.
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!