<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8412057133034475655</id><updated>2012-01-24T23:15:13.882-08:00</updated><category term='MDF Repair'/><category term='SQL Database recovery'/><category term='SQL Recovery'/><category term='transfer sql server'/><category term='MDF Recovery'/><category term='restore sql server'/><category term='data backup'/><category term='mdf file repair'/><category term='Recover SQL'/><category term='error 9002'/><category term='mdf database recovery'/><category term='mdf database repair'/><category term='transaction log file'/><category term='Sql Repair. MDF Repair'/><category term='repair mdf'/><category term='mdf file recovery'/><category term='start sql server'/><category term='open failed error'/><category term='repair sql'/><category term='error open failed'/><category term='page corruption'/><category term='repair suspect sql database'/><category term='SQL Repair'/><category term='error 5173'/><category term='recover mdf'/><category term='repair mdf file'/><category term='sql data backup'/><category term='error 5171'/><category term='MS SQL Recovery'/><category term='backup'/><title type='text'>MDF File Recovery</title><subtitle type='html'>Stellar Phoenix SQL Database Recovery Software Recover And Repair Corrupt &amp;amp; Damaged MDF File.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>55</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-3242745190345137315</id><published>2012-01-24T23:10:00.000-08:00</published><updated>2012-01-24T23:15:13.914-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='repair suspect sql database'/><title type='text'>Discussing ways to easily recover SQL Server 2000 suspect database</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;title&gt;&lt;/title&gt;    &lt;style type="text/css"&gt; &lt;!--  @page { margin: 2cm }  P { margin-bottom: 0.21cm } --&gt; &lt;/style&gt;  &lt;br /&gt;&lt;div align="LEFT" style="margin-bottom: 0cm;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: normal;"&gt;MS SQL Server 2000 is widely used all over the world as the data storage component of several large websites. It is a cross-platform application that supports various advanced and user-friendly features, such as Microsoft search service, federated servers, indexed views, etc. It can help you achieve the desired performance levels required for running large web applications. However, an SQL database may occasionally become corrupt. The potential reasons responsible for this corruption are virus infection, hardware errors, abnormal system shutdown, etc. As a consequence, all valuable objects in the database become inaccessible. To overcome this problem, you need to go for &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;SQL recovery&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: normal;"&gt; through a reliable third-party utility.    &lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="LEFT" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="LEFT" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;span style="font-size: small;"&gt;Suppose, you use MS SQL Server 2000. While trying to access one of your databases, you may receive the following error message on your screen:   &lt;/span&gt; &lt;/div&gt;&lt;div align="LEFT" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="LEFT" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 150%; margin-bottom: 0cm; orphans: 2; widows: 2;"&gt;&lt;span style="color: #333333;"&gt;“&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-size: small;"&gt;&lt;i&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="color: blue;"&gt;96/11/18 10:48:32.60 kernel udopen: Operating System Error 32 (The process cannot access the file because it is being used by another process.) during the creation/opening of physical device,&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;C:\DATA\SQL\MSDB.DAT (or C:\DATA\SQL\MSDB.MDF)&lt;/span&gt;”&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-weight: normal; line-height: 150%; margin-bottom: 0cm; orphans: 2; widows: 2;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-style: normal; font-weight: normal; line-height: 150%; margin-bottom: 0cm; orphans: 2; widows: 2;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-style: normal;"&gt;&lt;b&gt;Cause&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="font-weight: normal;"&gt;:&lt;/span&gt;&lt;/span&gt; The above error occurs because you are trying to access a database that is &lt;a href="http://sql-server-recovery.blogspot.com/2010/10/repair-restore-sql-server-database-from.html"&gt;marked as 'suspect'&lt;/a&gt;. There could be a number of reasons responsible for this, such as database corruption, missing device driver, database being moved to another location, etc. &lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;div style="font-style: normal; font-weight: normal; line-height: 150%; margin-bottom: 0cm; orphans: 2; widows: 2;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-style: normal; font-weight: normal; line-height: 150%; margin-bottom: 0cm; orphans: 2; widows: 2;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-size: small;"&gt;This would render your SQL database inaccessible and lead to severe data loss. At this stage, you may use an updated backup to restore the database. However, if the backup is unavailable, you should follow the below mentioned resolution steps. &lt;/span&gt;&lt;span style="font-style: normal;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-style: normal;"&gt;&lt;b&gt;Resolution&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="font-weight: normal;"&gt;:&lt;/span&gt;&lt;/span&gt; You can try to resolve the issue by following any of the given methods: &lt;/span&gt; &lt;/div&gt;&lt;div style="font-style: normal; font-weight: normal; line-height: 150%; margin-bottom: 0cm; orphans: 2; widows: 2;"&gt;&lt;span style="color: #333333;"&gt; &lt;/span&gt; &lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div style="font-style: normal; font-weight: normal; line-height: 150%; margin-bottom: 0cm; orphans: 2; widows: 2;"&gt;&lt;span style="font-size: small;"&gt;Make sure that your system has all the necessary device  driver files. &lt;/span&gt;  &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div style="font-style: normal; font-weight: normal; line-height: 150%; margin-bottom: 0cm; orphans: 2; widows: 2;"&gt;&lt;span style="font-size: small;"&gt;If your SQL database is corrupt, you need to follow the  given procedure. &lt;/span&gt;  &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;div style="font-weight: normal; line-height: 150%; margin-bottom: 0cm;"&gt;&lt;span style="font-size: small;"&gt;First, drop and recreate all indexes in your database.   &lt;/span&gt;  &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div style="font-weight: normal; line-height: 150%; margin-bottom: 0cm;"&gt;&lt;span style="font-size: small;"&gt;Create a new database table and copy all records from  the original table to this newly created table.   &lt;/span&gt;  &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div style="font-weight: normal; line-height: 150%; margin-bottom: 0cm;"&gt;&lt;span style="font-size: small;"&gt;Now, update the statistics.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div style="font-weight: normal; line-height: 150%; margin-bottom: 0cm;"&gt;&lt;span style="font-size: small;"&gt;Run the following command: &lt;/span&gt;  &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="line-height: 150%; margin-bottom: 0cm; margin-left: 1.98cm; text-indent: -0.64cm;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: normal;"&gt;'&lt;b&gt;DBCC UPDATEUSAGE&lt;/b&gt;'.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div style="line-height: 150%; margin-bottom: 0cm;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: normal;"&gt;Finally,  run the '&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;b&gt;sp_recompile&lt;/b&gt;'  procedure&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: normal;"&gt;  &lt;/span&gt;&lt;/span&gt;  &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="font-weight: normal; line-height: 150%; margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-weight: normal; line-height: 150%; margin-bottom: 0cm;"&gt;&lt;span style="font-size: small;"&gt;If the problem still persists, you should take help from a competent SQL server recovery tool. These third-party software are proficient in repairing corrupt SQL databases to recover valuable objects, including tables, views, indexes, constraints, triggers, stored procedures, etc. They allow you to take a sneak peek at the database objects prior to recovery.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-3242745190345137315?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/3242745190345137315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2012/01/discussing-ways-to-easily-recover-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/3242745190345137315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/3242745190345137315'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2012/01/discussing-ways-to-easily-recover-sql.html' title='Discussing ways to easily recover SQL Server 2000 suspect database'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-7718319232834325636</id><published>2011-12-27T22:37:00.000-08:00</published><updated>2011-12-27T22:41:39.218-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='error 9002'/><title type='text'>How to troubleshoot SQL server Error 9002</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;title&gt;&lt;/title&gt;    &lt;style type="text/css"&gt; &lt;!--  @page { margin: 2cm }  P { margin-bottom: 0.21cm } --&gt; &lt;/style&gt;  &lt;br /&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;span lang="en-US"&gt;SQL server database mainly contains two files, one is data file &amp;amp; another is log file. Data file contains the information about data while log file contains the information about transactions in the database. In simple recovery model, log files are managed automatically but in case of bulk-logged &amp;amp; full recovery model database administrators are responsible to manage the size transaction log file. You can perform this by shrinking the transaction log file.&lt;/span&gt;&lt;span lang="en-US"&gt;   &lt;/span&gt; &lt;/div&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Sometimes, SQL server database generates an error message 9002 when it found insufficient log space. This error message will appear when SQL server database is online or in recovery mode. If database is online and struggling with log space problem then you can read the database but unable to do any update on it. If log fills during recovery then SQL server marks database in suspect mode.&amp;nbsp;&lt;/div&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-t3-cCRVYQng/Tvq4yvjw8NI/AAAAAAAAAD8/lLRtgfVMQWg/s1600/space+full.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="149" src="http://4.bp.blogspot.com/-t3-cCRVYQng/Tvq4yvjw8NI/AAAAAAAAAD8/lLRtgfVMQWg/s200/space+full.jpg" width="200" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Space Full&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;&lt;title&gt;&lt;/title&gt;    &lt;style type="text/css"&gt; &lt;!--  @page { margin: 2cm }  P { margin-bottom: 0.21cm } --&gt; &lt;/style&gt;  &lt;/div&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;&lt;b&gt;&lt;span style="background: none repeat scroll 0% 0% rgb(204, 204, 204);"&gt;The log file for database '%.*ls' is full. Back up the transaction log for the database to free up some log space.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&amp;nbsp;       &lt;title&gt;&lt;/title&gt;    &lt;style type="text/css"&gt; &lt;!--  @page { margin: 2cm }  P { margin-bottom: 0.21cm } -&lt;/style&gt;&lt;span lang="en-US"&gt;&lt;/span&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;&lt;span lang="en-US"&gt;&lt;b&gt;Work Around&lt;/b&gt;&lt;/span&gt;&lt;span lang="en-US"&gt;:As error message states, if the size of log file is full thenimmediately take the backup of database and issue some free space forthe log file. Now the point comes in your mind, how to perform this.To do this follow the below given steps:&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Backup the  transaction log.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Issue some disk  space.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Move the log file to  a disk drive (secondary storage media) with sufficient space.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Enlarge the log file.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;span lang="en-US"&gt;These are thepossible user action required to perform the &lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;SQL server recovery&lt;/a&gt;. Detail description is given below:&lt;/span&gt;&lt;/div&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;span lang="en-US"&gt;&lt;b&gt;Backup thetransaction log: &lt;/b&gt;&lt;/span&gt;&lt;span lang="en-US"&gt;If you are usingsimple recovery model then backup of transaction log is not possible.Take the backup of transaction log file, if you are using bulk-loggedor full recovery model.&lt;/span&gt;&lt;/div&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;span lang="en-US"&gt;&lt;b&gt;Issue some diskspace: &lt;/b&gt;&lt;/span&gt;&lt;span lang="en-US"&gt;Regardless of recovery models,freeing the disk space allow recovery system to enlarge thetransaction log file automatically.&lt;/span&gt;&lt;/div&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;span lang="en-US"&gt;&lt;b&gt;Move the log fileto a disk drive: &lt;/b&gt;&lt;/span&gt;&lt;span lang="en-US"&gt;If you are unable tofree some disk space to the transaction log file then move the logfiles to a disk drive with sufficient space.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-7718319232834325636?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/7718319232834325636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/12/how-to-troubleshoot-sql-server-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7718319232834325636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7718319232834325636'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/12/how-to-troubleshoot-sql-server-error.html' title='How to troubleshoot SQL server Error 9002'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-t3-cCRVYQng/Tvq4yvjw8NI/AAAAAAAAAD8/lLRtgfVMQWg/s72-c/space+full.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-4981494646277580588</id><published>2011-11-27T23:12:00.000-08:00</published><updated>2011-11-27T23:12:27.097-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='start sql server'/><title type='text'>Unable to Start MS SQL Server Database</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Database Users or administrators can start Microsoft SQL server database from the task bar. To start, go to the task bar, open sq server service manager and then click on the start button. Sometimes MS SQL server is not start through this method and give some error message like&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: #cccccc;"&gt;2011-11-20 10:15:39.87 server Microsoft SQL Server 2000 - 8.00.760 (Intel X86)&lt;/span&gt;&lt;br style="background-color: #cccccc;" /&gt;&lt;span style="background-color: #cccccc;"&gt;Dec 17 2002 14:22:05&lt;/span&gt;&lt;br style="background-color: #cccccc;" /&gt;&lt;span style="background-color: #cccccc;"&gt;Copyright (c) 1988-2003 Microsoft Corporation&lt;/span&gt;&lt;br style="background-color: #cccccc;" /&gt;&lt;span style="background-color: #cccccc;"&gt;Desktop Engine on Windows NT 5.1 (Build 2600: Service Pack 2)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Most possible reason for the above error message is “model is corrupt”. To resolve this, you can create a new copy of tempdb. This will fix the starting problem of SQL server database. If you still face the same problem then first of all make the backup of all MDF &amp;amp; LDF files. &lt;br /&gt;&lt;br /&gt;How to Make Backup when Unable to Start SQL Server? As we have discussed, you are unable to start sql server then take a backup of data &amp;amp; log files by below steps:&lt;br /&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Set SQL server service manual by Windows control panel.&lt;/li&gt;&lt;li&gt;Reboots the windows.&lt;/li&gt;&lt;li&gt;Copy all the data and log file to the another computer or any removable media.&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;Attention: &lt;span style="background-color: #cccccc;"&gt;Don't try any methods until you have backup&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Have Backup? If Yes then use another copy of sql server with same version and level to restore model database using model.mdf &amp;amp; model.ldf. After restore, detach model database from new sql server and copy the data &amp;amp; log files to replace problem server. It is little bit messy to &lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;recover SQL server&lt;/a&gt; but not hard. In simple words, we can say that you will have to perform three steps:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="background-color: #cccccc;"&gt;Restore--&amp;gt;Detach--&amp;gt;Copy (data &amp;amp; log files)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Doesn't Have Backup? If you don't have any backup of sql server database then it is recommended you to install a new copy of MS SQL server. When installation is complete the stop the service and copy the Model file to replace problem server.&lt;br /&gt;&lt;br /&gt;Summary: SQL server database starting problem can be resolved by two method, one is restore-detach and another is new installation. Restore-detach method is hard in comparison of new installation method but it is effective. &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-4981494646277580588?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/4981494646277580588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/11/unable-to-start-ms-sql-server-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/4981494646277580588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/4981494646277580588'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/11/unable-to-start-ms-sql-server-database.html' title='Unable to Start MS SQL Server Database'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-8078330587782381944</id><published>2011-11-01T04:05:00.000-07:00</published><updated>2011-11-01T04:05:25.271-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='page corruption'/><title type='text'>Exploring the concept of Page Corruption in MS SQL Server databases</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;      &lt;title&gt;&lt;/title&gt;    &lt;style type="text/css"&gt; &lt;!--  @page { margin: 2cm }  P { margin-bottom: 0.21cm } --&gt; &lt;/style&gt;  &lt;br /&gt;&lt;div style="margin-bottom: 0cm;"&gt;No matter how reliable your database seems to be, you always have issues on the performance grounds. More interestingly, I found out that many performance issues relate to page corruption in SQL Server. It would be good to understand here what exactly is meant by ‘BAD_PAGE_PROCESS’. It usually occurs when the background suspect page logger stops running after every five seconds because of a large number of suspect pages. If you want to checkout suspect pages, run the following T-SQL command:&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;“select * from msdb.dbo.suspect_pages”&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;I took the help of DBCC CHECKDB on a corrupt SQL database to find out the actual issue and whether it is able to resolve it. Ran the following command:   &lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;“DBCC CHECKDB (&lt;dbname&gt;) WITH ALL_ERRORMSGS, NO_INFOMSGS”&lt;/dbname&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;Got errors similar to this one:&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;“Table error: Allocation page (1:1002912) has invalid PFS_PAGE page header values. Type is 0. Check type, alloc unit ID and page ID on the page.”&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;The PFS pages can neither be deleted nor reconstructed as there is no easy way to examine which pages are allocated or not.  &lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;Now, I tried to view the contents of the page by using the ‘DBCC PAGE’ command as follows:&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;“dbcc traceon(3604)&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt; go&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt; dbcc page(&lt;dbname&gt;,1,1002854,0)”&lt;/dbname&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;After looking at the content of the page, I found that there was some corruption in the next page pointers. This seemed to be a bit weird as initially the next page pointer was like:&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;“m_nextPage = (1: 1002855)”&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;When I decided to look at the next page and ran:&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;“dbcc traceon(3604)&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt; go&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt; dbcc page('GBLDataWarehouse',1,1002855,0)&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt; go”  &lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;It was now pointing to page 0:&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;“m_nextPage = (0:0)” &amp;amp; “m_prevPage = (0:0)”&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;Finally, used a recent backup to restore the database and got it up and running once again. But again, it was wise to see where the issue occurred.  &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-8078330587782381944?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/8078330587782381944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/11/exploring-concept-of-page-corruption-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/8078330587782381944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/8078330587782381944'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/11/exploring-concept-of-page-corruption-in.html' title='Exploring the concept of Page Corruption in MS SQL Server databases'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-721965359495114666</id><published>2011-10-10T03:44:00.000-07:00</published><updated>2011-10-10T03:44:42.611-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='transaction log file'/><title type='text'>Transaction Log File &amp; Recovery Models</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;SQL Server transaction log file is used to store recent database transactions. When you modify or alter any entity in SQL server database then it will be result in a write action in the transaction log file. Generally we do several activity on the SQL server database like add, delete, rename, update, insert and many more and this will also be the result of write action in the transaction log file but a read action on the SQL server database does not change the transaction log file. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Does recovery models affect transaction log?&amp;nbsp; &lt;/b&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;The answer is NO. Recovery models (simple, full &amp;amp; bulk-logged) do not affect what has written into the transaction log but it effects the time period of entries that present in the transaction log, detail description is as follows: &lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;Simple Recovery Model&lt;/b&gt;: In this recovery model, transaction log entries are keeping for the database integrity not for the &lt;b&gt;&lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;database recovery&lt;/a&gt;&lt;/b&gt; purpose. When we run checkpoint operation on the transaction log files then all the inactive entries are deleted and space is ready for reuse. It is also the best way to manage the size of transaction log file but you can prefer another way also to manage size of transaction log file. &lt;/li&gt;&lt;li&gt;&lt;b&gt;Full Recovery Model&lt;/b&gt;: In this recovery model, entries are key for the both integrity as well as for database recovery purpose. All the entries are remains present in the transaction log file until a log backup does not perform on the file. Sometimes it difficult to manage the size of transaction log files through this recovery model.&lt;b&gt;&amp;nbsp;&amp;nbsp; &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Bulk-logged Recovery Model&lt;/b&gt;: It is almost same as full recovery model but in this recovery model bulk operations are minimally logged.&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;b&gt;How to Monitor Size of Transaction log file?&lt;/b&gt;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;You can monitor the size of transaction log file by DBCC SQLPERF command. When will you run this command then it returns information about amount of log space used currently and it also indicates when transaction log is in need to truncate. Log truncation frees the used disk space but does not reduce the size of physical transaction log file. To reduce transaction log file size, you will have to shrink the log file.&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;b&gt;How to shrink transaction log file in full recovery model?&lt;/b&gt;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;You can shrink the transaction log file manually by the using of DBCC SHRINKFILE command. This command may be differ for the different SQL server database.&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-721965359495114666?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/721965359495114666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/10/transaction-log-file-recovery-models.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/721965359495114666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/721965359495114666'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/10/transaction-log-file-recovery-models.html' title='Transaction Log File &amp; Recovery Models'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-3914602041732999407</id><published>2011-09-20T22:46:00.000-07:00</published><updated>2011-12-09T02:56:58.901-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='error 5173'/><title type='text'>How to Fix Error “Unable to attach database” In SQL server?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;title&gt;&lt;/title&gt;    &lt;style type="text/css"&gt; &lt;!--  @page { margin: 2cm }  P { margin-bottom: 0.21cm } --&gt; &lt;/style&gt;   &lt;br /&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Last Tuesday, we have faced a scary situation when my friend's hard drive has crashed and he has not maintain any backup for the database then he has used data recovery services offered by stellar data recovery and retrieve his database and log files. After retrieving database and log files, he came to me and ask how to &lt;b&gt;&lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;fix error 5173&lt;/a&gt;&lt;/b&gt; and 824.&lt;/div&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;After retrieving database and log files from the crashed server, he had tried to attach the SQL server database but got error messages 5173 &amp;amp; 824 and unable to access his database. He can't recover SQL database from backup because i have mentioned above he has not maintain any backup.  &lt;/div&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;span lang="en-US"&gt;&lt;b&gt;How to Fix&lt;/b&gt;&lt;/span&gt;&lt;span lang="en-US"&gt;: We have followed below steps to fix the errors.&lt;/span&gt;&lt;/div&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;We have created a  database with same name and same SQL data files (MDF &amp;amp; NDF).&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Make the file size  identical as original SQL server database&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Stop the SQL server  database services.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Rename the old MDF to  new one and copy the old MDF to new MDF location   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Delete the LDF files.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Start SQL server  database services&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Our database has gone  in suspect mode.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Update the  sysdatabases to update to Emergency mode. This will not use LOG  files in start up Sp_configure “allow updates”, 1&lt;br /&gt;go&lt;br /&gt;Reconfigure  with override&lt;br /&gt;go&lt;br /&gt;Update sysdatabases set status = 32768 where  name = “corruptDBName”&lt;br /&gt;go&lt;br /&gt;Sp_configure “allow updates”,  0&lt;br /&gt;go&lt;br /&gt;Reconfigure with override&lt;br /&gt;go&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Now restart SQL  server database.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Our database is in  emergency mode.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Run DBCC CHECKDB on  our database with repair_allow_data_loss, that will rebuild the log  files and full repair.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang="en-US" style="margin-bottom: 0cm;"&gt;Again restart SQL  server database and now our database is online. &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-3914602041732999407?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/3914602041732999407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/09/how-to-fix-error-unable-to-attach.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/3914602041732999407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/3914602041732999407'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/09/how-to-fix-error-unable-to-attach.html' title='How to Fix Error “Unable to attach database” In SQL server?'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-7089675716505779494</id><published>2011-08-23T03:22:00.000-07:00</published><updated>2011-08-23T03:22:16.379-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='transfer sql server'/><title type='text'>How to Move SQL server user Database?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt; 	&lt;title&gt;&lt;/title&gt; 	 	&lt;style type="text/css"&gt;	&lt;!--		@page { margin: 2cm }		P { margin-bottom: 0.21cm }	--&gt;	&lt;/style&gt;   &lt;br /&gt;&lt;div lang="en-IN" style="font-weight: normal; margin-bottom: 0cm;"&gt;Microsoft SQL server has two types of database, one is system database and another is user database. A system database is used by the SQL server for its own maintenance and management while a user database is used by the database administrator for storing user data. In this article, we will discuss about to “How to move SQL server user database within same instance”.  &lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;A database administrator can move data and log files of user database to a new location by specifying the new location in a filename clause of ALTER database statement. To move a SQL server user database follow the below steps:&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;Set 	the database off-line through this command&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;ALTER DATABASE database_name SET OFFLINE;&lt;/div&gt;&lt;ol start="2"&gt;&lt;li&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;Move 	the files to a designation location&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;Run this command for each move file.&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;  &lt;span lang="en-US"&gt;&lt;span style="font-weight: normal;"&gt;ALTER DATABASE database_name MODIFY FILE ( NAME = logical_name, FILENAME = '    new_path\os_file_name' );&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start="3"&gt;&lt;li&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;Now 	set the database online through this command&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style="margin-bottom: 0cm;"&gt; &lt;span lang="en-US"&gt;&lt;span style="font-weight: normal;"&gt;ALTER DATABASE database_name SET ONLINE;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start="4"&gt;&lt;li&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;Verify 	the changes&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;SELECT name, physical_name AS CurrentLocation, state_desc&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;  &lt;span lang="en-US"&gt;&lt;span style="font-weight: normal;"&gt;FROM sys.master_files&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;  &lt;span lang="en-US"&gt;&lt;span style="font-weight: normal;"&gt;WHERE database_id = DB_ID(N'&lt;database_name&gt;'); &lt;/database_name&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;span lang="en-US"&gt;&lt;b&gt;Note&lt;/b&gt;&lt;/span&gt;&lt;span lang="en-US"&gt;&lt;span style="font-weight: normal;"&gt;: The above method is applied to moving database within the same instance of SQL server database. To move database from one instance to another, you can try backup and restore method.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;span lang="en-US"&gt;&lt;b&gt;Example&lt;/b&gt;&lt;/span&gt;&lt;span lang="en-US"&gt;&lt;span style="font-weight: normal;"&gt;: Suppose we have a log file sqlserverdatabase and want to move in to a new location.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;Use master;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;Go&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;SELECT name, physical_name AS CurrentLocation, state_desc&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;FROM sys.master_files&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;WHERE database_id = DB_ID(N'sqlserverdatabase')&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;    &lt;span lang="en-US"&gt;&lt;span style="font-weight: normal;"&gt;AND type_desc = N'LOG';&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;Go&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;ALTER DATABASE sqlserverdatabase SET OFFLINE;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;GO&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;ALTER DATABASE sqlserverdatabase MODIFY FILE ( NAME = sqlserverdatabase_log, FILENAME = 'C:\NewLoc\sqlserverdatabase_Log.ldf');&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;Go&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;ALTER DATABASE sqlserverdatabase SET ONLINE;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;GO&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;SELECT name, physical_name AS CurrentLocation, state_desc&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;FROM sys.master_files&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;WHERE database_id = DB_ID(N'sqlserverdatabase');&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;    &lt;span lang="en-US"&gt;&lt;span style="font-weight: normal;"&gt;AND type_desc = N'LOG';&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-7089675716505779494?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/7089675716505779494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/08/how-to-move-sql-server-user-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7089675716505779494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7089675716505779494'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/08/how-to-move-sql-server-user-database.html' title='How to Move SQL server user Database?'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-9165815986071106778</id><published>2011-08-19T02:34:00.000-07:00</published><updated>2011-08-19T02:34:20.519-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='restore sql server'/><title type='text'>Restore SQL server Database in case of Corruption</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;MS SQL server database offers a high performance backup and restore facility to its database users for maintaining the backup of SQL server database and restore in case of corruption. SQL server database may be corrupt due to severely reasons like media failure, user errors, power failure, metadata structure corruption, virus attack and many more. High performance backup and restore facility enables database administrator to handle all above corruption issues in SQL server database. A well planed backup and restore strategy helps database administrator to protect their data in case of above mentioned failures. The point comes to describe backup.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Backup&lt;/b&gt;: A copied data that can be used in restoring the corrupted data is called backup.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;i&gt;&lt;b&gt;How to make a backup of SQL server database?&lt;/b&gt;&lt;/i&gt;&lt;/u&gt; : A database administration can take a backup of SQL server database with the help of SQL server management studio. Below image is the screen-shot to make a backup in SQL server database.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-F8ZlOimRJJQ/Tk4tdkGdlcI/AAAAAAAAACs/dXf5Iw4h0Jg/s1600/database-backup-using-sql-server-management-studio-ssms.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="307" src="http://4.bp.blogspot.com/-F8ZlOimRJJQ/Tk4tdkGdlcI/AAAAAAAAACs/dXf5Iw4h0Jg/s320/database-backup-using-sql-server-management-studio-ssms.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;i&gt;&lt;b&gt;Restore SQL server Database in case of Corruption?&lt;/b&gt;&lt;/i&gt;&lt;/u&gt;: A database administrator can restore corrupt SQL server database with the help of good backup but he/she will be also able to restore corrupt SQL database without any backup. In this article we will discuss about both two methods for restoring corrupt SQL server database.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;i&gt;&lt;b&gt;Restore with Good Backup&lt;/b&gt;&lt;/i&gt;&lt;/u&gt;: A database administrator can use “backup &amp;amp; restore” method, if he has maintained a good backup for his database. Two machines are required in this method. One is source machine where corrupt database reside and another is designation machine where corrupted database will be restored.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;Note: Make sure following point before restoring the database&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;The designation machine has sufficient space to restore.&lt;/li&gt;&lt;li&gt;Directory structure on designation machine is must to exist.&lt;/li&gt;&lt;li&gt;Don't have same file name on the designation machine.&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;&lt;u&gt;&lt;i&gt;&lt;b&gt;Restore without Backup&lt;/b&gt;&lt;/i&gt;&lt;/u&gt;: A database administrator is still able to restore corrupt SQL server data files without any good backup. In this situation, you should take help from any Microsoft gold certified SQL server recovery software. Stellar Phoenix &lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;SQL recovery software&lt;/a&gt; is a Microsoft gold certified partner that repairs corrupt SQL server data files and its objects. It is the most recommended software by the database expert to repair corrupt SQL server database. &lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-9165815986071106778?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/9165815986071106778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/08/restore-sql-server-database-in-case-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/9165815986071106778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/9165815986071106778'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/08/restore-sql-server-database-in-case-of.html' title='Restore SQL server Database in case of Corruption'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-F8ZlOimRJJQ/Tk4tdkGdlcI/AAAAAAAAACs/dXf5Iw4h0Jg/s72-c/database-backup-using-sql-server-management-studio-ssms.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-5441471472969609965</id><published>2011-07-27T00:12:00.000-07:00</published><updated>2011-07-27T00:12:07.200-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open failed error'/><category scheme='http://www.blogger.com/atom/ns#' term='error open failed'/><title type='text'>How to fix Error “Open Failed” in SQL server</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;When you are trying to start the services of SQL server database and found the database is unavailable. At this situation you are unable to do any operation on the SQL server database like insert, delete, rename, update, and many more or even unable to open the SQL server database. You can open and see SQL server error log to know the reasons for the problem. After knowing the reason, you can take appropriate method to &lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;recover sql server database&lt;/a&gt;. When you open the error log got an error message. The error message is:&lt;br /&gt;&lt;br /&gt;"&lt;i&gt;FCB::Open failed: Could not open file &lt;filename&gt; for file number &lt;filenumber&gt;. OS error: 5(access denied)&lt;/filenumber&gt;&lt;/filename&gt;&lt;/i&gt;"&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Possible Cause&lt;/b&gt;&lt;/u&gt;: There are tons of reasons for the above problem but we will discuss here about hardware failure problem and account access problem.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Hardware Failure Problem&lt;/b&gt;&lt;/u&gt;: Whenever you will get the above error message. It is recommended you to check the hardware component of your system first before try any other action. If you found any faulty hardware component then replace it with new one and fix the problem.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Account Access Problem&lt;/b&gt;&lt;/u&gt;: The account in which SQL server is running does not has permission to access the folder that contains data and log files.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;u&gt;&lt;b&gt;&lt;br /&gt;Follow Steps to Fix&lt;/b&gt;&lt;/u&gt;: You can fix the above error message by following the below steps:&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Click on the Start button of your system&lt;/li&gt;&lt;li&gt;Go to the programs and select SQL server&lt;/li&gt;&lt;li&gt;Click on the folder that contains one the database files&lt;/li&gt;&lt;li&gt;Right click on the folder&lt;/li&gt;&lt;li&gt;Select sharing and security&lt;/li&gt;&lt;li&gt;Now, select security button&lt;/li&gt;&lt;li&gt;Click on the Add button&lt;/li&gt;&lt;li&gt;A text box will be appear&lt;/li&gt;&lt;li&gt;Write qualified user-name of the service account in the text box&lt;/li&gt;&lt;li&gt;Check the allow column to ensure full control &lt;/li&gt;&lt;li&gt;Repeat these all steps for all other database and log folder.&lt;/li&gt;&lt;li&gt;Shutdown the SQL server database&lt;/li&gt;&lt;li&gt;Now, restart the SQL server database from configuration manager. &lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-5441471472969609965?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/5441471472969609965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/07/how-to-fix-error-open-failed-in-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/5441471472969609965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/5441471472969609965'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/07/how-to-fix-error-open-failed-in-sql.html' title='How to fix Error “Open Failed” in SQL server'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-4371172641882847010</id><published>2011-06-21T23:28:00.000-07:00</published><updated>2011-06-21T23:28:57.559-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='repair sql'/><title type='text'>How to repair MS SQL server 2005 Database?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In this article, I have described about how to repair a corrupt “MS SQL server 2005 (compact edition) database” with the help of engine object repair methods. &lt;br /&gt;&lt;br /&gt;MS SQL server 2005 compact edition database has several files and all these files are divided into four kilobytes unit each, these files are known as pages. SQL server compact edition database stores a checksum for all pages. If a page is corrupted or damaged then checksum of the page does not match with stored checksum. There are so many reasons for the corruption in the database file like Meta data structure corruption, virus attack, sudden system download, hardware failure and many more. If you have verified that there is a corruption in the database file then you can repair sql server database file by the engine object repair method. &lt;br /&gt;&lt;br /&gt;You can verify corruption is the database file by calling system.data.sqlserverce.sqlceengine command. If this command returns a true value then there is no corruption in the database file and if this command returns a false value then there may be some corruption in the database file. The syntax for verifying the corruption is given below:&lt;br /&gt;&lt;br /&gt;Syntax for verify&lt;br /&gt;&lt;br /&gt;if (false == engine.Verify()) {...}   &lt;br /&gt;&lt;br /&gt;If a database file has been corrupted then you can recover database file by engine object repair methods. This method scans and fixes the corrupt database file. Engine object repair method provides two repair methods:&lt;br /&gt;&lt;br /&gt;1)&amp;nbsp; &lt;u&gt;&lt;i&gt;&lt;b&gt;repairoption.deletecorruptedrows &lt;/b&gt;&lt;/i&gt;&lt;/u&gt;&lt;br /&gt;2) &lt;u&gt;&lt;i&gt;&lt;b&gt;repairoption.recovercorruptedrows&lt;/b&gt;&lt;/i&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;i&gt;Repairoption.Deletecorruptedrows&lt;/i&gt;&lt;/u&gt;: This method discards all the corrupted pages and recovers the database files but you may lose some data if corrupt database file contains the database schema.&lt;br /&gt;&lt;br /&gt;Syntax for this method&lt;br /&gt;engine.Repair(null, RepairOption.DeleteCorruptedRows);&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Pros&lt;/b&gt;: Guaranteed that recovered database is free from logical corruption.&lt;br /&gt;&lt;b&gt;Cons&lt;/b&gt;: You may lose some data, if you will use this method.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;i&gt;Repairoption.recovercorruptedrows&lt;/i&gt;&lt;/u&gt;: This method tries to read more data from corrupted database files and recover more data as can possible.&lt;br /&gt;&lt;br /&gt;Syntax for this method&lt;br /&gt;engine.Repair(null, RepairOption.RecoverCorruptedRows);&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Pros&lt;/b&gt;: Recover more data in comparison with repairoption.deletecorruptedrows.&lt;br /&gt;&lt;b&gt;Cons&lt;/b&gt;: Does not guarantee that recovered database is free from logical corruption.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-4371172641882847010?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/4371172641882847010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/06/how-to-repair-ms-sql-server-2005.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/4371172641882847010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/4371172641882847010'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/06/how-to-repair-ms-sql-server-2005.html' title='How to repair MS SQL server 2005 Database?'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-6906794568139606931</id><published>2011-05-27T02:02:00.000-07:00</published><updated>2011-05-27T02:02:34.648-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf file'/><title type='text'>Analyzing DBCC CHECKDB failure in severe corruption cases and MDF Database Recovery</title><content type='html'>The DBCC CHECKDB utility is used more often than not by almost all SQL database users. This eminent utility makes use of an internal database snapshot to obtain transactional consistency of the database. It uses this information to check and repair SQL database following a three stage process. In the first stage, it performs an allocation check. Then it checks all the critical system tables for consistency errors in the second stage. In the final stage, a consistency check of the whole database is performed. Sometimes due to severe corruption, the process cannot be completed. If the CHECKDB utility fails to repair corruption, you should go for SQL recovery through a reliable third-party software.&lt;br /&gt;&lt;br /&gt;For instance, you use MS SQL Server 2000. While running CHECKDB on one of your important database files, you notice that the process terminates unexpectedly giving you the following error message:&lt;br /&gt;&lt;br /&gt;“&lt;b&gt;Database 'DBNAME' consistency errors in sysobjects, sysindexes, syscolumns, or systypes prevent further CHECKNAME processing&lt;/b&gt;.”&lt;br /&gt;&lt;br /&gt;Cause:&lt;br /&gt;The CHECKDB utility encountered some errors in the second stage that it cannot repair. So, it simply aborts the process before reaching the third stage and throws the above specified error message. The completion of the second stage is necessary for executing the third stage.  &lt;br /&gt;&lt;br /&gt;This could have happened due to metadata corruption in the database system tables. Corruption may make all the components in your database inaccessible. You may use a backup to restore all the lost or inaccessible data. If the backup is missing, you should follow the below mentioned resolution steps to perform MDF file recovery. &lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;Try the following methods to resolve the problem-&lt;br /&gt;&lt;br /&gt;Check the SQL Server error log and the Windows application and system log to determine the cause of the problem. If hardware failure caused the problem, run the hardware diagnostics tool.&lt;br /&gt;Run DBCC CHECKDB with proper repair clause to fix corruption.&lt;br /&gt; &lt;br /&gt;If the problem still persists, you should take help of a &lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;SQL database recovery software&lt;/a&gt;. These software are capable of recovering the damaged SQL database components in their original form restoring all their properties and relationships with other components. They retrieve tables, views, queries, indexes, stored procedures, keys, constraints etc. from the corrupt database.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-6906794568139606931?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/6906794568139606931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/05/analyzing-dbcc-checkdb-failure-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6906794568139606931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6906794568139606931'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/05/analyzing-dbcc-checkdb-failure-in.html' title='Analyzing DBCC CHECKDB failure in severe corruption cases and MDF Database Recovery'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-220211067239819313</id><published>2011-04-12T03:07:00.000-07:00</published><updated>2011-04-12T03:07:19.435-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf file repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf file recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf database repair'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf database recovery'/><title type='text'>How to Recover Database When MDF file get corrupted ????</title><content type='html'>The data loss from the database is a very panic situation that occurs without any warning message. It can corrupt or damage our data stored on our hard drives or on any storage media. The database may be corrupted due to hardware failure, application failure, improper system shutdown, media read errors, software failure, power failure, virus attack and many other reasons. In such case you need to use an advanced database recovery software to recover and repair corrupted database. In case of MDF file corruption, you may face any of the given below error messages:-&lt;br /&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;“&lt;span style="font-family: Arial,sans-serif;"&gt;&lt;span lang="en-US"&gt;&lt;span style="font-weight: normal;"&gt;Windows could not start the SQL Server”&lt;br /&gt;“MDF is not a primary database file”&lt;br /&gt;“Server can’t find the requested database table”&lt;br /&gt;“Database Can’t Be Accessed”&lt;br /&gt;“The file *.mdf is missing and needs to restore”&lt;br /&gt;“The execution of a full-text query failed”.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;span style="font-family: Arial,sans-serif;"&gt;&lt;b&gt;Solution&lt;/b&gt;: To repair and restore corrupted .mdf file by any of the above error message follow given below steps:&lt;/span&gt;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;span style="font-family: Arial,sans-serif;"&gt;Fix Hardware Issue: To fix the error message check your hardware setup if found any problem with the hardware then repair or replace it by new one and fix the problem.&lt;/span&gt;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;span style="font-family: Arial,sans-serif;"&gt;Run DBCC CheckDB Command: If the problem is not related to hardware then run dbcc checkdb command without any clause and then run again dbcc checkdb command with the proper repair clause.&lt;/span&gt;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div lang="en-US" style="font-weight: normal; margin-bottom: 0cm;"&gt;&lt;span style="font-family: Arial,sans-serif;"&gt;Restore from Backup: After running the dbcc checkdb command and you still getting an error message then restore database from the latest and updated backup. If you have no any backup then you should try an advanced &lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;mdf recovery utility&lt;/a&gt; to repair and restore corrupted .mdf file.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-220211067239819313?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/220211067239819313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/04/how-to-recover-database-when-mdf-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/220211067239819313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/220211067239819313'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/04/how-to-recover-database-when-mdf-file.html' title='How to Recover Database When MDF file get corrupted ????'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-7397872367119139314</id><published>2011-02-10T03:34:00.000-08:00</published><updated>2011-02-10T03:37:01.546-08:00</updated><title type='text'>Reliable mdf repair utility for risk-free recovery of your SQL server database</title><content type='html'>If you are using a Microsoft SQL database for storing your valuable business transactions and financial information, then, any instance of database corruption can be a huge blow to your business. The damage to the database can result in the complete inaccessibility of the data stored n it. In such cases, you can run ‘DBCC CHECKDB’ from the command-line, which can repair and fix the MS SQL database errors. If with higher degree of corruption, the database DBCC CHECKDB fails to resolve the problem, you can always run an reliable SQL repair utility to accomplish the job safely.&lt;br /&gt;&lt;br /&gt;Following are some of the error messages, which you may encounter, while trying to fix them with DBCC CHECKDB command:&lt;br /&gt;&lt;br /&gt;“Server: Msg 8905, Level 16, State 1, Line 0&lt;br /&gt;Extent (1:6945928) in database ID 8 is marked allocated in the GAM, but no SGAM or IAM has allocated it.&lt;br /&gt;Server: Msg 8905, Level 16, State 1, Line 0&lt;br /&gt;Extent (1:6945936) in database ID 8 is marked allocated in the GAM, but no SGAM or IAM has allocated it.&lt;br /&gt;Server: Msg 8905, Level 16, State 1, Line 0&lt;br /&gt;Extent (1:6945944) in database ID 8 is marked allocated in the GAM, but no SGAM or IAM has allocated it.&lt;br /&gt;&lt;br /&gt;The command fails to resolve the issues and further flashes the below messages:&lt;br /&gt;&lt;br /&gt;Repairing this error requires other errors to be corrected first.&lt;br /&gt;Repairing this error requires other errors to be corrected first.&lt;br /&gt;Repairing this error requires other errors to be corrected first.&lt;br /&gt;Repairing this error requires other errors to be corrected first.”&lt;br /&gt;&lt;br /&gt;Cause:&lt;br /&gt;The MS SQL Server database has been severely damaged and DBCC CHECKDB is unable to repair the same.&lt;br /&gt;&lt;br /&gt;The best possible way to get the database and the data back is to restore it from a valid backup. If you have not taken any backup recently or there are any unresolved problem in restoring it from the backup server, then, you have to look for any good mdf repair utility.&lt;br /&gt;&lt;br /&gt;These &lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;SQL recovery software&lt;/a&gt; are meant to repair the corrupt SQL database and recover the tables, schema, triggers, containers etc with their originality being intact.&lt;br /&gt;&lt;br /&gt;Stellar Phoenix SQL Recovery is a trusted utility to safely repair SQL database and recover your data without any alteration to the database. This efficient utility is capable of repairing the MS SQL Server 2008, 20005, 2000 databases and is completely compatible with Windows 7, Vista, 2008, XP, 2003 and 2000 operating systems.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-7397872367119139314?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/7397872367119139314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/02/reliable-mdf-repair-utility-for-risk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7397872367119139314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7397872367119139314'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/02/reliable-mdf-repair-utility-for-risk.html' title='Reliable mdf repair utility for risk-free recovery of your SQL server database'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-3348315748163196613</id><published>2011-02-06T22:07:00.000-08:00</published><updated>2011-02-06T22:10:01.662-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf file recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Database recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='recover mdf'/><title type='text'>Use Advanced SQL Recovery Tool to Repair MDF Files</title><content type='html'>If you are regularly using Microsoft SQL 2008, then you might have faced several situations wherein you are unable to mount a SQL Server database. Such cases are sometimes cause very serious problem such as database corruption or complete inaccessibility of the SQL database thereby making your database very insecure. These corruption scenarios can arise due to various reasons such as automatic system shutdown when the database is running, power failure, virus infections, hardware issues, human errors etc. In such cases, you should find the cause of database corruption and try to repair SQL. If you are unable to repair SQL(.MDF) file, then you should use an advanced MDF file repair software to perform &lt;a href="http://www.mssqldatabaserecovery.com/"&gt;SQL database recovery&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Consider a Practical scenario wherein you try to open a SQL database while using MS SQL Server 2008. However, database does not open. An error message appear as a result, which is:&lt;br /&gt;&lt;br /&gt;"Database '%.*ls' cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server error log for details."&lt;br /&gt;&lt;br /&gt;Cause:&lt;br /&gt;&lt;br /&gt;The root cause of above error message is that the database could not be mounted because some resources or files are missing.&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;To resolve above error message, you should repair MDF file. To do this, you need to perform the given below methods:&lt;br /&gt;&lt;br /&gt;Check Error log: Firstly, You should check error log to get the details about resources such as disk space, memory, permission failure, etc that may have caused the above problem.&lt;br /&gt;&lt;br /&gt;Confirm the location of SQL Database files: You should check the location of MDF or LDF files and verify whether Database Engine account has required credentials to access these SQL Database files.&lt;br /&gt;&lt;br /&gt;Restart Database: Finally, you should restart the SQL Server database with the help of ALTER DATABASE query. This query sets the SQL Server database to online.&lt;br /&gt;&lt;br /&gt;Above described methods should be able to set the SQL database up. However, if you still are unable to mount the database then you should use a SQL repair tool to &lt;a href="http://www.repair-mssql-database.com/"&gt;repair SQL&lt;/a&gt; Server database. Such MDF database repair software are read-only in nature.&lt;br /&gt;&lt;br /&gt;Stellar Phoenix SQL Database Recovery software is an SQL database repair tool that repairs MDF file and NDF file alike. Specifically designed for MSSQL Server 2000, 2005, 2008 and 7.0. This MDF file repair tool restores various database objects such as collations, tables, stored procedures, triggers, defaults and many more. In addition, this repair mdf software preserves the relationship among the database tables.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-3348315748163196613?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/3348315748163196613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/02/use-advanced-sql-recovery-tool-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/3348315748163196613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/3348315748163196613'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/02/use-advanced-sql-recovery-tool-to.html' title='Use Advanced SQL Recovery Tool to Repair MDF Files'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-5710907246441809982</id><published>2011-01-28T00:31:00.000-08:00</published><updated>2011-01-28T00:41:11.852-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Database recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf file'/><category scheme='http://www.blogger.com/atom/ns#' term='recover mdf'/><title type='text'>Binary Tree Corruption cause Data Loss in SQL Server</title><content type='html'>Microsoft SQL Server database supports binary tree indexes for fast query. The pages of Binary tree index are known as index nodes, the top node of binary tree is known as root node. However, the middle nodes are known as branch nodes and bottom nodes are known as leaf nodes. If table indexes get damaged, SQL Server database shows an error message and you unable to access your SQL database. To resolve such situations, you should use your most latest backup and restore the lost data. Sometimes, backup fails to restore the database and thus, you need to use &lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;SQL database recovery&lt;/a&gt; software.&lt;br /&gt;&lt;br /&gt;You are working on SQL Server database wherein, You might get below error message:&lt;br /&gt;&lt;br /&gt;Server: Msg 8936, Level 16, State 1, Line 1&lt;br /&gt;Table error: Object ID O_ID, index ID I_ID. B-tree chain linkage mismatch. P_ID1-&gt;next = P_ID2, but P_ID2-&gt;Prev = P_ID3.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Root Cause of Problem&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;The above error message appears when SQL Server database find a break in logical page chain at any level of Binary tree. It can happen at any level of binary tree including root, middle and leaf nodes. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Resolution&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;For solving the above error message, you should follow the given below steps:&lt;br /&gt;&lt;br /&gt;Run the hardware diagnostics as above problem could occur due to hardware problems.   Fix the hardware problems, if any.&lt;br /&gt;If the problem persists still then restore the corrupted SQL Server database from a latest and clean backup.&lt;br /&gt;In case of unavailability of valid SQL server backup, you could run DBCC CHECKDB command to find the amount of corruption and note the repair clause. Again run DBCC CHECKDB command with suggested repair clause.&lt;br /&gt;If database still unaccessible, you should use an advanced SQL database recovery tool.&lt;br /&gt;&lt;br /&gt;These SQL database recovery tools are advanced tools that can effectively repair and restore corrupted SQL databases. Such tools are equipped with rich GUI, to-the-point documentation. You can freely use these software for repairing and restoring corrupted or damaged SQL Server database in any case of SQL database corruption.&lt;br /&gt;&lt;br /&gt;The most trusted SQL Database recovery tool by the many database administrator is Stellar Phoenix SQL Recovery tool. It is a complete repair software for damaged or corrupted SQL Server databases. This software supports &lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;mdf recovery&lt;/a&gt; for SQL Server 2008, 2005 and 2000. It is available with advanced graphical user interface and restores all database objects like tables, triggers, user defined data types, stored procedures, collation views, rules and many more. The software is compatible with Windows Vista, XP, 2003, 2000, NT and 7.0.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-5710907246441809982?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/5710907246441809982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/01/binary-tree-corruption-cause-data-loss.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/5710907246441809982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/5710907246441809982'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/01/binary-tree-corruption-cause-data-loss.html' title='Binary Tree Corruption cause Data Loss in SQL Server'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-6463517573857986469</id><published>2011-01-20T20:14:00.000-08:00</published><updated>2011-01-20T20:21:14.743-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Database recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Recovery'/><title type='text'>Recover SQL Server Database from Corrupted Table</title><content type='html'>Sometimes when you want to update or delete SQL server database table and got an error message that shows your SQL server database table has been corrupted. This may happen by the several reasons some of them are improper system shutdown, virus attack, hardware failure, power failure and many more. At this situation you will be unable to access your SQL server database table. For fixing this problem you should use an advanced SQL server recovery software that will repair and restore your damaged SQL server database table.&lt;br /&gt;&lt;br /&gt;Consider a practical scenario wherein, you may encounter the given below error messages while your are trying to update, delete or open an SQL server database table:&lt;br /&gt;&lt;br /&gt;“Error: 644, Severity: 21, State: 5&lt;br /&gt;Could not find the index entry for RID '1613b1000000100' in index page (1:189), index ID 7, database 'TestDB'..&lt;br /&gt;Error: 8646, Severity: 21, State: 1 &lt;br /&gt;The index entry for row ID was not found in index ID 7, of table 2009058193, in database 'test644'.”&lt;br /&gt;&lt;br /&gt;Particularly the above error message occur on the non-clustered index of Microsoft SQL server database but sometimes this problem also occurs with the clustered SQL server database database.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Resolution&lt;/span&gt;: For restoring corrupt SQL server database table, you have four option which are given below:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Fix Hardware Issue&lt;/span&gt;: Check the hardware of the system if you find any faulty hardware then replace it with the new one.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Restore from Backup&lt;/span&gt;: Restore it from the latest backup, if backup is clean and updated.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Run &lt;a href="http://en.wikipedia.org/wiki/Database_Console_Commands_%28Transact-SQL%29#DBCC_CHECKDB"&gt;DBCC CHECKDB&lt;/a&gt;&lt;/span&gt;: Run this command to fix the problem. &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Re-built Indexes&lt;/span&gt;: If possible then rebuilt indexes of table but it is not the better idea.&lt;br /&gt;&lt;br /&gt;After performing three above steps and you are still unable to fix the problem then the best idea is to buy an advanced third party SQL recovery software to fix the problem.&lt;br /&gt;&lt;br /&gt;Stellar Phoenix SQL Database Recovery is an &lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;MDF recovery&lt;/a&gt; software that is able to repair MDF as well as NDF files from all instances of corruption. It repairs corrupted MDF, NDF files created in SQL Server 2000, 2005, and 2008. This MDF file repair tool is capable of recovering various database components such as tables, stored procedures, views, collations, queries, triggers, etc. It is compatible with Windows 7, Vista, Server 2003, XP, and 2000.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-6463517573857986469?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/6463517573857986469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/01/recover-sql-server-database-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6463517573857986469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6463517573857986469'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/01/recover-sql-server-database-from.html' title='Recover SQL Server Database from Corrupted Table'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-6792196556223492216</id><published>2011-01-13T03:31:00.000-08:00</published><updated>2011-01-13T03:33:56.399-08:00</updated><title type='text'>Disadvantages and Benefits by Using Stored Procedure</title><content type='html'>Stored procedure is a subroutine which is used for the accessing a relational database management system. It is also used for the storing the batch of statements in SQL server. Stored procedures are also known as StoPro, proc, SP, sproc or StoredProc and actually stored in the database data dictionary. Stored Procedure can returns or accepts value if needed. There are two way by whihch we can store a batch of statements in SQL Database, one is function and another is &lt;a href="http://en.wikipedia.org/wiki/Stored_procedure"&gt;stored procedure&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Differences between function and stored procedure are given below&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;Function must return a value but it is not necesary in the case of stored procedure.&lt;br /&gt;Function has IN parameter only while stored procedure has OUT or IN Parameter.&lt;br /&gt;Stored procedure can return no value or return multiple value by using OUT parameter.&lt;br /&gt;Function could used SELECT Parameter while stored procedure cann't used SELECT Parameter.&lt;br /&gt;&lt;br /&gt;Syntax for stored procedure is given below:&lt;br /&gt;&lt;br /&gt;CREATE PROC[EDURE] urProcedureName   &lt;br /&gt;[&lt;@InputParameter&gt; Datatype default]  [, 1..n] ]   &lt;br /&gt;[&lt;@OutputParameter&gt; Datatype OUT[PUT]][, 1..n] ]   &lt;br /&gt;[WITH { RECOMPILE | ENCRYPTION | RECOMPILE , ENCRYPTION } ]    &lt;br /&gt;AS   &lt;br /&gt;[BEGIN ]   &lt;br /&gt;[SqlStatements;][1..n]   &lt;br /&gt;[END]  &lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Benefits &amp; disadvantages of stored procedure&lt;/span&gt;: Some of the benefits and disadvantages of stored procedure are given below.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Benefits&lt;/span&gt;:&lt;br /&gt;Reduced network usage between client and server&lt;br /&gt;Improved security&lt;br /&gt;Enhanced hardware and software capablities&lt;br /&gt;Reduced development cost and increased reliability&lt;br /&gt;Centralized security, administration, and maintenance for common routines&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Disadvantages&lt;/span&gt;: Stored procedure is vendor specefic language, if you want to change vendor's database then you have to rewrite your stored procedure language.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-6792196556223492216?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/6792196556223492216/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/01/disadvantages-and-benefits-by-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6792196556223492216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6792196556223492216'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2011/01/disadvantages-and-benefits-by-using.html' title='Disadvantages and Benefits by Using Stored Procedure'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-5570757292849035502</id><published>2010-12-08T03:11:00.000-08:00</published><updated>2010-12-08T03:14:04.215-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf file repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf file recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='data backup'/><category scheme='http://www.blogger.com/atom/ns#' term='recover mdf'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf database repair'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf database recovery'/><title type='text'>How to Resolve a "High Key Value on Page" Error Message</title><content type='html'>The technique used in locating and placing data in SQL Server Database is known as B-tree. A B-tree contains a tree-level page that maintains and stores a key value for each child page. In case, the child page is leaf-level page, then all records stored on the tree-level page should contain key values equal to or greater than the key value stored in parent page. However, in case the child page is tree-level page, then all records stored on the tree-level page should contain key value that is equal to the value stored in parent page. Corruption in B-tree results in changing the values of tree-level values, further resulting in the inaccessibility of database records. The best way to surmount any B-tree corruption scenario is by restoring the data from an updated backup. But, in case of absence of an updated backup, you will need to opt for an advanced sql database repair application that can repair your database and provide access to all inaccessible database components.&lt;br /&gt;&lt;br /&gt;Consider a scenario, where you receive the underneath error message when you attempt to mount your database:&lt;br /&gt;&lt;br /&gt;- Table error: Object ID O_ID, index ID I_ID. The high key value on page P_ID1 (level LEVEL) is not less than the low key value in the parent P_ID2, slot S_ID of the next page P_ID3.&lt;br /&gt;- Records saved in your database becomes inaccessible after the above error message appears.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Root Cause&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;The main reason responsible for the occurrence of the above error message is corruption of metadata structure (B-tree values). Corruption can occur due to logical or physical damages.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;How to Resolve&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;For complete resolution of error message caused either due to logical or physical corruption, follow the below steps:&lt;br /&gt;- In case of physical damage, swap the damaged system component with a new one.&lt;br /&gt;- In case of logical corruption, run DBCC CHECKDB command (with correct repair clause).&lt;br /&gt;&lt;br /&gt;While changing the hardware component completely resolves physical damage issues, DBCC CHECKDB command does not assure complete repair in all logical corruption scenarios. For such situations, you will need to use a powerful SQL Repair tool. These sql database repair utilities use effective scanning algorithms to systematically scan and repair the corrupted database.&lt;br /&gt;&lt;br /&gt;SQL Recovery is a user-friendly software that safely repairs created in SQL Server 2008, 2005, and 2000. Built with interactive user-interface, the sql repair software recovers almost all database components, such as, tables, stored procedures, views, etc.&lt;br /&gt;&lt;br /&gt;Adishree Singh work as a freelancer and researcher repair sql &amp; repair sql database software.&lt;br /&gt;&lt;br /&gt;Article Source: &lt;a href="http://EzineArticles.com/?expert=Adishree_Singh "&gt;http://EzineArticles.com/?expert=Adishree_Singh &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-5570757292849035502?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/5570757292849035502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/12/how-to-resolve-high-key-value-on-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/5570757292849035502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/5570757292849035502'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/12/how-to-resolve-high-key-value-on-page.html' title='How to Resolve a &quot;High Key Value on Page&quot; Error Message'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-8762781970055541622</id><published>2010-11-22T03:04:00.000-08:00</published><updated>2010-11-22T03:11:57.648-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Database recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Repair. MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf database repair'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf database recovery'/><title type='text'>How to Resolve "B-Tree Chain Linkage Mismatch" Error Message</title><content type='html'>The fast results of SQL queries is a result of b-tree indexes used by a SQL Server. A single B-tree consists of number of index nodes, root nodes, branch nodes, and leaf nodes that enable you to systematically store your data.&lt;br /&gt;&lt;br /&gt;Corruption in any of the nodes (specially index nodes) can result into inaccessibility of records stored in the database. In most of these situations, you encounter an error message stating the exact cause. To surpass the above database inaccessibility circumstances, you will need to use restore the data stored from an updated backup. However, in absence of an updated backup or backup falls short to restore the required data, then you will need to search for advanced third-party sql repair application.&lt;br /&gt;&lt;br /&gt;Consider a practical scenario, where you receive the below error message when you attempt view the records saved in your SQL Server database:&lt;br /&gt;&lt;br /&gt;Table error: Object ID O_ID, index ID I_ID. B-tree chain linkage mismatch. P_ID1-&gt;next = P_ID2, but P_ID2-&gt;Prev =P_ID3.&lt;br /&gt;&lt;br /&gt;After the above error message appears, the data stored in the database becomes inaccessible. Moreover, you receive the same error message each time you attempt to access the database.&lt;br /&gt;&lt;br /&gt;Cause&lt;br /&gt;&lt;br /&gt;The root cause for the occurrence of the above error message is the break in the logical page chain at any level (root or leaf) of B-tree. This scenario can occur due to various logical or physical factors.&lt;br /&gt;&lt;br /&gt;Resolution&lt;br /&gt;&lt;br /&gt;For absolute resolution of the above error message caused due to either logical or physical reasons, you will need to follow the below measures:&lt;br /&gt;&lt;br /&gt;View full resolve methods by clicking here&lt;br /&gt;&lt;a href="http://ezinearticles.com/?How-to-Resolve-B-Tree-Chain-Linkage-Mismatch-Error-Message&amp;id=3331494"&gt;&lt;br /&gt;http://ezinearticles.com/?How-to-Resolve-B-Tree-Chain-Linkage-Mismatch-Error-Message&amp;id=3331494&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-8762781970055541622?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/8762781970055541622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/11/how-to-resolve-b-tree-chain-linkage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/8762781970055541622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/8762781970055541622'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/11/how-to-resolve-b-tree-chain-linkage.html' title='How to Resolve &quot;B-Tree Chain Linkage Mismatch&quot; Error Message'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-7946605935913409188</id><published>2010-11-11T02:19:00.000-08:00</published><updated>2010-11-11T02:22:28.857-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf file recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf database repair'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf database recovery'/><title type='text'>MDF Recovery to Handle Assertion Failure in SQL Server 2008 and 2005</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_RJnbNY18FJk/TNvD14H5keI/AAAAAAAAAB4/b2jADI4oxlM/s1600/sql.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 88px; height: 120px;" src="http://2.bp.blogspot.com/_RJnbNY18FJk/TNvD14H5keI/AAAAAAAAAB4/b2jADI4oxlM/s320/sql.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5538235497148158434" /&gt;&lt;/a&gt;&lt;br /&gt;Are you facing assertion failure errors, while executing queries on MS SQL Server 2008 or 2005 databases? Does the query execution process fail halfway and you encounter errors? You may face the assertion failure problems due to either software bug or Master Database File (MDF) corruption. In both the cases, you can not access the database and come across data loss situations. In order to extract data in these circumstances, restore the database from backup. However, if the backup is unavailable, Master Database File Recovery becomes essential.&lt;br /&gt;&lt;br /&gt;For example, the process may fail when you execute a distributed query, which uses linked server in MS SQL Server 2008 or in MS SQL Server 2005. Furthermore, you come across the below error message:&lt;br /&gt;&lt;br /&gt;"&lt;span style="font-weight:bold;"&gt;OLE DB provider "SQLNCLI" for linked server "Linked Server" returned message "No transaction is active.&lt;/span&gt;".&lt;br /&gt;&lt;br /&gt;Msg 3624, Level 20, State 1, Line 1&lt;br /&gt;&lt;br /&gt;A system assertion check has failed. Check the SQL Server error log for details. Typically, an assertion failure is caused by a software bug or data corruption. To check for database corruption, consider running DBCC CHECKDB. If you agreed to send dumps to Microsoft during setup, a mini dump will be sent to Microsoft. An update might be available from Microsoft in the latest Service Pack or in a QFE from Technical Support."&lt;br /&gt;&lt;br /&gt;When an assertion measures to false value at run-time, 'assertion failure' may occur. It generally causes the execution process to abort. Assertion failure depicts attention to a location at which the logical database inconsistency is detected.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Assertion Failure renders MDF database inaccessible. In order to access your valuable data in the database, you need to identify the cause of this behavior and perform MDF File Recovery by fixing it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Cause&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;As stated in the above error message, this problem is caused by database corruption or application bug.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Resolution&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;If the problem is caused by application bug or malfunction, you need to reinstall the SQL Server. In case of database corruption, repair and restore the damaged MDF file using &lt;a href="http://www.mdfrecovery.com/"&gt;MDF Recovery&lt;/a&gt; software.&lt;br /&gt;&lt;br /&gt;The applications use high-end scanning methods to thoroughly scan the database and Recover MDF file in an absolute manner. They preserve the integrity of your data with read-only and non-destructive conduct.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;&lt;br /&gt;Stellar SQL Database Recovery&lt;/a&gt; is the most comprehensive utility the repairs and restores damaged MDF file in all cases of corruption. It works well with Microsoft SQL Server 2008, 2005, and 2000. The software recovers all SQL Server database objects, tables, reports, forms, macros, constraints, triggers, and stored procedures.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-7946605935913409188?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/7946605935913409188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/11/mdf-recovery-to-handle-assertion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7946605935913409188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7946605935913409188'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/11/mdf-recovery-to-handle-assertion.html' title='MDF Recovery to Handle Assertion Failure in SQL Server 2008 and 2005'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_RJnbNY18FJk/TNvD14H5keI/AAAAAAAAAB4/b2jADI4oxlM/s72-c/sql.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-7562882801711465077</id><published>2010-11-01T05:09:00.000-07:00</published><updated>2010-11-01T05:13:18.341-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf file repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='data backup'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf database repair'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf database recovery'/><title type='text'>Tips to resolve the error message “Possible bad chain linkage...”</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_RJnbNY18FJk/TM6u1MlS8sI/AAAAAAAAABw/5Y-tbxAmoA8/s1600/sql+recovery.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 127px; height: 92px;" src="http://3.bp.blogspot.com/_RJnbNY18FJk/TM6u1MlS8sI/AAAAAAAAABw/5Y-tbxAmoA8/s320/sql+recovery.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5534553221018874562" /&gt;&lt;/a&gt;&lt;br /&gt;Allocation of MS SQL Server table data can be done either in B-tree or in heap structure. Data retrieval from a heap structure is slow as compared to retrieval from B-tree structure, which is very fast. B-tree structures minimize the navigation of your record, thereby resulting in fast retrieval of your data. B-tree structures use leaf nodes as storage components to save table records. Records saved in MS SQL Server table become inaccessible if these leaf nodes are missing, damaged, or not pointing to the correct parent node. In most of these situations, a database user encounters an error message. To overcome such error messages and to access table records, users can restore data from an updated backup. However, if no backup is available, then the user needs to opt for SQL Repair solutions.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To elaborate the above scenario, consider a realistic situation, wherein, you encounter the below error message while trying to access table records:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;“Table error: Object ID O_ID, index ID I_ID. The next pointer of P_ID1 refers to page P_ID2. Neither P_ID2 nor its parent were encountered. Possible bad chain linkage.”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The error message does not allow you to view records saved in the table.&lt;br /&gt;&lt;br /&gt;Note: This is a severity level 16 error message.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The above error message appears when a page (P_ID2) referenced by page (P_ID1) goes missing. Such situations arise when your SQL Sever database is logically or physically damaged.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To surmount the above error message, you first need to identify the exact cause of database corruption and then act accordingly. Below mentioned steps help you in identifying and repairing the SQL database corruption:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;* To identify a hardware problem, you need to check the system, the application, and logs of SQL Server. After the damaged hardware is detected, you will need to swap it with a new component.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;* In case, the problem persists even after replacing the hardware component, then your database is logically corrupted. To overcome logical corruption, you need to run DBCC CHECKDB command with a repair clause. In case the above command has no effect on your corrupted database, then you need to repair the database using an advanced third-party &lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;MDF Recovery&lt;/a&gt; utility. A SQL Repair application ensures complete repair after any kinds of logical corruption.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL Database Recovery repairs database created in MS SQL Server 2008, 20005, and 2000 and restores it at required location. It is a read only utility and repairs without modifying the original database. The SQL Repair software can be installed on Windows 7, Vista, 2008, XP, 2003, and 2000.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-7562882801711465077?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/7562882801711465077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/11/tips-to-resolve-error-message-possible.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7562882801711465077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7562882801711465077'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/11/tips-to-resolve-error-message-possible.html' title='Tips to resolve the error message “Possible bad chain linkage...”'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_RJnbNY18FJk/TM6u1MlS8sI/AAAAAAAAABw/5Y-tbxAmoA8/s72-c/sql+recovery.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-8015286560539668677</id><published>2010-09-28T02:51:00.000-07:00</published><updated>2010-09-28T02:57:04.263-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Recover SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Database recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL Recovery'/><title type='text'>How to Protect Your Microsoft SQL Server Database</title><content type='html'>When the server or database system of MS SQL Server 2008 or 2005 crash, it’s very difficult to recover the original data backup with MS SQL code, but its not impossible. MS SQL Server database unlike other databases such as FoxPro can copy data files; the former must have a backup strategy in order to secure data backup recovery. So take an appropriate backup &amp; recovery operation to recover corrupted data, the data of MS SQL Server 2008 and 2005 can be safely protected.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Restore vs. Recovery&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Restore and recovery are two different concepts, but in the database recovery process is also closely linked together. The difference between restore and recovery is given below:&lt;br /&gt;&lt;br /&gt;Restore is equivalent to rebuild the part or whole of the database from a backup. It can not change the state of database, such as offline and online.&lt;br /&gt;&lt;br /&gt;Recovery of database means it restore the database from offline to online state for users to use.&lt;br /&gt;&lt;br /&gt;In Microsoft SQL Server database “Recovery” the database will no longer be able to operate the “Restore”.&lt;br /&gt;&lt;br /&gt;A good backup and recovery plan for Microsoft SQL Server should cover the following steps:&lt;br /&gt;&lt;br /&gt;1. &lt;span style="font-weight:bold;"&gt;Need data protection&lt;/span&gt;.&lt;br /&gt;2. &lt;span style="font-weight:bold;"&gt;Daily / weekly / monthly backup plan&lt;/span&gt;.&lt;br /&gt;3. &lt;span style="font-weight:bold;"&gt;Documented verify and the results of the test&lt;/span&gt;.&lt;br /&gt;4. &lt;span style="font-weight:bold;"&gt;Documented the recovery process&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;From Microsoft SQL Server 2005, MS SQL Server provides a lot of smart backup methods to recover damaged SQL server database. The main purpose of backup SQL Server database is to reduce the data loss, which asking for zero data loss, and need shorter interval of time to backup the data. &lt;br /&gt;&lt;br /&gt;If you are facing data loss problem of SQL server database due to any reasons and not maintain your backup then you have to need smart third party SQL server recovery software to recover SQL database.&lt;br /&gt;&lt;br /&gt;Stellar Phoenix Database Recovery software for SQL database is the best option to recover corrupted SQL database. It repairs and restores the database after almost all corruptions issues. It supports recovery of databases created in Microsoft SQL 7.0, 2000, 2005 and 2008. It repairs and restores MDF as well as NDF files of SQL server database. &lt;br /&gt;&lt;br /&gt;Source: &lt;a href="http://hubpages.com/hub/How-to-Protect-Your-Microsoft-SQL-Server-Database"&gt;http://hubpages.com/hub/How-to-Protect-Your-Microsoft-SQL-Server-Database&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-8015286560539668677?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/8015286560539668677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/09/how-to-protect-your-microsoft-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/8015286560539668677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/8015286560539668677'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/09/how-to-protect-your-microsoft-sql.html' title='How to Protect Your Microsoft SQL Server Database'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-6020336158901458083</id><published>2010-09-24T05:19:00.000-07:00</published><updated>2010-09-24T05:21:39.720-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql data backup'/><category scheme='http://www.blogger.com/atom/ns#' term='backup'/><category scheme='http://www.blogger.com/atom/ns#' term='data backup'/><title type='text'>Online Backup of Your Data</title><content type='html'>Do you have backup copy of your data? I think many of people probably do not as it should. This data loss situation can ruin your business, and cause untold suffering to the loss of your valuable pictures and personal information. How do I know what data loss is? A few years ago, I suffered a complete failure of my hard disk unrecoverable on one of my personal computer. Fortunately, I have not nearly so “technical knowledge” at the time, and have most of my essential data “up” secured to the paper. &lt;br /&gt;&lt;br /&gt;The loss of data, suffered from me, that hard drive failure is still very painful. I spent around month trying everything to recover data but not got my data. I replace lost, but still missing a number of very important data that I can not reproduce. I had several digital photos of my friends and family members, documents, licenses, software etc. that have been forever. After the rebuilding of my life back in months, I promised myself I would never support me for such thing again in life. &lt;br /&gt;&lt;br /&gt;My backup of data routine has undergone several revisions over the years to the point that I felt very happy with my current situation. I had problem with lost data and my data backup this time saved me from the loss. Currently I have three redundant backup systems, including dedicated file servers for very large systems, external hard drive for complex picture and fire walls locked automatically. All these provide a pleasant feeling of security. &lt;br /&gt;&lt;br /&gt;There are two mainly two reasons for the data loss one is physically data loss problems and another is logically data loss problems. The data loss due to environmental effect like fire, water, temperature is called physically data loss and the data loss due to the some internal errors in the software (programs) is called logically data loss.   &lt;br /&gt;&lt;br /&gt;In these modern age there are so many companies working towards to handle these data loss problems. I personally know stellar data recovery which is proving services for both data loss problem logical as well as physical data loss problems. Stellar data recovery has around 17 years experience in this field. It provides software for the logically corrupted data and has labs for the physically corrupted data.&lt;br /&gt;&lt;br /&gt;Recently my SQL database gets damaged by the virus attack and I have tell already I maintain my backup regularly but I was unable to recover my SQL database with the help of backup then I have used &lt;a href="http://www.mssqldatabaserecovery.com/"&gt;stellar phoenix SQL database recovery&lt;/a&gt; software to restore my database.  &lt;br /&gt;&lt;br /&gt;Resource: &lt;a href="http://hubpages.com/hub/Online-Backup-of-Your-Data"&gt;http://hubpages.com/hub/Online-Backup-of-Your-Data &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-6020336158901458083?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/6020336158901458083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/09/online-backup-of-your-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6020336158901458083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6020336158901458083'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/09/online-backup-of-your-data.html' title='Online Backup of Your Data'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-2313560314298455111</id><published>2010-08-20T21:22:00.000-07:00</published><updated>2010-08-20T21:26:08.662-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf file repair'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf file'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf database repair'/><title type='text'>Memory allocation issues in MS SQL Server 2000 database results in Error 8902</title><content type='html'>In MS SQL Server, the system errors related with memory allocation often prove to be fatal for the database. Such problems can be caused by several reasons such as database corruption, which, in turn, can be the outcome of various other reasons. These reasons include virus infections, abrupt or unplanned system shutdown especially when the database is open, database header corruption, etc. You should try to find out the exact reason for such behavior and try to address the situation. If nothing works out, then I would suggest you to use a third-party MDF recovery software to recover SQL database.&lt;br /&gt;&lt;br /&gt;Let us take a look at one of the system error that appears while you are working on an MS SQL Server 2000 database:&lt;br /&gt;&lt;br /&gt;"Memory allocation error during DBCC processing."&lt;br /&gt;&lt;br /&gt;Cause:&lt;br /&gt;&lt;br /&gt;Such memory allocation error occurs when there is no memory for the non-clustered index coverage checks.&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;Such system errors relating to memory allocation should be dealt by performing the following MDF recovery methods. Please note that you should perform these methods only in the given order:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Recovering the hardware corruption problems&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Restoring from database backup&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Running DBCC CHECKDB utility&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For more resolution details visit this link: &lt;a href="http://www.americanchronicle.com/articles/view/177453"&gt;http://www.americanchronicle.com/articles/view/177453&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-2313560314298455111?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/2313560314298455111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/08/memory-allocation-issues-in-ms-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/2313560314298455111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/2313560314298455111'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/08/memory-allocation-issues-in-ms-sql.html' title='Memory allocation issues in MS SQL Server 2000 database results in Error 8902'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-3489367298279433966</id><published>2010-07-15T04:54:00.000-07:00</published><updated>2010-07-28T04:13:16.895-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf database repair'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf database recovery'/><title type='text'>I have a database marked as suspect or damaged log file (SQL Server 2005 only)</title><content type='html'>If you have an mdf file that was not properly detached from SQL Server 2005 (possibly due to a hard drive crash), the first (best!) option is to restore the database from a valid backup.  If that is not an option, then the database is most likely in need of repair.&lt;br /&gt;&lt;br /&gt;If the database is in an un-attached state:&lt;br /&gt;&lt;br /&gt;   1. Make sure you have a copy of gendata.mdf (or eshadata.mdf)&lt;br /&gt;   2. Run the following SQL Statement in SQL Server Management Studio to attach the database and force SQL Server 2005 to create a new log file:&lt;br /&gt;&lt;br /&gt;          CREATE DATABASE gendata ON (NAME = 'gendata', FILENAME = 'c:\Program Files\Esha Research\data\gendata.mdf') FOR ATTACH_REBUILD_LOG;&lt;br /&gt;&lt;br /&gt;      Replace the above names with the appropriate names! &lt;br /&gt;&lt;br /&gt;Once the database is attached, it is recommended to attempt to backup the database.  If the backup is successful, great (keep going still).  If not, continue on anyway.&lt;br /&gt;&lt;br /&gt;The following SQL Statements are meant to address the 'suspect' aspect of the database.&lt;br /&gt;&lt;br /&gt;    * ALTER DATABASE gendata SET EMERGENCY&lt;br /&gt;    * ALTER DATABASE gendata SET SINGLE_USER&lt;br /&gt;    * DBCC CHECKDB(gendata, REPAIR_ALLOW_DATA_LOSS)&lt;br /&gt;    * ALTER DATABASE gendata SET MULTI_USER&lt;br /&gt;    * ALTER DATABASE gendata SET ONLINE &lt;br /&gt;&lt;br /&gt;You should now have a working database. &lt;br /&gt;&lt;br /&gt;Ref: http://www.esha.com/kb/questions/118/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-3489367298279433966?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/3489367298279433966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/07/i-have-database-marked-as-suspect-or.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/3489367298279433966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/3489367298279433966'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/07/i-have-database-marked-as-suspect-or.html' title='I have a database marked as suspect or damaged log file (SQL Server 2005 only)'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-1167478679118657070</id><published>2010-07-07T05:24:00.000-07:00</published><updated>2010-07-07T05:30:24.200-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf file recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf database repair'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf database recovery'/><title type='text'>How to rectify Error 7995 in SQL Server 2008 database</title><content type='html'>The system catalogs in SQL Server databases are used to store various types of information such as number and names of tables and views in the database among many others. This information is collectively referred as metadata. However, sometimes this metadata may get corrupt due to various reasons such as virus infections, hardware issues, power outages, etc. In such cases, you should use the in-place methods to rectify the problem. However, if you are not able to recover SQL database, then you should use a third-party &lt;a href="http://www.repair-mssql-database.com/"&gt;Repair SQL database&lt;/a&gt; software to do the needful.&lt;br /&gt;&lt;br /&gt;Consider a scenario wherein you encounter the following error message while using the DBCC CHECKNAME tool on an SQL Server 2008 database:&lt;br /&gt;&lt;br /&gt;"&lt;b&gt;Database 'DBNAME': consistency errors in system catalogs prevent further DBCC CHECKNAME processing&lt;/b&gt;."&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Cause&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;There could be the following causes for this error. They are:&lt;br /&gt;&lt;br /&gt;The system base tables are storing the metadata for all the objects in the database.&lt;br /&gt;&lt;br /&gt;The system base tables are corrupt.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Resolution&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;To resolve this erroneous situation, you need to recover SQL database. To do this, you should either of the following methods, in the given order:&lt;br /&gt;&lt;br /&gt;For More Information Click This: &lt;a href="http://www.americanchronicle.com/articles/view/167160"&gt;http://www.americanchronicle.com/articles/view/167160&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-1167478679118657070?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/1167478679118657070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/07/how-to-rectify-error-7995-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/1167478679118657070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/1167478679118657070'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/07/how-to-rectify-error-7995-in-sql-server.html' title='How to rectify Error 7995 in SQL Server 2008 database'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-433315916146089</id><published>2010-06-17T05:06:00.000-07:00</published><updated>2010-06-17T05:07:57.979-07:00</updated><title type='text'>Fix the repair level on the DBCC statement error</title><content type='html'>DBCC CHECKDB is a command that is mainly used to check the logical and physical integrity of MS SQL database. The command can be executed with three different parameters repair_allow_data loss, repair_fast, and repair_rebuild to repair an MS SQL database. While the command ensures absolute repair of logically damaged MS SQL database in most cases, there might be certain situations when this command fails to perform complete repair. Such situations occur when the corruption level of database is too high and beyond the limits of the command. However, a valid backup acts as a boon in such scenarios and allows the user to access the database. But if in case the user has not maintained any database backup, then the only way to repair the database is by using an effective third-party &lt;a href="http://www.repairmdf.com/" target="_blank"&gt;MDF Repair&lt;/a&gt; software. &lt;br /&gt;&lt;br /&gt;To elaborate the above scenario, consider a practical case where your MS SQL database gets corrupted due to metadata structure damage. Now, when you execute the DBCC CHECKDB command (with repair_fast parameter) to repair your database, you encounter the below error message:&lt;br /&gt;&lt;br /&gt;"DBCC results for 'sysindexes'.&lt;br /&gt;The repair level on the DBCC statement caused this repair to be bypassed.&lt;br /&gt;The system cannot self repair this error.&lt;br /&gt;The repair level on the DBCC statement caused this repair to be bypassed.&lt;br /&gt;The repair level on the DBCC statement caused this repair to be bypassed.&lt;br /&gt;The repair level on the DBCC statement caused this repair to be bypassed.&lt;br /&gt;The repair level on the DBCC statement caused this repair to be bypassed.&lt;br /&gt;There are 1953 rows in 127 pages for object 'sysindexes'.&lt;br /&gt;CHECKDB found 0 allocation errors and 6 consistency errors in table 'sysindexes' (object ID 2).&lt;br /&gt;DBCC results for 'syscolumns'.&lt;br /&gt;There are 10093 rows in 218 pages for object 'syscolumns'.&lt;br /&gt;DBCC results for 'systypes'.&lt;br /&gt;There are 32 rows in 1 pages for object 'systypes'.&lt;br /&gt;DBCC results for 'syscomments'. "&lt;br /&gt;&lt;br /&gt;The database remains in the corrupted state since the DBCC CHECKDB command is unable to repair the database.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Cause&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;The database is severely corrupted and might require rebuilding of indexes or de-allocating of all the corrupt pages.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Resolution&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;To overcome corruption of your database, the user needs to repair the database by running DBCC CHECKDB command with repair_allow_data loss parameter. While doing so might resolve the error message, it will also result into deletion of data from your database. To avoid any loss of data, you should opt for a commercial MDF File Repair application. Such &lt;a href="http://www.mdfrecovery.com/" target="_blank"&gt;MDF Recovery&lt;/a&gt; tools do not overwrite or modify the original database during the repair process.&lt;br /&gt;&lt;br /&gt;SQL Recovery is an efficient, yet fast MDF File Repair tool that repairs databases created in MS SQL Server 2008, 20005, and 2000. The non-destructive tool retrieves almost all objects of SQL database. It supports Windows 7, Vista, 2008, XP, 2003, and 2000 operating systems.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-433315916146089?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/433315916146089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/06/fix-repair-level-on-dbcc-statement.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/433315916146089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/433315916146089'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/06/fix-repair-level-on-dbcc-statement.html' title='Fix the repair level on the DBCC statement error'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-4207691629820148489</id><published>2010-06-14T22:10:00.000-07:00</published><updated>2010-06-14T22:11:59.835-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='mdf file recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf file'/><category scheme='http://www.blogger.com/atom/ns#' term='recover mdf'/><title type='text'>Fixing "Repairing this error..." Error Message</title><content type='html'>MS SQL database corruption can result in serious damages, one of them being complete inaccessibility of all the records saved in database. To surpass any such corruption situation, a user can run DBCC CHECKDB command with a suitable repair clause. This command repairs the database in most situations by resolving all the physical and logical integrity issues. However, if the repair command displays an error message during repair, then it means that the database is beyond the repairing capabilities of DBCC CHECKDB command. In such cases, a database user can restore the database from an up-to-date backup and continue with his/her work. However, if the user has not maintained any database backup, then s/he needs to repair the database using a commercial &lt;a href="http://www.mdfrecovery.com/"&gt;MDF Database Recovery&lt;/a&gt; application.&lt;br /&gt;&lt;br /&gt;Consider a practical case, where you encounter the below error message when you try to repair your corrupted MS SQL Server database using DBCC CHECKDB command:&lt;br /&gt;&lt;br /&gt;"Server: Msg 8905, Level 16, State 1, Line 0 Extent (1:6945928) in database ID 8 is marked allocated in the GAM, but no SGAM or IAM has allocated it. Server: Msg 8905, Level 16, State 1, Line 0 Extent (1:6945936) in database ID 8 is marked allocated in the GAM, but no SGAM or IAM has allocated it. Server: Msg 8905, Level 16, State 1, Line 0 Extent (1:6945944) in database ID 8 is marked allocated in the GAM, but no SGAM or IAM has allocated it. . . . ....&lt;br /&gt;&lt;br /&gt;and then the following:&lt;br /&gt;&lt;br /&gt;Repairing this error requires other errors to be corrected first. Repairing this error requires other errors to be corrected first. Repairing this error requires other errors to be corrected first. Repairing this error requires other errors to be corrected first."&lt;br /&gt;&lt;br /&gt;The database remains corrupted after the above error message appears.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Cause:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The root cause for the above error message is severe corruption of SQL Server database.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Resolution:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To repair a logically corrupted database when the DBCC CHECKDB command fails to repair, the user needs to use a third-party mdf database recovery software. MDF Repair tools perform complete repair using advanced scanning methods.&lt;br /&gt;&lt;br /&gt;SQL Recovery Software is a superb &lt;a href="http://www.repairmdf.com/"&gt;MDF database repair&lt;/a&gt; application that repairs MS SQL Server 2008, 20005, and 2000 databases in just three mouse clicks. The MDF Repair tool can be installed on Windows 7, Vista, 2008, XP, 2003, and 2000 operating systems.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-4207691629820148489?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/4207691629820148489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/06/fixing-repairing-this-error-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/4207691629820148489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/4207691629820148489'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/06/fixing-repairing-this-error-error.html' title='Fixing &quot;Repairing this error...&quot; Error Message'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-2569306601135873255</id><published>2010-06-11T00:15:00.000-07:00</published><updated>2010-06-11T00:18:08.707-07:00</updated><title type='text'>Fixing “The repair level on the DBCC statement...” Error</title><content type='html'>&lt;div style="text-align: justify;"&gt;DBCC CHECKDB is a command that is mainly used to check the logical and physical integrity of MS SQL database. The command can be executed with three different parameters repair_allow_data loss, repair_fast, and repair_rebuild to repair an MS SQL database. While the command ensures absolute repair of logically damaged MS SQL database in most cases, there might be certain situations when this command fails to perform complete repair. Such situations occur when the corruption level of database is too high and beyond the limits of the command. However, a valid backup acts as a boon in such scenarios and allows the user to access the database. But if in case the user has not maintained any database backup, then the only way to repair the database is by using an effective third-party &lt;a href="http://www.repairmdf.com"&gt;MDF Repair&lt;/a&gt; software.  &lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;To elaborate the above scenario, consider a practical case where your MS SQL database gets corrupted due to metadata structure damage. Now, when you execute the DBCC CHECKDB command (with repair_fast parameter) to repair your database, you encounter the below error message:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;“DBCC results for 'sysindexes'. &lt;/div&gt;&lt;div&gt;The repair level on the DBCC statement caused this repair to be bypassed. &lt;/div&gt;&lt;div&gt;The system cannot self repair this error. &lt;/div&gt;&lt;div&gt;The repair level on the DBCC statement caused this repair to be bypassed. &lt;/div&gt;&lt;div&gt;The repair level on the DBCC statement caused this repair to be bypassed. &lt;/div&gt;&lt;div&gt;The repair level on the DBCC statement caused this repair to be bypassed. &lt;/div&gt;&lt;div&gt;The repair level on the DBCC statement caused this repair to be bypassed. &lt;/div&gt;&lt;div&gt;There are 1953 rows in 127 pages for object 'sysindexes'. &lt;/div&gt;&lt;div&gt;CHECKDB found 0 allocation errors and 6 consistency errors in table 'sysindexes' (object ID 2). &lt;/div&gt;&lt;div&gt;DBCC results for 'syscolumns'. &lt;/div&gt;&lt;div&gt;There are 10093 rows in 218 pages for object 'syscolumns'. &lt;/div&gt;&lt;div&gt;DBCC results for 'systypes'. &lt;/div&gt;&lt;div&gt;There are 32 rows in 1 pages for object 'systypes'. &lt;/div&gt;&lt;div&gt;DBCC results for 'syscomments'. ”&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The database remains in the corrupted state since the DBCC CHECKDB command is unable to repair the database.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Cause:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The database is severely corrupted and might require rebuilding of indexes or de-allocating of all the corrupt pages.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Resolution:&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;To overcome corruption of your database, the user needs to repair the database by running DBCC CHECKDB command with  repair_allow_data loss parameter. While doing so might resolve the error message, it will also result into deletion of data from your database. To avoid any loss of data, you should opt for a commercial MDF File Repair application. Such &lt;a href="http://www.mdfrecovery.com"&gt;MDF Database Recovery&lt;/a&gt; tools do not overwrite or modify the original database during the repair process.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Stellar Phoenix SQL Recovery is an efficient, yet fast MDF File Repair tool that repairs databases created in  MS SQL Server 2008, 20005, and 2000. The non-destructive tool retrieves almost all objects of SQL database. It supports Windows 7, Vista, 2008, XP, 2003, and 2000 operating systems.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Resource Link: &lt;a href="http://www.programmersheaven.com/user/williumdavid/blog/4887-Fixing-The-repair-level-on-the-DBCC-statement-Error/"&gt;http://www.programmersheaven.com/user/williumdavid/blog/4887-Fixing-The-repair-level-on-the-DBCC-statement-Error/&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-2569306601135873255?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/2569306601135873255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/06/fixing-repair-level-on-dbcc-statement.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/2569306601135873255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/2569306601135873255'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/06/fixing-repair-level-on-dbcc-statement.html' title='Fixing “The repair level on the DBCC statement...” Error'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-2070361609339845168</id><published>2010-04-28T21:47:00.000-07:00</published><updated>2011-10-20T20:00:33.081-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='error 5171'/><title type='text'>Resolving Error 5171 in SQL Database</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;SQL Server database corruption can occur due to SQL Server malfunctioning, improper system shutdown, virus infection, hardware failure and many more. Once SQL database gets corrupted, SQL server database become inaccessible. In such situations, use your backup, if there is no backup, the user needs to &lt;b style="color: #38761d;"&gt;&lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;sql recovery software&lt;/a&gt;&lt;/b&gt; to repair mdf file. Consider a practical scenario, where a user is working on SQL Server 2005 and creating a report. While doing so, the Windows restarts due to power failure. When users restart the system, the SQL database becomes inaccessible. When the user tries to attach the MDF manually, he encounters the below error message:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;“An exception occurred while executing a Transact-SQL statement or batch. _db.mdf is not a primary database file. (Microsoft SQL Server, Error: 5171).”&lt;/span&gt; Or&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;“C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\MYDATABASE.mdf is not a primary database file. (Microsoft SQL Server, Error: 5171)” &lt;/span&gt;In such circumstances, the database administrators recommend to attach a single file. However, when the user uses sp_attach_single_db Stored Procedures, the user encounters the following error message:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;“Server: Msg 5172, Level 16, State 15, Line 1 The header for file path……\.mdf is not a valid database file header. The PageAudit property is incorrect.” &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The above issue occurs when the MDF file header gets corrupted or some invalid information is inserted in the header file. All these situations result, inaccessibility of the SQL database. To ensure accessibility of the SQL database, the user needs to &lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;recover mdf&lt;/a&gt; by using the latest backup. But sometime user has not created any backup of its database or mdf file, then he needs to perform MDF repair. To do so, user needs to use efficient and effective SQL MDF repair application.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-2070361609339845168?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/2070361609339845168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/04/resolving-error-5171-in-sql-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/2070361609339845168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/2070361609339845168'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/04/resolving-error-5171-in-sql-database.html' title='Resolving Error 5171 in SQL Database'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-6054556529356105432</id><published>2010-02-17T01:18:00.000-08:00</published><updated>2010-02-17T01:27:27.184-08:00</updated><title type='text'>Fixing Fatal Table Error in SQL Server Database</title><content type='html'>&lt;div style="text-align: justify;"&gt;Corruption in MS SQL Server table is mainly caused when the metadata structure of the database gets damaged. Few major causes of metadata structure corruption are improper shutdown of system/database, application malfunction, and malicious software like virus. The data saved in the corrupted table cannot be accessed. For accessing the table records, the database user needs to restore the table from a valid database backup. But if in case, the valid backup does not the desired table, then the user needs to use advanced &lt;a href="http://www.mdfrecovery.com/"&gt;MDF File Recovery&lt;/a&gt; application that can comprehensively repair the table and allow the user to access its records.&lt;br /&gt;&lt;br /&gt;To illustrate the above case, consider a scenario where you receive the underneath error message while trying to view a specific table records:&lt;br /&gt;&lt;br /&gt;“Table error: Object ID O_ID, index ID I_ID, column 'COLUMN'. The column ID COL_ID is not valid for this table. The valid range is from 1 to MAX_COL_ID.”&lt;br /&gt;&lt;br /&gt;The above message appears every time you try to access the table. Additionally, the error message makes the records stored in the table inaccessible.&lt;br /&gt;&lt;br /&gt;Cause:&lt;br /&gt;&lt;br /&gt;The above error message primarily appears when the metadata for the table consists of a column ID, which is greater than the largest Column ID used in that table. This occurs when the metadata structure is corrupted. The above table error message can occur either due to physical or logical corruption.&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;Follow the below steps for resolving the table error message and accessing the table records:&lt;br /&gt;&lt;br /&gt;To repair the database damaged due to physical damage, you will need to change the damaged component with a new one.&lt;br /&gt;Running DBCC CHECKDB command with appropriate repair clause allows you to repair a logically corrupted database.&lt;br /&gt;&lt;br /&gt;However, if the DBCC CHECKDB command fails to resolve your issue, then you will need to download MDF File Recovery application from the Internet. MDF File Recovery software displays all the repairable database component records and allows you to restore the component on your desired location. The repair process is easy to understand as the software comes with an interactive user-documentation.&lt;br /&gt;&lt;br /&gt;SQL Recovery Software, a world-wide used &lt;a href="http://www.mdfrecovery.com/"&gt;master database file recovery&lt;/a&gt; software, can recover all SQL database components after any logical corruption scenario. Compatible with SQL Server 2008, 20005, and 2000, the software supports almost all Windows operating systems, including&lt;br /&gt;7, Vista, XP, 2003, 2000 and NT.  &lt;/div&gt;&lt;p style="text-align: justify;"&gt;&lt;/p&gt;&lt;div&gt; &lt;/div&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="text-align: left;"&gt;Resource Link: http://blogs.siliconindia.com/accessrecovery/Fixing_Fatal_Table_Error_in_SQL_Server_Database-bid-xIz9qt2E76717919.html&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-6054556529356105432?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/6054556529356105432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/02/fixing-fatal-table-error-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6054556529356105432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6054556529356105432'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2010/02/fixing-fatal-table-error-in-sql-server.html' title='Fixing Fatal Table Error in SQL Server Database'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-7473365905483914394</id><published>2009-12-30T23:20:00.000-08:00</published><updated>2009-12-30T23:27:55.301-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf file'/><title type='text'>Can't Drop a SQL Server Table</title><content type='html'>&lt;div style="text-align: justify;"&gt;SQL Server database is a collection of tables with typed columns. If due to any cause SQL Server tables get corrupt, you can use DBCC CHECKDB command to examine the extent of corruption. A SQL table gets corrupt due to unexpected shutdown, application bugs, virus attack, network faults and similar other reasons. A corrupt SQL table shows corruption errors or behaves abruptly. However, to restore lost information, you should use your recent backup, if available and valid. In case of no backup or invalid backup state, commercial &lt;a href="http://www.repairmdf.com"&gt;repair mdf&lt;/a&gt; applications can help to repair and restore the damaged database.&lt;br /&gt;&lt;br /&gt;One of the typical symptoms that a corrupt SQL Server table shows is that you cannot drop it using DROP TABLE command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Cause&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You cannot drop a corrupt SQL Server table if allocation extent/page is cross-linked or damaged. As a result, SQL Server takes it as some data from other tables in the same extent/pages that belong to the affected object. In such cases, if it allows you to drop the table, it might delete data from other tables.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To correct the aforementioned behavior, try following these methods:&lt;br /&gt;&lt;ul&gt;&lt;li&gt; You can create a new SQL Server database and try copying all objects from affected database. To do so, you can use BCP or Transfer Manager. You then need to dump or rename the databases.&lt;/li&gt;&lt;li&gt;If database is of large size, you can update sysobjects and thus rename the table. After this, create a new database table, leaving the earlier one. Updating sysobjects can corrupt the database more.&lt;/li&gt;&lt;li&gt;If above measures don't give required results, use your recent database backup to restore.&lt;/li&gt;&lt;li&gt;In case of backup unavailability or backup errors, you should use third-party mdf file repair applications.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;a href="http://www.repairmdf.com"&gt;MDF Repair&lt;/a&gt; software are advanced tools that can examine your damaged SQL databases and repair them. Such software come equipped with informative documentation, enhanced repair options, non-destructive design, instinctive repair features and intuitive interface. MDF Recovery software perform powerful scan of damaged database, while maintaining its integrity. These are versatile tools that you can use in any logical case of database corruption.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-7473365905483914394?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/7473365905483914394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/12/cant-drop-sql-server-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7473365905483914394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7473365905483914394'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/12/cant-drop-sql-server-table.html' title='Can&apos;t Drop a SQL Server Table'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-230986742825357552</id><published>2009-12-16T01:12:00.000-08:00</published><updated>2011-06-23T00:00:16.518-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf file'/><title type='text'>How to repair MDF files not detached from SQL Server 2000</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;If you have an mdf file that was not properly detached from SQL Server 2000 (possibly due to a hard drive crash), the first (best) option is to restore the database from a valid backup. If that is not an option, then you may need to repair mdf before you are able to attach the database.&lt;br /&gt;&lt;br /&gt;If you are using SQL Server 2000, the following are instructions on how to repair the mdf file. Replace the filenames with your filename!&lt;br /&gt;&lt;br /&gt;1.   Make sure you have a copy of eshadata.MDF (or gendata.mdf)&lt;br /&gt;2.   Create a new database called fake (default file locations)&lt;br /&gt;3.   Stop SQL Service&lt;br /&gt;4.   Delete the fake_Data.MDF and copy eshadata.MDF (or gendata.mdf) to where fake_Data.MDF used to be and rename the file to  fake_Data.MDF&lt;br /&gt;5.   Start SQL Service&lt;br /&gt;6.   Database fake will appear as suspect in EM&lt;br /&gt;7.   Open Query Analyser and in master database run the following :&lt;br /&gt;&lt;br /&gt;sp_configure 'allow updates',1&lt;br /&gt;go&lt;br /&gt;reconfigure with override&lt;br /&gt;go&lt;br /&gt;update sysdatabases set&lt;br /&gt;status=-32768 where dbid=DB_ID('fake')&lt;br /&gt;go&lt;br /&gt;sp_configure 'allow updates',0&lt;br /&gt;go&lt;br /&gt;reconfigure with override&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;This will put the database in emergency recovery mode&lt;br /&gt;8.    Stop SQL Service&lt;br /&gt;9.    Delete the fake_Log.LDF file&lt;br /&gt;10.  Restart SQL Service&lt;br /&gt;11.   In QA run the following (with correct path for log)&lt;br /&gt;&lt;br /&gt;dbcc rebuild_log('fake','h:\fake_log.ldf')&lt;br /&gt;go&lt;br /&gt;dbcc checkdb('fake') -- to check for errors&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;12.   Now we need to rename the files, run the following (make sure there are no connections to it) in Query Analyser (At this stage you can actually access the database so you could use DTS or bcp to move the data to another database .)&lt;br /&gt;&lt;br /&gt;use master&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;sp_helpdb 'fake'&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;/* Make a note of the names of the files , you will need them in the next bit of the script to replace datafilename and logfilename - it might be that they have the right names */&lt;br /&gt;&lt;br /&gt;sp_renamedb 'fake','eshadata'&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;alter database eshadata&lt;br /&gt;MODIFY FILE(NAME='fake', NEWNAME = 'eshadata')&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;alter database eshadata&lt;br /&gt;MODIFY FILE(NAME='fake_log', NEWNAME = 'eshadata_log')&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;dbcc checkdb('eshadata')&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;sp_dboption 'eshadata','dbo use only','false'&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;use eshadata&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;sp_updatestats&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;13.   You should now have a working database. However the log file will be small so it will be worth increasing its size. Unfortunately your files will be called fake_Data.MDF and fake_Log.LDF but you can get round this by detaching the database properly and then renaming the files and reattaching it.&lt;br /&gt;Run the following in QA&lt;br /&gt;&lt;br /&gt;sp_detach_db eshadata&lt;br /&gt;&lt;br /&gt;--now rename the files then reattach&lt;br /&gt;&lt;br /&gt;sp_attach_db 'eshadata','h:\eshadata.mdf','h:\eshadata_log.ldf'&lt;br /&gt;&lt;br /&gt;Resource Link: &lt;a href="http://www.esha.com/kb/questions/12/"&gt;http://www.esha.com/kb/questions/12/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-230986742825357552?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/230986742825357552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/12/how-to-repair-mdf-files-not-detached.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/230986742825357552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/230986742825357552'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/12/how-to-repair-mdf-files-not-detached.html' title='How to repair MDF files not detached from SQL Server 2000'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-7424583577150427140</id><published>2009-12-02T20:47:00.000-08:00</published><updated>2009-12-02T20:52:30.167-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf file'/><category scheme='http://www.blogger.com/atom/ns#' term='recover mdf'/><title type='text'>Character Data Corruption In Sql Server And Mdf Recovery</title><content type='html'>&lt;div style="text-align: justify;"&gt;In MS SQL Server, you use SSMS (SQL Server Management Studio) to query character data from the SQL Server database which uses a non-Unicode data type. For instance, the SQL Server uses the char, varchar or the text data type.&lt;br /&gt;&lt;br /&gt;The code page of client computer differ form database code page.&lt;br /&gt;&lt;br /&gt;In such circumstances, the character data may be represented inaccurately. For example, you may face any of the subsequent issues:&lt;br /&gt;&lt;br /&gt;The characters are represented as the question mark. You might come across this issue if you have inserted or updated character data as non-Unicode data type prior to querying character data. The characters are represented as corrupted. The characters of code page A are stored in non-Unicode column of code page B. Furthermore, the characters are not translated.&lt;br /&gt;&lt;br /&gt;In such circumstances, the MDF file becomes inaccessible due to corruption and might lead to the data loss.&lt;br /&gt;&lt;br /&gt;This situation occurs as the characters of code page are stored in non-Unicode column of page B. In addition, the characters are not translated properly.&lt;br /&gt;&lt;br /&gt;In SQL Server, when you use string literal of non-Unicode data type, the string literal is changed by using the default code page of the database which is derived from collation of the database. Storing the character data of code page in a column of B code page may result into database corruption and data loss.&lt;br /&gt;&lt;br /&gt;To stop the database corruption, you may try the following:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Use a Unicode data type in place of non-Unicode data type&lt;/li&gt;&lt;li&gt;Use appropriate collation for SQL database&lt;/li&gt;&lt;li&gt;Use binary or varbinary data type&lt;/li&gt;&lt;li&gt;Use a various tool for storing and accessing data and disable data Translate parameter&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;These fixes will stop the database corruption but won’t be able to repair the corrupted database. To do so, you need to use &lt;a href="http://www.mdfrecovery.com/"&gt;MDF recovery&lt;/a&gt; software.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-7424583577150427140?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/7424583577150427140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/12/character-data-corruption-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7424583577150427140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7424583577150427140'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/12/character-data-corruption-in-sql-server.html' title='Character Data Corruption In Sql Server And Mdf Recovery'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-1765295111280355921</id><published>2009-11-30T08:50:00.000-08:00</published><updated>2009-11-30T08:52:30.299-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf file'/><category scheme='http://www.blogger.com/atom/ns#' term='recover mdf'/><title type='text'>“windows Could Not Start The Sql Server” Sql Error</title><content type='html'>&lt;div style="text-align: justify;"&gt;Sometime you face problem that "Windows could not start the SQL Server ([myinstancename]) on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 10022."&lt;br /&gt;&lt;br /&gt;This error message may get generated while dealing with the SQL Server. In this situation, try to bypass Configuration Manager by attempting to start the SQL Server from the Windows Services applet.&lt;br /&gt;&lt;br /&gt;You can also start the SQL Server through command prompt. If you get the following error message after running the command then probably you are in big trouble:&lt;br /&gt;&lt;br /&gt;“Your SQL Server installation is either corrupt or has been tampered with (Error getting instance ID from name.). Please uninstall and then re-run setup to correct this problem”&lt;br /&gt;&lt;br /&gt;Sometime, reinstalling the application may not help, but it affects your database and may corrupt it. The MDF may already be lying in the corrupted state as the installation of SQL Server is damaged. This is the condition when you need to &lt;a href="http://www.repairmdf.com"&gt;repair MDF file&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can go through the registry editing way, which is another threat to the SQL database. However, if you expert enough to effectually deal with the registry then locate the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The permission problem may be residing there, so correct it. If this doesn’t help either, then after uninstalling the application, remove all the SQL entries from the registry, if any. Then install the application again. This will clear all the installation related problems of SQL Server.&lt;br /&gt;&lt;br /&gt;And for curing the database corruption issues, you require &lt;a href="http://www.mdfrecovery.com"&gt;MDF recovery&lt;/a&gt; which is feasible through SQL recovery software. This software do MDF repair with the use of efficient scanning algorithms for all the objects of database. Applicable for all the corruption scenarios, this MDF recovery software perform the safe job.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-1765295111280355921?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/1765295111280355921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/11/windows-could-not-start-sql-server-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/1765295111280355921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/1765295111280355921'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/11/windows-could-not-start-sql-server-sql.html' title='“windows Could Not Start The Sql Server” Sql Error'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-7958980701609923655</id><published>2009-11-19T02:00:00.000-08:00</published><updated>2009-11-19T02:05:37.863-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf file'/><category scheme='http://www.blogger.com/atom/ns#' term='recover mdf'/><title type='text'>Repair Software For Damaged MDF Files</title><content type='html'>&lt;div style="text-align: justify;"&gt;All Database Files of Sql server is saved with the extension of .mdf. MDF File contains all your precious data and information. If mdf file get corrupt than you lost your precious data. If you are facing problems while opening your database files and you come across with the following error messages than your Database is said to be corrupt and damaged.&lt;br /&gt;&lt;br /&gt;     1. MDF is not a primary database file.&lt;br /&gt;     2. Windows could not start the Server.&lt;br /&gt;     3. Database file is missing and needs to restore.&lt;br /&gt;     4. Server can't find the requested database table.&lt;br /&gt;&lt;br /&gt;To recover data from corrupted database you need to download the software which can easily repairs your entire degraded Database. You need to restore the database from a clean backup. In case of unavailability of clean backup, you should run DBCC CHECKDB command to detect the amount of corruption and observe the suggested repair clause. If the problem still persist than you need to have &lt;a href="http://www.mdfrecovery.com"&gt;mdf recovery&lt;/a&gt; software which recovers the stored procedures, rules, constraints, triggers. There is software which is used for the recovery of all damaged Database. This particular software is an excellent and efficient recovery tool for all the users of MS Sql Server.&lt;br /&gt;&lt;br /&gt;Main Features of Repair Software.&lt;br /&gt;&lt;br /&gt;     1. Safe and Complete recovery and repair for corrupted MDF file.&lt;br /&gt;     2. Simple user interface.&lt;br /&gt;     3. Recovers user defined data types, rules, defaults, indexes and the included database    constraints.&lt;br /&gt;     4. Also repairs and restores the corrupted tables, views, saved procedures and triggers.&lt;br /&gt;     5. Support SQL Server 2000 &amp;amp; 2005.&lt;br /&gt;     6. Create script after recovery to save file.&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://www.repairmdf.com"&gt;MDF Repair&lt;/a&gt; Software supports repairing of corrupt or damaged data created using SQL Server 2000 and 2005. The Recovery Software fixes errors like unrecognized database format, enter database password, as with this error you do not get the permission to open your files. The Repair Software saves your time and recovers your data easily.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-7958980701609923655?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/7958980701609923655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/11/repair-software-for-damaged-mdf-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7958980701609923655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7958980701609923655'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/11/repair-software-for-damaged-mdf-files.html' title='Repair Software For Damaged MDF Files'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-2534005362046098873</id><published>2009-10-08T02:51:00.000-07:00</published><updated>2009-10-08T02:55:35.866-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf file'/><title type='text'>SQL Error: ‘The system cannot self repair this error’</title><content type='html'>&lt;div style="text-align: justify;"&gt;MS SQL Server database is a set of tables that comprise stored procedures, views, constraints, indexes and transaction log files. Database storage space is basically divided into several pages, which serves as the basic unit of all I/O operation in SQL Server. Each of these pages is assigned 96-byte header that are responsible for holding all meta data information of the page. All the data are stored in MDF files. But sometimes, SQL Server log giving some sort of errors. It indicates that your SQL database is affected and requires restoring from backup. But in case of unavailability of backup, you should use &lt;a href="http://www.repairmdf.com"&gt;MDF Repair&lt;/a&gt; tools, which use powerful file repair algorithms to fix SQL database corruption.&lt;br /&gt;&lt;br /&gt;Sometime when you try to access your SQL database, you might receive the similar error message:&lt;br /&gt;&lt;br /&gt;Msg 2540, Level 10&lt;br /&gt;The system cannot self repair this error.&lt;br /&gt;&lt;br /&gt;It means that your SQL Server has encountered an error that could not be automatically repaired by its check code. Such errors include:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Metadata corruption&lt;/li&gt;&lt;li&gt;Corruption of PFS (page free space)pages&lt;/li&gt;&lt;li&gt;One or more system files corruption&lt;/li&gt;&lt;li&gt;PFS pages holds allocation status of each database page. They record information like whether the page has been allocated for storage or not, the amount of fee space available on each page etc.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Such issues might arise due to hardware issues. To fix 2540 error follow these steps:-&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Diagnose your system for hardware issues&lt;/li&gt;&lt;li&gt;Check, all system files are healthy. Reinstall the system, if required.&lt;/li&gt;&lt;li&gt;Restore the database from the recent backup, if present and is valid. If no clean backup is  available, run DBCC with repair option. But it can cause data loss as the process deletes the corrupted pages. For safe &lt;a href="http://www.mdfrecovery.com"&gt;MDF Recover&lt;/a&gt;y, use third-party tools of SQL database recovery.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;MDF Reccovery software are appropriate tools to scan and repair damaged SQL Server databases. Using powerful and safe scanning algorithms, they avail effective database recovery.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-2534005362046098873?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/2534005362046098873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/10/sql-error-system-cannot-self-repair.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/2534005362046098873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/2534005362046098873'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/10/sql-error-system-cannot-self-repair.html' title='SQL Error: ‘The system cannot self repair this error’'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-6327171924646047736</id><published>2009-09-21T23:52:00.000-07:00</published><updated>2009-09-21T23:54:32.398-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf file'/><title type='text'>Repair Corrupted MDF Files With MS SQL Database Repair Software!</title><content type='html'>&lt;div style="text-align: justify;"&gt;MS SQL is an RDBMS(relational database management system). It is very widely used throughout the world for data managements. This is a Microsoft product that has proved that it is reliable, consistent and fast than other softwares. The MS SQL Database Files uses .MDF file format. If these files get corrupted or lost then you will not be able to access the related data from the database and SQL will give you vulnerable results.&lt;br /&gt;&lt;br /&gt;There are various reasons that can corrupt the SQL Server Database file (.mdf) corruption. Some of them are:&lt;br /&gt;&lt;br /&gt; 1.       Abnormal termination of server computer.&lt;br /&gt; 2.  Defects and problems in Server, especially in the Hard Drives, disk controllers, main memory, cache or in Raid Controllers&lt;br /&gt; 3.       Incorrect String to multi-client database with user(s)&lt;br /&gt; 4.       Trying to access or copy the file while the server is running&lt;br /&gt; 5.       Disk space does not free when database is working&lt;br /&gt; 6.       Exceeded the size restriction of database file&lt;br /&gt;&lt;br /&gt;Due to these reasons database objects like Tables, Views, Stored Procedures, Triggers and other elements of database will get corrupted. In such situation you need to use any professional &lt;a href="http://www.mdfrecovery.com/"&gt;mdf recovery&lt;/a&gt; software. MDF Repair is one of these kinds.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.repairmdf.com/"&gt;MDF Repair&lt;/a&gt; is a database recovery tool that is used to repair damaged primary keys, unique keys, candidate keys, Indexes, Foreign Keys and all other elements of SQL Server. It creates a database rebuilding batch file that helps recreating the SQL Database and then the user can use it. The software is loaded with rich and powerful searching engines that is fast and gives accurate recovery results. It can handle almost all kind of major corruptions that may occur in the .MDF files.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-6327171924646047736?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/6327171924646047736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/09/repair-corrupted-mdf-files-with-ms-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6327171924646047736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6327171924646047736'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/09/repair-corrupted-mdf-files-with-ms-sql.html' title='Repair Corrupted MDF Files With MS SQL Database Repair Software!'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-2487081919594868535</id><published>2009-09-14T22:19:00.000-07:00</published><updated>2009-09-14T22:21:58.928-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf file'/><category scheme='http://www.blogger.com/atom/ns#' term='recover mdf'/><title type='text'>MDF Corruption Due To Unexpected Growing of Transaction Log File</title><content type='html'>&lt;div style="text-align: justify;"&gt;In MS SQL Server, database contains one data file and transaction log file. Microsoft SQL Server stores data physically into data file. The transaction log file holds the details of all the alterations that you perform on the SQL Server database and also the details of all the transactions which are performed in every alteration because transactional integrity is considered as a fundamental and intrinsic feature of the Microsoft SQL Server, logging the details of the alterations and transaction can not be turned off in the SQL Server.&lt;br /&gt;&lt;br /&gt;The log files of Microsoft SQL server is logically divided into several smaller segments, which are known as virtual log files. The SQL Server transaction log growth can be governed by user or can be constructed to use the entire disk space available. Any alteration that MS SQL Server makes to the size of transaction log file, like truncating the transaction log file or increasing the number of transaction log files, are done in units of the virtual log file.&lt;br /&gt;&lt;br /&gt;If the transaction log file, which communicates to the SQL Server database, is filled and you have set the selection for the transaction log file to cultivate automatically, then it grows in units of the virtual log files.&lt;br /&gt;&lt;br /&gt;Sometime, the transaction log file might become extremely large and you might run out of the hard disk space. When the transaction log file increases until the log file uses the entire available disk space and can not enlarge any more, you can not perform any alteration operation on the database. Furthermore, the SQL Server database becomes inconsistent and gets damaged. Thus, it becomes very important to repair the damaged SQL Server database as soon as possible.&lt;br /&gt;&lt;br /&gt;The SQL recovery is possible with the help of third party applications known as &lt;a href="http://www.mdfrecovery.com"&gt;MDF recovery&lt;/a&gt; software. MDF recovery software are the fully automated SQL repair software which are able to &lt;a href="http://www.repairmdf.com"&gt;repair mdf file&lt;/a&gt; in all possible cases of corruption. MDF recovery software are the fully programmed tools which performs thorough scan of the corrupted MDF file and carry out a complete MDF recovery.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-2487081919594868535?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/2487081919594868535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/09/mdf-corruption-due-to-unexpected.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/2487081919594868535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/2487081919594868535'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/09/mdf-corruption-due-to-unexpected.html' title='MDF Corruption Due To Unexpected Growing of Transaction Log File'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-1644720075575714528</id><published>2009-09-07T21:51:00.000-07:00</published><updated>2009-09-07T21:54:04.627-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='repair mdf file'/><category scheme='http://www.blogger.com/atom/ns#' term='recover mdf'/><title type='text'>MDF Header File Corruption and SQL Recovery</title><content type='html'>&lt;div style="text-align: justify;"&gt;The header file is the collection of relevant information, whose corruption make the file inaccessible. Even for the MDF file, which is the prime storage area of data for SQL Server, the header corruption can happen with regard of many reasons ranging from virus attack to application faults. The condition is peculiar and hard to digest for the database administrator.&lt;br /&gt;&lt;br /&gt;However, in such situation, you may get error messages like the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;“The file header is corrupted and is not a valid database file”&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Or&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;“Msg 5172, Level 16, State 15, Line 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The header for file 'D:\DbName\DbFileName.mdf' is not a valid database file header. The property is incorrect.”&lt;br /&gt;&lt;br /&gt;Generally these error messages occur when the user tries to attach the MDF file to SQL Server.&lt;br /&gt;&lt;br /&gt;In this situation you can try out attaching the file by some other methods, instead of trying it directly. Create the similar database and then exchange the corrupt files after shutting down the SQL service. After this, you can try to extract all the valuable information from the database by putting it into the emergency mode.&lt;br /&gt;&lt;br /&gt;If you didn’t get the desired results as you are expecting then look for the SQL repair solutions to get the valuable information back. This is quite good if you have the proper backup of the database as this would be the SQL recovery cure without the assistance of external help. However, who don’t have the backup, &lt;a href="http://www.mdfrecovery.com"&gt;MDF recovery&lt;/a&gt; tools are here to help you out.&lt;br /&gt;&lt;br /&gt;These &lt;a href="http://www.repairmdf.com"&gt;MDF repair&lt;/a&gt; software have power to scan the corrupted database with much efficiency and efficient scanning algorithms.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-1644720075575714528?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/1644720075575714528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/09/mdf-header-file-corruption-and-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/1644720075575714528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/1644720075575714528'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/09/mdf-header-file-corruption-and-sql.html' title='MDF Header File Corruption and SQL Recovery'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-7666607617354389965</id><published>2009-08-30T21:45:00.000-07:00</published><updated>2009-08-30T21:47:43.097-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='Recover SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL Recovery'/><title type='text'>MS SQL Database Error</title><content type='html'>Database plays a very important role for any Business System. MS SQL Database is one of the database where we can store all our important data. Most of the business organization lies on MS SQL Database Server for storing there valuable and important data by considering its reliability, highest level of security, and scalability. Because of its large memory capacity we can store voluminous amount of data in MS SQL Database. We can store our data in this database and can see or retrieve it in the future depending upon our need or use.&lt;br /&gt;&lt;br /&gt;Many times when we try to access our data from database it display an error message and you are not able to get access to the database. It happens because the database has gone corrupt or damaged because of virus attack, improper system shutdown, malfunction error and so on.&lt;br /&gt;&lt;br /&gt;Some of the commonly displayed error messages are:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Database corruption error&lt;/li&gt;&lt;li&gt;Table handler giving error&lt;/li&gt;&lt;li&gt;Cannot locate the database&lt;/li&gt;&lt;li&gt;Database is corrupt&lt;/li&gt;&lt;li&gt;Cannot open the desired database&lt;/li&gt;&lt;li&gt;File has crashed&lt;/li&gt;&lt;li&gt;Table error&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;          In this situation, use your backup to restore your data. In case, you don’t have any backup or no clean backup is available, scan the damaged SQL Server database using commercial &lt;a href="http://www.repairmdf.com"&gt;MDF Repair &lt;/a&gt;products. These software repairs your corrupt database by using certain sophisticated algorithm and flowchart. It first locates the corrupt database files and then repair them. After doing the repair work, you can once again get access to your files and folders in MS SQL database like the way you used to do it earlier.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-7666607617354389965?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/7666607617354389965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/08/ms-sql-database-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7666607617354389965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7666607617354389965'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/08/ms-sql-database-error.html' title='MS SQL Database Error'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-6073677914192438362</id><published>2009-08-25T04:49:00.000-07:00</published><updated>2009-08-25T04:57:58.953-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><title type='text'>Error 3414 in SQL Server</title><content type='html'>&lt;div style="text-align: justify;"&gt;MS SQL server is used to create web-based and enterprise database systems. The primary languages it uses are ANSI-SQL and T-SQL. The main unit of storage in SQL Server is database, which is basically a collection of tables. These databases might get corrupt due to several reasons, varying from unexpected shutdown to application, faults or virus infection and so on. Thus, it's always recommended to ensure that you have a valid and updated backup of your database. Otherwise during database corruption, &lt;a href="http://www.mdfrecovery.com/"&gt;MDF Recovery&lt;/a&gt; applications can restore the original database.&lt;br /&gt;&lt;br /&gt;Sometime you might receive an error message with your SQL Server database that is similar to the following:&lt;br /&gt;&lt;br /&gt;Error 3414, Severity Level 10&lt;br /&gt;&lt;br /&gt;Database '%.*s' (dbid %d): Recovery failed. Check the SQL Server errorlog for further information as to the cause.&lt;br /&gt;&lt;br /&gt;This is the SQL Server startup error. As specified in the error message, it occurs when SQL Server fails to recover listed database from suspect state. You cannot continue working with the database until the cause of error message is fixed. The database remains in suspect state.&lt;br /&gt;&lt;br /&gt;You should consider following these steps to recover from such situations:&lt;br /&gt;&lt;br /&gt;· First examine SQL Server log for error that might have occurred before error 3414 could occur. This should be performed at first occurrence of error 3414. It could occur due to faulty controller, disk problems, misbehaving antivirus application and other such issues.&lt;br /&gt;&lt;br /&gt;· If you don’t find any information regarding the responsible issues, restore from the last clean backup you have.&lt;br /&gt;&lt;br /&gt;· In case, you don’t have any backup or no clean backup is available, scan the damaged SQL Server database using commercial &lt;a href="http://www.repairmdf.com/"&gt;MDF Repair&lt;/a&gt; products.&lt;br /&gt;&lt;br /&gt;MDF Recovery software are the tools that could diagnose a damaged SQL Server database and perform safe and effective repair. Besides standard file repair applications, these software give you automated recovery features, file repair power in all cases of database corruption.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-6073677914192438362?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/6073677914192438362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/08/error-3414-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6073677914192438362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6073677914192438362'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/08/error-3414-in-sql-server.html' title='Error 3414 in SQL Server'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-8615072687550208058</id><published>2009-08-11T00:21:00.000-07:00</published><updated>2009-08-11T00:28:07.049-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><title type='text'>Error 8934 in SQL Server</title><content type='html'>&lt;div style="text-align: justify;"&gt;SQL Server DBCC CHECKDB command is the database check command that is used to scan the database and its objects for examining their physical and logical integrity. If you face error after running this command, it implies database corruption. In such situations, you need to restore from backup. However, if no backup is present, you should use MDF Repair applications.&lt;br /&gt;&lt;br /&gt;Run alter table command on database to change a column that is not null to null. You encounter erroneous results or the database becomes unavailable, marking error 644 in SQL Server error log. After this, when you run DBCC CHECKDB command to check database consistency, the following corruption error is displayed:&lt;br /&gt;&lt;br /&gt;Server: Msg 8934, Level 16, State 2, Line 1&lt;br /&gt;Table error: Object ID 1977058079, index ID 1. The high key value on page (1:77) (level 0) is not less than the low key value in the parent (0:1), slot 0 of the next page (1:82).&lt;br /&gt;Server: Msg 8933, Level 16, State 1, Line 1&lt;br /&gt;Table error: Object ID 1977058079, index ID 1. The low key value on page (1:78) (level 0) is not&gt;= key value in the parent (1:75) slot 2.&lt;br /&gt;&lt;br /&gt;The above issues are observed is specific to SQL Server 2000 columns is a clustered index key.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Cause&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;· Column status synchronization issues between sysindexes system table and syscolumns system table&lt;br /&gt;· Column is a clustered index key that is null&lt;br /&gt;&lt;br /&gt;SQL Server fails to perform correct modification and results corruption.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To fix these errors, try these steps:&lt;br /&gt;&lt;br /&gt;· Run DBCC DBREINDEX or DBCC CHECKTABLE command with REPAIR_REBUILD option&lt;br /&gt;· Try running ALTER TABLE command to change the column from not null to null&lt;br /&gt;· Check database consistency using DBCC CHECKDB command. If it reports corruption, use REPAIR_ALLOW_DATA_LOSS option. But it causes data loss, so it is safe to use commercial &lt;a href="http://www.mdfrecovery.com/"&gt;MDF Recovery&lt;/a&gt; applications. These are read-only applications that scan damaged SQL databases and restore them with original content and view. These software provides self-descriptive interface and restores all database objects including tables, user defined data types and functions, triggers, stored procedures, views, rules etc. These &lt;a href="http://www.repairmdf.com/"&gt;MDF Repair&lt;/a&gt; software is compatible with Windows Vista, XP, 2003, 2000, and NT. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-8615072687550208058?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/8615072687550208058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/08/error-8934-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/8615072687550208058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/8615072687550208058'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/08/error-8934-in-sql-server.html' title='Error 8934 in SQL Server'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-8110402989613118560</id><published>2009-08-03T03:49:00.000-07:00</published><updated>2009-08-11T00:29:19.817-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Recovery'/><title type='text'>MDF Restoration fails Due to File Version Conflict</title><content type='html'>&lt;div style="text-align: justify;"&gt;MS SQL Sever does not permit to repair from a backup which was created on SQL Server file version that is different from one on which you are trying to restore. When you try to repair, in such situations you may get the following error message:&lt;br /&gt;&lt;br /&gt;“Server: Msg 3168, Level 16, State 1, Line 1&lt;br /&gt;The backup of the system database on device d:\temp\master.bak cannot be restored because it was created by a different version of the server (134217904) than this server (134217920).&lt;br /&gt;Server: Msg 3013, Level 16, State 1, Line 1&lt;br /&gt;RESTORE DATABASE is terminating abnormally.”&lt;br /&gt;&lt;br /&gt;After this error message, the process get stop.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Reasons of the trouble&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This problem may arise if the database schema of the system has been changed. This change leads to the file system conflict for the SQL Server. Thus, the database schema causes inconsistency. This process is resulted due to the file version mismatch. After this error message, you can not repair your damaged database from backup and may get in serious trouble. It is the worst situation for database administrator or an organization.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Resolution&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To work on this problem, you need to install the same file version of SQL Server as it is in the backup system. This will evade the file version mismatch and finally database inconsistency and file version conflict like problems. Though, it works in most of the cases, but upgrading or degrading the file version of any application could make the circumstances worse. Your MDF file may get damaged further and may become completely permanent. In such cases, you need to use third party SQL recovery software to carry out MDF recovery.&lt;br /&gt;&lt;br /&gt;SQL recovery software is a user-friendly application, which is specifically designed to repair and restore the damaged or corrupted MDF files. &lt;a href="http://www.mdfrecovery.com/"&gt;mdf recovery&lt;/a&gt; software is applicable to each case of MDF corruption. Use powerful and trustworthy SQL recovery software to make sure that the recovery should be perfect and safe.&lt;br /&gt;&lt;br /&gt;Stellar Phoenix SQL Database Recovery software is the best and highly developed SQL recovery software, able to handle every MDF corruption problems. With easy user interface, it is very simple to achieve &lt;a href="http://www.repairmdf.com/"&gt;mdf repair&lt;/a&gt; with this SQL repair software.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-8110402989613118560?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/8110402989613118560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/08/mdf-restoration-fails-due-to-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/8110402989613118560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/8110402989613118560'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/08/mdf-restoration-fails-due-to-file.html' title='MDF Restoration fails Due to File Version Conflict'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-5694533405271294065</id><published>2009-07-19T21:40:00.000-07:00</published><updated>2009-07-19T22:07:23.259-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Database recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Recovery'/><title type='text'>Database Inconsistency and Invalid File Header Problems in Mdf</title><content type='html'>&lt;div style="text-align: justify;"&gt;RAID servers are considered as the most trusted and dependable storage medium. But sometimes, they may also lose all the hard drives, which hold important data, backups and other files.&lt;br /&gt;&lt;br /&gt;Most of the organizations use RAID for storing their important SQL Server databases. When they fail, you may lose all of your data.&lt;br /&gt;&lt;br /&gt;In such situations, you can save your data by restoring the database from your backup. But sometime, when you try to restore backups, you may receive the following error message:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;“Msg 3270, Level 0, Sev 16.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;An internal consistency error occurred. Contact Technical Support for assistance.”&lt;br /&gt;&lt;br /&gt;In this case, when you attempt to detach the database using sp_detach_db stored procedure and then attempt to attach the database again with the help of sp_attach_db stored procedure, you may get the flowing error message:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;“Server: Msg 5172, Level 16, State 15, Line 1.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The header for file ‘d:\pubs.mdf' is not a valid database file header. The PageAudit property is incorrect.”&lt;br /&gt;&lt;br /&gt;After this error message, the restoration process gets halted and you are not able to access anything from your SQL Server database.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Grounds of the trouble&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As affirmed in the above error messages, the problem is either due to inconsistent state of the database or due to invalid header entry for the database. In both of these cases, the database may get corrupted and you are not able to access even a single data from it.&lt;br /&gt;&lt;br /&gt;In such situations, you need to perform SQL recovery to repair the damaged database and retrieve all of your data from it. SQL recovery can be carried out using the &lt;a href="http://www.mssqldatabaserecovery.com"&gt;SQL Database recovery&lt;/a&gt; software.&lt;br /&gt;&lt;br /&gt;SQL Database recovery software are easy to use, which allow you to have quick and trouble-free &lt;a href="http://www.repairmdf.com"&gt;MDF repair&lt;/a&gt; in each and every case of MDF corruption. To ensure complete and successful SQL repair, always use effective SQL database recovery software like Stellar Phoenix SQL Database Recovery software.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-5694533405271294065?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/5694533405271294065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/07/database-inconsistency-and-invalid-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/5694533405271294065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/5694533405271294065'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/07/database-inconsistency-and-invalid-file.html' title='Database Inconsistency and Invalid File Header Problems in Mdf'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-7399217079064547577</id><published>2009-07-13T21:49:00.000-07:00</published><updated>2009-07-13T21:51:34.558-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Recovery'/><title type='text'>Master Database Corruption Of SQL</title><content type='html'>&lt;div style="text-align: justify;"&gt;The installation of MS SQL Server is composed of several databases, each which hold its own importance. Master database, TEMPDB, Model database, these are few of them. But the most important one is Master database.&lt;br /&gt;&lt;br /&gt;The Master database is the one which is responsible for carrying information like pointers to the other databases, login accounts and so on. This comprises of the system catalogs to maintain the data like system wide configuration settings, disk space, other database existence information, file allocations and other similar and so is the most important part of the SQL Server installation. Without this file, the starting up of the server is practically impossible. The file extension of this file is mdf.&lt;br /&gt;&lt;br /&gt;In few of the cases for users, this becomes hard to resist that the master database is corrupt. The improper backup of the same add to the grief of the user and create the need of SQL recovery. There are number of reasons for the database corruption like improper shutdown of system, virus attack etc. and strangely, some of the reports also state that the bulk use of DELETE from a table makes it corrupt.&lt;br /&gt;&lt;br /&gt;If the master database is corrupt, then surely others also do have the problems and thus the need of MDF recovery comes to an immediate. However you can try out to rebuild it with rebuild.exe and restore it.&lt;br /&gt;&lt;br /&gt;But, if in any case, this procedure doesn’t work properly, then you need to use the third party &lt;a href="http://www.repairmdf.com"&gt;MDF Repair&lt;/a&gt; software. Also in complete success scene of rebuilding the master database, the other databases may be lying in the corrupted state for which again these SQL recovery software are needed.&lt;br /&gt;&lt;br /&gt;These software have the magnificent ability to run the scanning mechanism to repair and restore the MDF file. The software uses the powerful scanning algorithms to give the stupendous results. They can benefit you with complete MDF recovery in each and every instance of corruption with the instinctive user interface.&lt;br /&gt;&lt;br /&gt;You can have safe SQL recovery with their read-only nature. These &lt;a href="http://www.mdfrecovery.com"&gt;MDF recovery&lt;/a&gt; utilities are applicable for all the objects of database. With the interactive user interface, this SQL recovery tool eases the users. You can use it for SQL Server 2000.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-7399217079064547577?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/7399217079064547577/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/07/master-database-corruption-of-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7399217079064547577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/7399217079064547577'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/07/master-database-corruption-of-sql.html' title='Master Database Corruption Of SQL'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-1637677777780514564</id><published>2009-07-06T22:43:00.000-07:00</published><updated>2009-07-06T22:50:21.844-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Recovery'/><title type='text'>Software For Recovering Damaged Mdf Files</title><content type='html'>&lt;div style="text-align: justify;"&gt;Database plays a very important role for any Business System. Most of the business organization lies on MS SQL Database Server for storing there valuable and important data by considering its reliability, highest level of security, and scalability. Sometimes when you try to open SQL database file, you face various error messages which mean that your SQL Database file (.mdf) has got corrupted. There may be great chances of losing some part or whole important document. Data loss situation and Corruption occur due to virus attacks, unexpected system shutdown, media corruption, application corruption and any other reasons. This arise the need of MS SQL Database Recovery to save the important data from corrupted mdf file.&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://www.repairmdf.com"&gt;mdf Repair&lt;/a&gt; Software is a perfect tool to recovers, repair and restore corrupted and damaged mdf file including deleted records, partly damaged records which get saved in separate batch files. The software thoroughly scans the whole database for the recovery of deleted database file and creates script files after SQL recovery. The mdf repair is easy to use database repair software with advance searching algorithms. It is very safe and simple to use this software. You will not feel any problem at the time when you use this software. After recovery it displayed all the repaired files in tree like structure. It also creates the scripts files which shows where the recovered files are saved. Whatever the reasons for the corruption of your SQL database, it doesn’t affect software in recovery process. It is efficient is recovery of corruption issues.&lt;br /&gt;&lt;br /&gt;Some of the features of &lt;a href="http://www.mssqldatabaserecovery.com"&gt;SQL recovery&lt;/a&gt; tool are—&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Supports SQL Server 2000 and SQL Server 2005.&lt;/li&gt;&lt;li&gt;It can repairs large sized SQL database successfully.&lt;/li&gt;&lt;li&gt;Repairs and restores database constraints and indexes.&lt;/li&gt;&lt;li&gt;Repair damaged tables, views, stored procedures, and triggers.&lt;/li&gt;&lt;li&gt;Quick and complete repair and recovery of MS SQL database from MS SQL Server.&lt;/li&gt;&lt;li&gt;Also recover and repair predefined defaults, rules, default values, user data types and checks.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Mdf Repair tool is a great tool for recovering the damaged files database.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-1637677777780514564?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/1637677777780514564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/07/software-for-recovering-damaged-mdf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/1637677777780514564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/1637677777780514564'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/07/software-for-recovering-damaged-mdf.html' title='Software For Recovering Damaged Mdf Files'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-2020476246620347294</id><published>2009-06-24T23:45:00.000-07:00</published><updated>2011-10-20T20:02:01.699-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><title type='text'>SQL Server startup error - “Error – 3414”</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;MS SQL server is the most well-liked application used to create web-based and enterprise database systems. The primary languages it uses are ANSI-SQL and T-SQL. The main storage unit in SQL Server is database, which is mainly a collection of tables. These databases might get corrupt due to several reasons as unexpected shutdown to application, unexpected system shutdown and virus infection. Thus, it is always suggested to ensure that you have a valid and updated backup of your SQL Server database. In other cases when you don’t find backup as valid or existent while database corruption, then you need the &lt;b style="color: #351c75;"&gt;&lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;MDF Recovery&lt;/a&gt;&lt;/b&gt; applications  that can restore the original database.&lt;br /&gt;&lt;br /&gt;You might receive an error message with your SQL Server database that is similar to the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Error 3414, Severity Level 10&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Database '%.*s' (dbid %d): Recovery failed. Check the SQL Server errorlog for further information as to the cause.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is the SQL Server startup error.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Cause&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As specified in the error message, it occurs when SQL Server fails to recover listed database from suspect state. You cannot continue working with the database until the cause of error message is fixed. The database remains in suspect state.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Resolution&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You should consider following these steps to recover data from such situations:&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;You need to first observe SQL Server log for error that might have occurred before error 3414 could occur. This should be performed at first occurrence of error 3414. It could occur due to damaged controller, antivirus application, disk problems and other such issues.&lt;/li&gt;&lt;li&gt;If you don’t find any information regarding the responsible issues, restore from the last clean backup you have.&lt;/li&gt;&lt;li&gt;In case, you don’t have any backup or no clean backup is available, scan the damaged SQL Server database using commercial &lt;a href="http://www.stellarsqldatabaserecovery.com/"&gt;MDF Repair&lt;/a&gt; products.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;MDF Recovery software analyze damaged SQL Server database and perform harmless and successful repair. Besides standard file repair applications, these software give you automated recovery features, file repair power in all cases of database corruption, read-only design, to-the-point documentation, graphically rich user interface and other advanced features.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-2020476246620347294?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/2020476246620347294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/06/sql-server-startup-error-error-3414.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/2020476246620347294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/2020476246620347294'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/06/sql-server-startup-error-error-3414.html' title='SQL Server startup error - “Error – 3414”'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-6267618667794364198</id><published>2009-06-17T23:35:00.000-07:00</published><updated>2009-06-17T23:39:14.042-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><title type='text'>Can’t Drop a SQL Server Table</title><content type='html'>&lt;div style="text-align: justify;"&gt;SQL Server database is a collection of tables with typed columns. If due to any reason database tables get corrupt, you can use DBCC CHECKDB command to observe the amount of corruption. A SQL table gets corrupt due to unexpected shutdown, application bugs, virus attack, network faults and similar other reasons. However, to restore lost data, use your recent backup, if available and valid. In case of no backup or invalid backup, commercial MDF Repair applications can help you to repair and restore the damaged database.&lt;br /&gt;&lt;br /&gt;One of the typical symptoms that a corrupt SQL Server table shows is that you cannot drop it using DROP TABLE command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Cause&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You cannot drop a corrupt SQL Server table if allocation page is cross-linked. As a result, SQL Server takes it as some data from other tables in the same extent that belong to the affected object. In such cases, if it allows you to drop the table, it might delete data from other tables.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To correct the abovementioned behavior, try following these methods:&lt;br /&gt;&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Create a new SQL Server database and try copying all objects from affected database. To do so, use BCP or Transfer Manager. You then need to dump or rename the databases.&lt;/li&gt;&lt;li&gt;If database is large in size, you can update sysobjects and thus rename the table. After this, create a new database table, leaving the earlier one. Updating sysobjects can corrupt the database more.&lt;/li&gt;&lt;li&gt;If above measures don’t give required results, use your recent database backup to restore.&lt;/li&gt;&lt;li&gt; In case of backup unavailability or backup errors, use third-party MDF Recovery applications.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;a href="http://www.repairmdf.com"&gt;MDF Repair&lt;/a&gt; software are advanced tools that can examine your damaged SQL databases and repair them. Such software’s are well prepared with informative documentation, enhanced repair options, non-destructive design, and automatic repair feature. &lt;a href="http://www.mdfrecovery.com"&gt;MDF Recovery&lt;/a&gt; software perform powerful scan of damaged SQL Server database, while maintaining its integrity.  These are flexible tools that you can use in any logical case of database corruption.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-6267618667794364198?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/6267618667794364198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/06/cant-drop-sql-server-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6267618667794364198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6267618667794364198'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/06/cant-drop-sql-server-table.html' title='Can’t Drop a SQL Server Table'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-106021238891354153</id><published>2009-06-10T21:50:00.000-07:00</published><updated>2009-06-10T21:53:30.916-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Repair'/><title type='text'>Repair and Recover MDF File</title><content type='html'>&lt;div style="text-align: justify;"&gt;The SQL server Database Files is saved with the extension name of .mdf file (Master Database File). If you initiate that your database files are not accessing and moreover you are unable to open your mdf files than your files are found to be damaged or corrupted. In case of MDF corruption, you may face any of the given error messages:-&lt;br /&gt;&lt;br /&gt;1. “Windows could not start the SQL Server”&lt;br /&gt;&lt;br /&gt;2. “MDF is not a primary database file”&lt;br /&gt;&lt;br /&gt;3. “Server can’t find the requested database table”&lt;br /&gt;&lt;br /&gt;4. “Database Can’t Be Accessed”&lt;br /&gt;&lt;br /&gt;5. “The file *.mdf is missing and needs to restore”&lt;br /&gt;&lt;br /&gt;6. “The execution of a full-text query failed”.&lt;br /&gt;&lt;br /&gt;If these error messages appear than its mean that mdf file is corrupted, then you need &lt;a href="http://www.repairmdf.com"&gt;mdf repair&lt;/a&gt; to repair your corrupt and damaged file. SQL database file gets corrupted due to unexpected system shutdown, unable to boot, invalid database file headers, internal program errors, accidental deletion of data and files, Virus attacks etc. Stellar Phoenix SQL Database Recovery software uses well-known algorithm which performs a deep and broad scan of the damaged mdf file so as to retrieve each and every outline of data. MDF repair software repairs corrupted mdf file and recover table, views, stored procedures, rules and triggers from MS SQL Server effectively. There are many mdf Repair Software which scans your damage mdf files.&lt;br /&gt;&lt;br /&gt;An efficient &lt;a href="http://www.repair-mssql-database.com"&gt;SQL repair&lt;/a&gt; and recovery tool not only repair and recovers corrupt or damaged .mdf files but also repairs the entire data base without creating any bound regarding the size of the database. No matter whether the user is technically sound or not, proper guidelines and support is provided by such service providers. The mdf Repair Software is a powerful software tool that recover your data as much as possible, so to minimize the loss in file corruption and for making your organizational or personal operations productive.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-106021238891354153?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/106021238891354153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/06/repair-and-recover-mdf-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/106021238891354153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/106021238891354153'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/06/repair-and-recover-mdf-file.html' title='Repair and Recover MDF File'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-801488679218069394</id><published>2009-06-03T23:26:00.000-07:00</published><updated>2009-06-03T23:49:42.420-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Repair'/><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Repair'/><title type='text'>Data Corruption in SQL Server and MDF Recovery</title><content type='html'>In MS SQL Server, you use SQL Server Management Studio (SSMS) to query character data from the database which uses non-Unicode data type. For example, the SQL Server uses the char, varchar or the text data type.&lt;br /&gt;&lt;br /&gt;The code page of client computer differs from code page of database. In such situation, the character data may be represented incorrectly. For instance, you may face any of the following issues:&lt;br /&gt;&lt;br /&gt;The characters are represented as the question mark. You may come across this matter if you have updated character data as non-Unicode data type earlier to querying character data.&lt;br /&gt;&lt;br /&gt;The characters are represented as corrupted. The characters of code page X are stored in code page Y in non-Unicode column. Furthermore, the characters are not translated.&lt;br /&gt;&lt;br /&gt;In such circumstances, the MDF file gets corrupted and they are not accessible and might lead to data loss.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Reasons of the trouble: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This breakdown occurs as characters of code page are stored in non-Unicode column of page B. In addition, the characters are not translated properly.&lt;br /&gt;&lt;br /&gt;When using the string literal of non-Unicode data type in SQL Server, the string literal is changed by using the default code page of the database. Storing the character data of code page in a column of Y code page might result into database corruption and data loss.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Resolution&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;To prevent database corruption and work around this issue, you may try the following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Use binary or varbinary data type&lt;/li&gt;&lt;li&gt;Use appropriate collation for SQL database&lt;/li&gt;&lt;li&gt;Use a Unicode data type in place of non-Unicode data type&lt;/li&gt;&lt;li&gt;Use a diverse tool for storing and accessing data and disable data Translate parameter&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;These fixes will stop the database corruption but won’t be able to repair the corrupted database. To repair the corrupted database you need to use SQL recovery software.&lt;br /&gt;&lt;br /&gt;Stellar Phoenix SQL database recovery software is the wonderful &lt;a href="http://www.repairmdf.com"&gt;MDF repair&lt;/a&gt; software that uses the most powerful scanning mechanism for SQL repair. The user interface of this SQL recovery software is enormously interactive and effortless and doesn’t need any sound technical knowledge to carry out &lt;a href="http://www.mdfrecovery.com/"&gt;MDF recovery&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-801488679218069394?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/801488679218069394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/06/data-corruption-in-sql-server-and-mdf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/801488679218069394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/801488679218069394'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/06/data-corruption-in-sql-server-and-mdf.html' title='Data Corruption in SQL Server and MDF Recovery'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-4068854654692485379</id><published>2009-05-28T22:00:00.000-07:00</published><updated>2009-05-28T22:12:42.201-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Recover SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL Recovery'/><title type='text'>Logical Inconsistency Corrupt MDF File</title><content type='html'>&lt;div style="text-align: justify; font-family: verdana;"&gt;Logical inconsistency in database can lead to SQL Server database corruption. It normally affects your valuable and precious data by making it inaccessible and results as data loss. All database applications related to back-end and front-end roles of the SQL Server database get halted.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;Sometime, when you try to open your SQL Server database (MDF file), you might encounter the following error message:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;“Error: 824, Severity: 24, State: 2.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;SQL Server detect a logical consistency-based I/O error: incorrect pageid (expected 1:1863; actual 0:96). It occurred during a read of page (1:1863) in database ID 4 at offset 0×00000000e8e000 in file ‘F: MSSQL.1MSSQLDATAMSDBData.mdf’. Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check (DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online.”&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;After this error message, when you run DBCC CHECKDB command to check and fix your database inconsistency problems, you might come across additional error message stating:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;“Msg 945, Level 14, State 2, Line 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family:verdana;"&gt;Database ‘magirisilica_s24′ cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server error log for details.”&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family:verdana;"&gt;This action of SQL Server causes data inaccessibility and data loss. To overcome this problem, you need to know the cause of this problem.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Root of this issue&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family:verdana;"&gt;You might meet data detachment and database contradiction problem due to MDF file corruption. Such corruption could be the result of issues like hardware problems, file system errors, application malfunction and improper system shutdown.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Resolution&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family:verdana;"&gt;To sort out this problem, you need to opt for &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://www.mdfrecovery.com/"&gt;MDF recovery&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;. It is the process of systematically scanning the damaged MDF file and extracting best possible amount of data from it.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;It can be performed with the help of &lt;a href="http://www.mssqldatabaserecovery.com/"&gt;SQL Database Recovery&lt;/a&gt; software. These are highly automated tools that arrange efficient scanning methods to retrieve your data from damaged database file.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-4068854654692485379?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/4068854654692485379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/05/logical-inconsistency-corrupt-mdf-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/4068854654692485379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/4068854654692485379'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/05/logical-inconsistency-corrupt-mdf-file.html' title='Logical Inconsistency Corrupt MDF File'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-6696226995969211608</id><published>2009-05-20T21:56:00.000-07:00</published><updated>2009-05-24T23:12:34.455-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Recovery'/><title type='text'>Error During Upgrading From MSSQL 2000 to MSSQL 2005</title><content type='html'>&lt;p  style="text-align: justify;font-family:arial;"&gt;&lt;span style=""&gt;&lt;span style="font-family:verdana;"&gt;MS SQL Server is not an application that Microsoft updates very often. Thus when they release any update, it has the high possibility to be momentous. As such, there are several changes that you should understand and know before upgrading from MSSQL 2000 to MSSQL 2005. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p  style="text-align: justify;font-family:arial;"&gt;&lt;span style=""&gt;&lt;span style="font-family:verdana;"&gt;Upgrading from MSSQL 2000 to MSSQL 2005 isn’t a project to be taken lightly. An upgrade of such scale takes some careful preparation. The SQL Server Upgrade Advisor helps you in analyzing the system and creates a report identifying the issues which requires being addressed pre and post upgrading. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p  style="text-align: justify;font-family:arial;"&gt;&lt;span style=""&gt;&lt;span style="font-family:verdana;"&gt;Data, agent jobs, Data Transformation Services packages, failover clustering setup, replication setup, full text search objects, Analysis Services objects, Reporting Services configuration, Notification Services configuration and so on would have to be migrated. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify;font-family:arial;"&gt;&lt;span style=""&gt;&lt;span style="font-family:verdana;"&gt;Before beginning the upgrade process, check whether the needed software and hardware are available. Read backward compatibility notes and make required changes to the scripts and application. The Upgrade Advisor tool should be run and all the issues highlighted for solving should be addressed.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify;font-family:arial;"&gt;&lt;span style=""&gt;&lt;span style="font-family:verdana;"&gt;Once all above things have been done, the SQL Server 2005 setup has to be started and the instance installed. Subsequently, move user database to instance by using the backup and restore or detach and attach functionalities of MSSQL 2005. Then register the server, repopulate the full text catalogs, update statistics and then run Surface Area Configuration tool.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify;font-family:arial;"&gt;&lt;span style=""&gt;&lt;span style="font-family:verdana;"&gt;After successfully upgrading from MSSQL 2000 to MSSQL 2005, you will be able to use all of the advanced features of SQL Server 2005 and the database created on SQL Server 2000. It is very easy to configure MSSQL 2005 and use it.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify;font-family:arial;"&gt;&lt;span style=""&gt;&lt;span style="font-family:verdana;"&gt;Unluckily, sometimes when you attempt to upgrade, the upgrade fails with some sort of error messages and may leave your MDF file in corrupted state. In such situations, if you haven’t made proper backup, you may fall in big trouble and the situation may lead your business to destruction. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify;font-family:arial;"&gt;&lt;span style=""&gt;&lt;span style="font-family:verdana;"&gt;In such situations, the only thing which can save you and your business is MDF recovery. MDF recovery is the way to repair and restore the damaged database and extract data from it. It is a very easy process and works in all situations of MDF corruption.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify;font-family:arial;"&gt;&lt;span style=""&gt;&lt;span style="font-family:verdana;"&gt;MDF recovery is possible with the help of third party applications known as SQL recovery software. Good quality &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://mssqldatabaserecovery.com/"&gt;MDF recovery&lt;/a&gt;&lt;span style="font-family:verdana;"&gt; software, like Stellar Phoenix SQL Database Recovery, can make the situation completely in your support and can restore all of the MDF database objects. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-6696226995969211608?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/6696226995969211608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/05/upgrading-from-mssql-2000-to-mssql-2005.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6696226995969211608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6696226995969211608'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/05/upgrading-from-mssql-2000-to-mssql-2005.html' title='Error During Upgrading From MSSQL 2000 to MSSQL 2005'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-8668063926945093579</id><published>2009-04-28T01:01:00.000-07:00</published><updated>2009-06-10T21:55:11.843-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDF Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Repair. MDF Repair'/><title type='text'>Recover Data When MDF file get corrupted</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-family:verdana;"&gt;The data loss is a panic situation that generally occurs without any warning or information. It can damage or corrupt our database stored on our hard drives. The database may be corrupted due to application failure, media read errors, improper system shutdown and virus attack and many other reasons. In such case you need to use the database recovery software to recover and repair the corrupted database. In case of MDF corruption, you may face any of the given error messages:-&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;1. “Windows could not start the SQL Server”&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;2. “MDF is not a primary database file”&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;3. “Server can’t find the requested database table”&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;4. “Database Can’t Be Accessed”&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;5. “The file *.mdf is missing and needs to restore”&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;6. “The execution of a full-text query failed”.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt; The loss of MDF file means loss of database and its means loss of critical information. To recover the database you need to use the &lt;a href="http://www.mdfrecovery.com"&gt;MDF Recovery&lt;/a&gt; software. An efficient SQL repair and recovery tool not only repair and recovers corrupt or damaged .mdf files but also repairs the entire data base without creating any perimeter regarding the size of the database. The &lt;a href="http://www.repairmdf.com/"&gt;mdf Repair&lt;/a&gt; Software recover your data as much as possible, so to minimize the loss in file corruption and for making your organizational or personal operations productive.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;For More Information Regarding Software Visit:&lt;/span&gt;&lt;br /&gt;&lt;a style="font-family: verdana;" href="http://www.blogger.com/%20http://www.repairmdf.com/"&gt;&lt;br /&gt;http://www.repairmdf.com/&lt;/a&gt;&lt;br /&gt;&lt;a style="font-family: verdana;" href="http://www.repair-mssql-database.com/"&gt;http://www.repair-mssql-database.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-8668063926945093579?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/8668063926945093579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/04/recover-data-when-mdf-file-get.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/8668063926945093579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/8668063926945093579'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/04/recover-data-when-mdf-file-get.html' title='Recover Data When MDF file get corrupted'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8412057133034475655.post-6915724406402677991</id><published>2009-04-13T04:54:00.000-07:00</published><updated>2009-04-29T04:16:25.547-07:00</updated><title type='text'>MDF Corruption Due To Errors in SQL Query Analyzer</title><content type='html'>&lt;div style="text-align: justify; font-family: verdana;"&gt;&lt;div style="text-align: justify;"&gt;SQL Server Query Analyzer is the most significant object of the SQL Server. It is the main interface for perform SQL queries against the MDF file. You could make use of SQL Query Analyzer for creating and running SQL scripts or you could create scripts and save them for later use.SQL Server Query Analyzer is the most significant object of the SQL Server. It is the main interface for perform SQL queries against the MDF file. You could make use of SQL Query Analyzer for creating and running SQL scripts or you could create scripts and save them for later use.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;It is the most significant tool for running ad hoc queries and executing SQL statements. But, at times when you try to setup Query Analyzer or try to implement any statement through this tool, you may receive the following error message:&lt;br /&gt;&lt;br /&gt;“Select * from table1&lt;br /&gt;server: msg 823, level 24, state 2, line 1&lt;br /&gt;I/O error (bad page ID) detected during read at offset 0x00000007b7e000 in file dbname.mdf”&lt;br /&gt;&lt;br /&gt;In such circumstances, the database administrators recommend to set the database in single user mode and try DBCC CHECKDB by repair_allow_data_loss option. But as you do this, you may get another error message stating:&lt;br /&gt;&lt;br /&gt;“Msg 8966, level 16, state 1, line 1&lt;br /&gt;could not read and latch page (1:15807) with latch type SH. sysindexes failed.”&lt;br /&gt;&lt;br /&gt;When you apply DBCC CHECKTABLE on the sysindexes table with similar options, you may also find an error message similar to the following:&lt;br /&gt;&lt;br /&gt;“Msg 8966, level 16, state 1, line 1&lt;br /&gt;table error: object id 0, indexed 0, page ID (1:15807) the page id in the page header are corrupt= (0:0)”&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Reason&lt;/span&gt;&lt;br /&gt;These problems may arise if the sysindex or sysindexkeys of the sql server database are damaged or corrupted. The sysindex is the main object of the database and contains information on keys or columns in an index. The sysindex holds information of columns and rows of database table. Because of the corruption in these objects, the mdf file also gets corrupt and become totally in accessible. It could lead to the terrible data loss. But you don’t have to panic because this situation has a cure through the mdf recovery.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;MDF recovery can be solved out by using the great and powerful SQL recovery software like Stellar Phoenix SQL Database. It is the most powerful MDF repair software which carries out crucial SQL repair quickly and without any trouble. You can use this MDF repair software in all problems of data loss. Stellar Phoenix SQL recovery software can carry out mdf repair for all of the database objects including tables, reports, forms, macros, triggers, stored procedures, defaults and many alike. This vigorous SQL repair software is useful with MS SQL Server 2000 and 2005.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;It is the most significant tool for running ad hoc queries and executing SQL statements. But, at times when you try to setup Query Analyzer or try to implement any statement through this tool, you may receive the following error message:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;“Select * from table1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;server: msg 823, level 24, state 2, line 1&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;I/O error (bad page ID) detected during read at offset 0x00000007b7e000 in file dbname.mdf”&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;In such circumstances, the database administrators recommend to set the database in single user mode and try DBCC CHECKDB by repair_allow_data_loss option. But as you do this, you may get another error message stating:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;“Msg 8966, level 16, state 1, line 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;could not read and latch page (1:15807) with latch type SH. sysindexes failed.”&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;When you apply DBCC CHECKTABLE on the sysindexes table with similar options, you may also find an error message similar to the following:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;“Msg 8966, level 16, state 1, line 1&lt;br /&gt;table error: object id 0, indexed 0, page ID (1:15807) the page id in the page header are corrupt= (0:0)”&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: verdana;"&gt;Reason &lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;These problems may arise if the sysindex or sysindexkeys of the sql server database are damaged or corrupted. The sysindex is the main object of the database and contains information on keys or columns in an index. The sysindex holds information of columns and rows of database table. Because of the corruption in these objects, the mdf file also gets corrupt and become totally in accessible. It could lead to the terrible data loss. But you don’t have to panic because this situation has a cure through the &lt;a href="http://www.mdfrecovery.com/"&gt;mdf recovery&lt;/a&gt;.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify; font-family: verdana;"&gt;MDF recovery can be solved out by using the great and powerful SQL recovery software like Stellar Phoenix SQL Database. It is the most powerful MDF repair software which carries out crucial SQL repair quickly and without any trouble. You can use this MDF repair software in all problems of data loss. Stellar Phoenix SQL recovery software can carry out &lt;a href="http://www.repairmdf.com/"&gt;mdf repair&lt;/a&gt; for all of the database objects including tables, reports, forms, macros, triggers, stored procedures, defaults and many alike. This vigorous SQL repair software is useful with MS SQL Server 2000 and 2005.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8412057133034475655-6915724406402677991?l=solution-mdf-file-corruption.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solution-mdf-file-corruption.blogspot.com/feeds/6915724406402677991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/04/mdf-corruption-due-to-errors-in-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6915724406402677991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8412057133034475655/posts/default/6915724406402677991'/><link rel='alternate' type='text/html' href='http://solution-mdf-file-corruption.blogspot.com/2009/04/mdf-corruption-due-to-errors-in-sql.html' title='MDF Corruption Due To Errors in SQL Query Analyzer'/><author><name>Sam Joseph</name><uri>http://www.blogger.com/profile/00479606573887239885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
