Assertion corruption when importing data ?
I work on SQL server 2000. I have decided to transfer large volume of data in to my SQL Server Tables from any other database management system. I don\'t want to use command prompt for this so instead of using BCP (Bulk Copy Program) utility for this purpose I used ‘Bulk Insert\' T-SQL” command. When I executed “Bulk Insert” T-SQL” command to import data then my SQL MDF files become inaccessible and I got some error message. Then I use BCP command line utility for this purpose but failed. And got same error message –
“Server: Msg 823, Level 24, State 2, Procedure gfspTMAppendText, Line 20 I/O error (bad page ID) detected during read at offset 0x0000000024e000 in file \'C:\\Program Files (x86)\\Microsoft SQL Server\\MSSQL\\data\\REPRO.mdf\'”
And in the server error log I got the error message like—
“DateTime spid53 SQL Server Assertion: File: <SpcAlloc.cpp>, line=466 Failed Assertion = \'0\'.”
I run DBCC Checkdb command to check corruption has occurred or not. When I execute this then I receive some error message like-
“ Server: Msg 8909, Level 16, State 1, Line 1 Table error: Object ID 0, index ID 0, page ID (1:105). The PageId in the page header = (0:0).”
Now, what I do to come up from the database corruption. I need my data back, seriously. Pl. suggest me any way to repair and recover my SQL Server database.


