<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Exploring SQL...</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/venkn/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/venkn/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:51:55 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Failing to restore SQL Server database backup with internal consistency error</title>
      <link>https://docs.microsoft.com/archive/blogs/venkn/failing-to-restore-sql-server-database-backup-with-internal-consistency-error</link>
      <pubDate>Tue, 16 Mar 2010 12:28:00 GMT</pubDate>
      <dc:creator><![CDATA[venkn]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/venkn/2010/03/16/failing-to-restore-sql-server-database-backup-with-internal-consistency-error/</guid>
      <description><![CDATA[Here is one of the corruption issue that i came across on the database which was dettached after...]]></description>
      <content:encoded><![CDATA[<P>Here is one of the corruption issue that i came across on the database which was dettached after entering into suspect mode making it difficult to re-use the mdf and ldf file.<BR>Even the database backup they had was taken from SQL 7.0 instance which had corruption. This backup was taken post the database was corrupt.<BR>Below im sharing the information on all the steps that I tried and finally getting the backup work with minimal data loss.</P>
<P>Failing to restore SQL Server database backup with internal consistency error.</P>
<P>ERROR<BR>======<BR>5 percent restored.<BR>10 percent restored.<BR>15 percent restored.<BR>Server: Msg 3270, Level 16, State 1, Line 1<BR>An internal consistency error occurred. Contact Technical Support for assistance.<BR>Server: Msg 3013, Level 16, State 1, Line 1<BR>RESTORE DATABASE is terminating abnormally.</P>
<P>Troubleshooting<BR>===============<BR>-- Customer had SQL 7 backup and trying to restore the database and failing to restore and giving some internal consistecny error.<BR>-- It passes all the checks (Verify Header and Filelistonly) however when trying to restore.<BR>-- CU do not have the DB anymore in production.<BR>-- They have mdf and ldf but they were dettached after the database went into suspect mode.</P>
<P>-- Ran Restore headeronly from disk = backup file name, this came with below output.</P>
<P>BackupName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BackupType ExpirationDate&nbsp;&nbsp;&nbsp;&nbsp; Compressed Position DeviceType UserName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ServerName&nbsp;&nbsp;&nbsp;&nbsp; DatabaseName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DatabaseVersion DatabaseCreationDate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BackupSize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>--------------- ---------- ------------------ ---------- -------- ---------- ------------------------- -------------- ----------------- --------------- ---------------------------------- ---------------------- <BR>NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;User Name&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&lt;Servername&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DBANme&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 515&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2009-01-02 13:54:13.000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2516844032&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </P>
<P>-- Restore Verifyonly -- Gave Valid backup Set.<BR>-- restore filelistonly -- Gave the result.<BR>-- This was giving indication that the backup is good but still it was giving some inconsistency issue.<BR>-- Looks like the Database backup was taken post the database encoutnered corruption.<BR>-- Connected to SQL 2005 instance and try restoring the database from the backup here.<BR>-- We saw that everytime we try to restore the DB using the back file, we saw the DB files getting created but it was failing to complete the restore.<BR>-- Ran the restore using WITH CONTINUE_AFTER_ERROR paramter, this continued file with no errors.<BR>-- This completed fine but it detected inconsistency error below:</P>
<P>5 percent processed.<BR>10 percent processed.<BR>15 percent processed.<BR>20 percent processed.<BR>25 percent processed.<BR>30 percent processed.<BR>35 percent processed.<BR>40 percent processed.<BR>45 percent processed.<BR>50 percent processed.<BR>55 percent processed.<BR>60 percent processed.<BR>65 percent processed.<BR>70 percent processed.<BR>75 percent processed.<BR>80 percent processed.<BR>85 percent processed.<BR>90 percent processed.<BR>95 percent processed.<BR>Processed 307200 pages for database 'DBName', file 'DBName_Data' on file 1.<BR>Processed 1 pages for database 'DBName', file 'DBName_Log' on file 1.<BR>100 percent processed.<BR>Damage to the backup set was detected.<BR>RESTORE WITH CONTINUE_AFTER_ERROR was successful but some damage was encountered. Inconsistencies in the database are possible.<BR>RESTORE DATABASE successfully processed 307201 pages in 142.521 seconds (17.657 MB/sec).</P>
<P><BR>-- Checked SQL Server error from file.</P>
<P>2010-03-15 11:41:57.15 spid63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Starting up database 'DBName'.<BR>2010-03-15 11:41:57.20 spid63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The database 'DBName' is marked RESTORING and is in a state that does not allow recovery to be run. <BR>2010-03-15 11:41:58.79 spid63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL Server has encountered 1 occurrence(s) of cachestore flush for the 'Object Plans' cachestore (part of plan cache) due to some database maintenance or reconfigure operations.<BR>2010-03-15 11:42:02.09 spid63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL Server has encountered 1 occurrence(s) of cachestore flush for the 'SQL Plans' cachestore (part of plan cache) due to some database maintenance or reconfigure operations.<BR>2010-03-15 11:42:02.24 spid63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL Server has encountered 1 occurrence(s) of cachestore flush for the 'Bound Trees' cachestore (part of plan cache) due to some database maintenance or reconfigure operations.<BR>2010-03-15 11:42:32.23 spid63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error: 3183, Severity: 16, State: 1.<BR>2010-03-15 11:42:32.23 spid63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RESTORE detected an error on page (0:0) in database "DBName" as read from the backup set.<BR>2010-03-15 11:44:12.56 spid63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Starting up database 'DBName'.<BR>2010-03-15 11:44:12.58 spid63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The database 'DBName' is marked RESTORING and is in a state that does not allow recovery to be run. <BR>2010-03-15 11:44:13.22 Backup&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Database was restored: Database: DBName, creation date(time): 2009/01/02(13:54:13), first LSN: 12375:571:29, last LSN: 12375:582:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'D:\DIR\Backup\DBName_20100310_214921.bak'}). Informational message. No user action required.</P>
<P>-- In SSMS the status of the DB was restoring.<BR>-- Ran --&gt; Restore database with recovery, but failed with below error:</P>
<P>Server: Msg 4323, Level 16, State 2, Line 1<BR>The database is marked suspect. Transaction logs cannot be restored. Use RESTORE DATABASE to recover the database.<BR>Server: Msg 3013, Level 16, State 1, Line 1<BR>RESTORE DATABASE is terminating abnormally.</P>
<P>-- Stopped SQL 2005 instabnce.<BR>-- Copied the mdf and ldf file for this restoring state Database.<BR>-- Dropped the DB in restoring state.<BR>-- Tried to CREATE DATABASE DBNAme ON (Filename ='D:\File.mdf') FOR ATTACH_FORCE_REBUILD_LOG<BR>-- This again failed with below error.</P>
<P>File activation failure. The physical file name "F:\Database\DBName\DBName_Log.LDF" may be incorrect.<BR>New log file 'D:\MSSQL\SQL2005\Logs\DBNAme_log.LDF' was created.<BR>Msg 1824, Level 16, State 1, Line 1<BR>Cannot attach a database that was being restored.</P>
<P>-- Here I noticed that the log file was getting created on F Drive and we did not had Drive: F on the box.<BR>-- Mapped another drive with letter F: and created the folder structure, but same error.</P>
<P>-- Tried EXEC sp_attach_single_file_db but failed with </P>
<P>File activation failure. The physical file name "F:\Database\DBName\DBName_Log.LDF" may be incorrect.<BR>The log cannot be rebuilt because the database was not cleanly shut down.<BR>Msg 1813, Level 16, State 2, Line 1<BR>Could not open new database 'DBNameDBName'. CREATE DATABASE is aborted.</P>
<P>-- Now tried the sp_attach_db command but failed again. </P>
<P>EXEC sp_attach_db @dbname = N'AdventureWorks', <BR>&nbsp;&nbsp;&nbsp; @filename1 = N'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Data\AdventureWorks_Data.mdf', <BR>&nbsp;&nbsp;&nbsp; @filename2 = N'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Data\AdventureWorks_log.ldf';</P>
<P><BR>Msg 1824, Level 16, State 1, Line 1<BR>Database cannot be restored.</P>
<P>-- Copied the original Data and Log files.<BR>-- And tried attaching the files here.</P>
<P>Msg 1813, Level 16, State 2, Line 1<BR>Could not open new database 'DBName'. CREATE DATABASE is aborted.<BR>Msg 9004, Level 21, State 1, Line 1<BR>An error occurred while processing the log for database 'DBName'.&nbsp; If possible, restore from backup. If a backup is not available, it might be necessary to rebuild the log.</P>
<P><BR>RESOLUTION<BR>==========<BR>-- Finally resorted back to Restoring the database from SQL 7.0 backup taken with CONTINUE_AFTER_ERROR paramter.<BR>-- Then ran sp_reset status follwoed by restore with recovery this got the DB in accessible mode and was able to read the table.<BR>-- Ran CHECKDB and this showed inconsistency on user Table.<BR>-- Ran repair and this fixed the corruption, however there was some data loss which could not be recovered.</P>]]></content:encoded>
    </item>
    <item>
      <title>SQL Database corruption in system objects 'sys.ifts_comp_fragment_ referenced' for FTS object fragmentation</title>
      <link>https://docs.microsoft.com/archive/blogs/venkn/sql-database-corruption-in-system-objects-sys-ifts_comp_fragment_-referenced-for-fts-object-fragmentation</link>
      <pubDate>Fri, 12 Mar 2010 05:21:00 GMT</pubDate>
      <dc:creator><![CDATA[venkn]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/venkn/2010/03/12/sql-database-corruption-in-system-objects-sys-ifts_comp_fragment_-referenced-for-fts-object-fragmentation/</guid>
      <description><![CDATA[In this blog, I will share one of the unique corruption scenario i came across, where corruption was...]]></description>
      <content:encoded><![CDATA[<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">In this blog, I will share one of the unique corruption scenario i came across, where corruption was in system meta data keeping information FTS object fragementation.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">Here the corruption was in system object 'sys.ifts_comp_fragment_1467152272_6792'. DBCC CHECKDB for the database was coming out with below error message.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">ERROR<o:p></o:p></SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">=======<o:p></o:p></SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 8pt">Table error: Object ID 0, index ID -1, partition ID 0, alloc unit ID 72057596473638912 (type Unknown), page (1:2867044). Test (sorted[i].GetOffset () &gt;= max) failed. Slot 0, offset 0x1 overlaps with the prior row.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 8pt">CHECKDB found 0 allocation errors and 1 consistency errors not associated with any single object.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 8pt">Object ID 10391752, index ID 1, partition ID 72057596477833216, alloc unit ID 72057596479799296 (type In-row data): Page (1:2867043) could not be processed.&nbsp; See other errors for details.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 8pt">Table error: Object ID 10391752, index ID 1, partition ID 72057596477833216, alloc unit ID 72057596479799296 (type In-row data), page (1:2867281). Test (sorted[i].GetOffset () &gt;= max) failed. Slot 0, offset 0x1 overlaps with the prior row.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 8pt">Table error: page (1:2867282) allocated to object ID 10391752, index ID 1, partition ID 72057596477833216, alloc unit ID 72057596479799296 (type In-row data) was not seen. The page may be invalid or may have an incorrect alloc unit ID in its header.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 8pt">Table error: Object ID 10391752, index ID 1, partition ID 72057596477833216, alloc unit ID 72057596479799296 (type In-row data). Page (1:2867283) is missing a reference from previous page (1:2867282). Possible chain linkage problem.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 8pt">CHECKDB found 0 allocation errors and 8 consistency errors in table 'sys.ifts_comp_fragment_1467152272_6792' (object ID 10391752).<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 8pt">CHECKDB found 0 allocation errors and 9 consistency errors in database 'DBName'.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 8pt">repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (DBNAME, noindex).<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">ENVIRONMENT<o:p></o:p></SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">=============<o:p></o:p></SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">SQL = SQL 2008<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">Looking at the above error the corruption seems to be on system table, however this system object wasn’t visible in SQL user database, neither on master database.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">Checked the error and could see corruption in system table 'sys.ifts_comp_fragment_1467152272_6792'<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">The problem database was approximately 23 GB in size.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 8pt">There are 0 rows in 0 pages for object "TableName".<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 8pt">CHECKDB found 0 allocation errors and 9 consistency errors in database 'DBName'.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 8pt">repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (DBName).<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 8pt">DBCC execution completed. If DBCC printed error messages, contact your system administrator.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">Checked the complete system and application log however no indication of Server crash or hardware issue.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">DBCC CHECKDB on master was clean.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">The problem object relates to Full text search and looks meta data for FTS fragments or document information.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">Ran below query and this came out with below information. This query checks the fragmentation in objects and their size.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">Select * from Sys.fulltext_index_fragments<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">table_id&nbsp;&nbsp;&nbsp; fragment_id fragment_object_id timestamp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; data_size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; row_count<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">----------- ----------- ------------------ ------------------ ----------- -------------------- --------------------<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">1165247206&nbsp; 37755&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1563165360&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x00000000001B9583 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 47043687&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 210215<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">1165247206&nbsp; 37813&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 183684448&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x00000000001B95EE 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10254&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;175<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">1165247206&nbsp; 37815&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 199684505&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x00000000001B95F1 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5201&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;89<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">1165247206&nbsp; 37835&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 567685816&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x00000000001B961C 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 53&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;1<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">1165247206&nbsp; 37836&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 583685873&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x00000000001B961F 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5308&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;91<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">1467152272&nbsp; 6792&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10391752&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x00000000001B7002 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 605258819&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2133650<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">1467152272&nbsp; 7302&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1547829272&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x00000000001B8632 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2025872&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 23044<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">1467152272&nbsp; 7545&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1701593846&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x00000000001B9253 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1172022&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;15027<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">1467152272&nbsp; 7648&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1243164220&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x00000000001B9561 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 577875&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8024<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">1467152272&nbsp; 7676&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 535685702&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x00000000001B9619 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 167683&nbsp; <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">Here i got interested information the table and the fragment ID. If we check the table witnessed in the error its suffix is table + Fragment ID<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">So ran the query, select * from sysobjects where id = 1467152272 and got the object name, this object was then confirmed to be used in FTS catalog<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">So confirmed that this table "Sys.fulltext_index_fragments" keeps information on the FTS object / index level fragment information and this seems to be corrupt for some reason.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">Performed Re-indexing on this user object did not help.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">Ran&nbsp; DBCC CHECKTABLE ('Tablename') for this table and it came clean.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">So the corruption is not on the user table but the system reference table.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">Took the database backup and dropped the catalog using this table and re-created the catalog successfully.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt">Re-executed DBCC CHECKDB on the database and this time it came clean.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8pt; mso-themecolor: text1"><o:p>&nbsp;</o:p></SPAN></P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Buffer Overrun Detected while installing - SQL Server 2000 SP4</title>
      <link>https://docs.microsoft.com/archive/blogs/venkn/buffer-overrun-detected-while-installing-sql-server-2000-sp4</link>
      <pubDate>Fri, 12 Mar 2010 05:19:00 GMT</pubDate>
      <dc:creator><![CDATA[venkn]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/venkn/2010/03/12/buffer-overrun-detected-while-installing-sql-server-2000-sp4/</guid>
      <description><![CDATA[Understanding the functionality:
- When the domain authentication details are provided - in code it...]]></description>
      <content:encoded><![CDATA[<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">Understanding the functionality:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">- When the domain authentication details are provided - in code it looks for the PDC.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">- A function by name VerifyPDC is invoked to verify the PDC<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">- A parameter is passed to the VerifyPDC function that can hold a maximum of MAX_COMPUTERNAME_LENGTH+1, which is as below: <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">&nbsp;max 15 characters of PDC name<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">and a Null terminator (\n)<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">- This function invokes another function by name DCGetDcName - this will return the name of the PDC.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">- In the function DCGetDcName they were padding '\\' to the PDC name.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">- So for example if the DC name is 13 characters in length, the computation goes as below:<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 13&nbsp; (length of Domain controller name) <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp; (for null terminator) <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2 &nbsp;(for \\) <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-------<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16 (total of 16 characters can be stored in the stack for that variable) <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">- If we exceed then the buffer overflow error is expected.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">General understanding:<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">1. Issue occurs when we are upgrading to SP4 on the cluster. When DC's are installed on both the nodes of the cluster and Domain controllers having more than 14 or 15 characters.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">2. The workaround specified in the bug - Will work till SP3:<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">Virtual server setup crashes if the computer name of PDC of the domain contains 14 or 15 characters <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">The workaround is to use debug version of sqlsui.dll and sqlsut.dll and replace them with the (sqlsui.dll &amp; sqlsut.dll) files.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">3. The way it works till SP3 is...<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">- The variables in debugger version was created with some extra space so it was capable of storing the extra characters.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">4. However this workaround doesnt help in SP4.&nbsp; In SP4 they have introduced a new switch.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">5. The functionality of this switch is to throw an exception if there is any stack overflow and the exception is handled and it gives the following error message:<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">"Buffer Overflow detected"<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">6. This functionality has been added to avoid any malicious code being executed.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">7. In this case, the computer name is 14 characters in length and in the code is padding '\\' and adding the \n terminator reaches to 17 characters which is out of the boundary of stack - <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">so it generates the above error.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">8. The recommendation to fix the issue is - to rename the domain controller name with max of 13 characters in length.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1"><o:p>&nbsp;</o:p></SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Unable to start SQL Service with domain account</title>
      <link>https://docs.microsoft.com/archive/blogs/venkn/unable-to-start-sql-service-with-domain-account</link>
      <pubDate>Fri, 12 Mar 2010 05:18:00 GMT</pubDate>
      <dc:creator><![CDATA[venkn]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/venkn/2010/03/12/unable-to-start-sql-service-with-domain-account/</guid>
      <description><![CDATA[It was an interesting case - SQL Error log stated:
&nbsp;
2008-06-04 17:34:29.66...]]></description>
      <content:encoded><![CDATA[<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">It was an interesting case - SQL Error log stated:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">2008-06-04 17:34:29.66 Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error: 17053, Severity: 16, State: 1.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">2008-06-04 17:34:29.66 Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UpdateUptimeRegKey: Operating system error 5(Access is denied.) encountered.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">.....<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">2008-06-04 17:34:30.16 spid11s&nbsp;&nbsp;&nbsp;&nbsp; Failed to check for new installation or a renamed server at startup. The logic for this check has failed unexpectedly. Run setup again, or fix the problematic registry key.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">2008-06-04 17:34:30.16 spid11s&nbsp;&nbsp;&nbsp;&nbsp; Server name is 'WHJPBS12\CRDNTPD01'. This is an informational message only. No user action is required.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">2008-06-04 17:34:30.16 Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error: 17182, Severity: 16, State: 1.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">2008-06-04 17:34:30.16 Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TDSSNIClient initialization failed with error 0x5, status code 0x51.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">2008-06-04 17:34:30.16 spid15s&nbsp;&nbsp;&nbsp;&nbsp; Starting up database 'model'.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">2008-06-04 17:34:30.16 Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error: 17182, Severity: 16, State: 1.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">2008-06-04 17:34:30.16 Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TDSSNIClient initialization failed with error 0x5, status code 0x1.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">2008-06-04 17:34:30.16 Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error: 17826, Severity: 18, State: 3.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">2008-06-04 17:34:30.16 Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">2008-06-04 17:34:30.16 Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error: 17120, Severity: 16, State: 1.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">2008-06-04 17:34:30.16 Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">SQL Service starts with Local Administrator account.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">It also start with Domain Account with sufficient privileges<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">Having narrowed down to a permission issue, we granted the below privileges:<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">• Act as Part of the Operating System = SeTcbPrivilege <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">• Bypass Traverse Checking = SeChangeNotify <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">• Lock Pages In Memory = SeLockMemory <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">• Log on as a Batch Job = SeBatchLogonRight <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">• Log on as a Service = SeServiceLogonRight <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">• Replace a Process Level Token = SeAssignPrimaryTokenPrivilege <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">Still it failed. Took Processmon<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">It was failing with "Access Denied" on the below registry key<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server\CRDNTPD01\MSSQLServer\SuperSocketNetLib\Np<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">Suggestion<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">=======<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">Grant permissions to the below registry keys<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">HKLM\Software\Microsoft SQL Server<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">HKLM\Software\MSSQLServer<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">HKLM\SYSTEM\CurrentConrolSet\Services\&lt;service_name&gt;<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">Grant permissions on the Folder path and the folder (or in a different location- where the data file and the log files are kept)<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">c:\Program files\Microsoft SQL Server<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">Grant the below priveleges<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">• Act as Part of the Operating System = SeTcbPrivilege <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">• Bypass Traverse Checking = SeChangeNotify <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">• Lock Pages In Memory = SeLockMemory <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">• Log on as a Batch Job = SeBatchLogonRight <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">• Log on as a Service = SeServiceLogonRight <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">• Replace a Process Level Token = SeAssignPrimaryTokenPrivilege <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">This should resolve this issue.<o:p></o:p></SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>SQL Server Setup was unable add user user@domain.com to local group - while installing SP in SQL 2005</title>
      <link>https://docs.microsoft.com/archive/blogs/venkn/sql-server-setup-was-unable-add-user-userdomain-com-to-local-group-while-installing-sp-in-sql-2005</link>
      <pubDate>Fri, 12 Mar 2010 05:13:00 GMT</pubDate>
      <dc:creator><![CDATA[venkn]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/venkn/2010/03/12/sql-server-setup-was-unable-add-user-userdomain-com-to-local-group-while-installing-sp-in-sql-2005/</guid>
      <description><![CDATA[SQL 2005 Service pack setup may fail with the below message:
MSI (s) (48!C0) [15:00:19:089]: Note:...]]></description>
      <content:encoded><![CDATA[<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">SQL 2005 Service pack setup may fail with the below message:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">MSI (s) (48!C0) [15:00:19:089]: Note: 1: 2262 2: Error 3: -2147287038 <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">MSI (s) (48!C0) [15:00:19:089]: Product: Microsoft SQL Server 2005 -- Error 29512. SQL Server Setup was unable add user <A href="mailto:sqlserver_service@domain.com"><SPAN style="COLOR: white; mso-themecolor: background1">sqlserver_service@domain.com</SPAN></A> to local group Domain\SqlServer_service.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">While installing Service pack – if you get the above message – <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">1.&nbsp;&nbsp;&nbsp;&nbsp; Check the service account for the SQL, SQL Agent, FT accounts – you can see the service account would be in a <A href="mailto:sqlserver_service@domain.com"><SPAN style="COLOR: white; mso-themecolor: background1">sqlserver_service@domain.com</SPAN></A> format<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">2.&nbsp;&nbsp;&nbsp;&nbsp; We need to change that to domain\sqlserver_service format<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">This will help resolve the issue. <o:p></o:p></SPAN></P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>SnapManager fails to detach the database snapshot, as a part of backup process</title>
      <link>https://docs.microsoft.com/archive/blogs/venkn/snapmanager-fails-to-detach-the-database-snapshot-as-a-part-of-backup-process</link>
      <pubDate>Fri, 12 Mar 2010 05:08:00 GMT</pubDate>
      <dc:creator><![CDATA[venkn]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/venkn/2010/03/12/snapmanager-fails-to-detach-the-database-snapshot-as-a-part-of-backup-process/</guid>
      <description><![CDATA[Snapmanager Log
===============
[15:30:19.480] Creating Snapshot of Virtual Disk Drive:...]]></description>
      <content:encoded><![CDATA[<SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 10pt; mso-themecolor: text1">
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">Snapmanager Log<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">===============<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:19.480] Creating Snapshot of Virtual Disk Drive: <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:19.480] Virtual Disk [F:], Virtual Disk [G:], Virtual Disk [E:]<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:19.480] Snapshot name: sqlinfo__venkn__recent<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:25.202] Snapshot SnapInfo drive(s) successfully completed.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:25.248] *** VERIFY DATABASE AFTER BACKUP<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:25.248] Collecting verification information...<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:25.248] Getting database backup information from SnapInfo file...<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:25.248] Running verification from local server....<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:25.264] Mounting Snapshot [sqlsnap__venkn__recent] for Virtual Disk E of Computer VENKSAMP<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:41.949] This Snapshot is mounted as the drive [Z:].<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:41.949] Mount Snapshot succeeded.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:41.980] Using existing connection to server [VENKSAMP]...<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:42.027] Attaching database [VAS__Mount]...<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:42.027] CREATE DATABASE [VAS__Mount] ON PRIMARY (NAME = 'VAS_dat', FILENAME = 'X:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\data\VAS.mdf') LOG ON (NAME = 'VAS_log', FILENAME = 'X:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\data\VAS.ldf') FOR ATTACH<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:43.934] Database attached.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:43.934] <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[15:30:43.934] DBCC CHECKDB (N'VAS__Mount') WITH NO_INFOMSGS, PHYSICAL_ONLY<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[16:50:14.443] <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[16:50:14.443] DBCC CHECKDB completed successfully.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[16:50:14.443] Detaching database [VAS__Mount]...<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[16:50:34.487] Failed to detach the database.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[16:50:34.487] Dismounting Virtual Disk Z of SnapShot [sqlsnap__venkn__recent]...<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">[16:54:38.657] Dismount Snapshot succeeded.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">As a part of backup process, Snapmanager software creates a database snapshot. It verifies the consistency of the backup by running CHECKDB. Once the CHECKDB completes successfully, it detaches the database snapshot.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: white; FONT-SIZE: 10pt; mso-themecolor: background1">In some cases it was failing to detach. Later with profiler traces we were able to identify that "AUTO SHRINK" was enabled. Apparently a system process started the shirink operation on the database. Disabling the "AUTO SHRINK" property helped resolve this issue.<o:p></o:p></SPAN></P></SPAN>]]></content:encoded>
    </item>
  </channel>
</rss>