{"id":1172,"date":"2007-07-19T07:41:00","date_gmt":"2007-07-19T12:41:00","guid":{"rendered":"http:\/\/blogs.devhorizon.com\/reza\/?p=1172"},"modified":"2007-07-19T07:41:00","modified_gmt":"2007-07-19T12:41:00","slug":"time-out-during-gradual-upgrade-to-moss-2007","status":"publish","type":"post","link":"https:\/\/blogs.devhorizon.com\/reza\/2007\/07\/19\/time-out-during-gradual-upgrade-to-moss-2007\/","title":{"rendered":"Time out during gradual upgrade to MOSS 2007"},"content":{"rendered":"<p><P><STRONG>Situation:<\/STRONG> Upgrading a large site collection from SPS 2003 to MOSS 2007 for a completely virtualized&nbsp;medium server farm environment. <SPAN style=\"COLOR: black; mso-fareast-font-family: Calibri\">In brief, when you have a large site collection, the data copy for gradual upgrade may time out. <\/SPAN><\/SPAN><?xml:namespace prefix = o ns = \"urn:schemas-microsoft-com:office:office\" \/><o:p><\/o:p><\/P><br \/>\n<P><STRONG>Upgrade log file:<\/STRONG>[SPSqlCommandFactory] [DEBUG] [10\/20\/2006 6:26:00 AM]: SqlCommand.CommandTimeout = 23635<BR>[SPSiteCollectionCopier] [DEBUG] [10\/20\/2006 6:26:00 AM]: Copying table AllDocStreams.<BR>[SPSiteCollectionCopier] [ERROR] [10\/20\/2006 1:00:00 PM]: Failed copying site SPSite Url=http:\/\/devhmoss.<BR>[SPSiteCollectionCopier] [ERROR] [10\/20\/2006 1:00:00 PM]: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.<BR>[SPSiteCollectionCopier] [ERROR] [10\/20\/2006 1:00:00 PM]: at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)<BR>at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)<BR>at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)<BR>at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)<BR>at System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32 bytesExpected)<BR>at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()<BR>at System.Data.SqlClient.TdsParserStateObject.ReadByte()<BR>at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)<BR>at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)<BR>at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)<BR>at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()<BR>at Microsoft.SharePoint.Utilities.SqlSession.ExecuteNonQuery(SqlCommand command)<BR>at Microsoft.SharePoint.Upgrade.SPSiteCollectionMigrator.SPBaseSiteCollectionCopier.Copy()<BR>[SPManager] [ERROR] [10\/20\/2006 1:30:00 PM]: Migrate [SPMigratableSiteCollection Parent=SPManager] failed.<BR>[SPManager] [ERROR] [10\/20\/2006 1:30:00 PM]: This SqlTransaction has completed; it is no longer usable.<BR>[SPManager] [ERROR] [10\/20\/2006 1:30:00 PM]: at System.Data.SqlClient.SqlTransaction.ZombieCheck()<BR>at System.Data.SqlClient.SqlTransaction.Rollback(String transactionName)<BR>at Microsoft.SharePoint.Utilities.TransactionalSqlSession.Rollback()<BR>at Microsoft.SharePoint.Upgrade.SPSiteCollectionMigrator.SPBaseSiteCollectionCopier.Copy()<BR>at Microsoft.SharePoint.Upgrade.SPSiteCollectionMigrator.Migrate()<BR>at Microsoft.SharePoint.Upgrade.SPManager.Migrate(Object o, Boolean bRecurse)<BR>[SPManager] [DEBUG] [10\/20\/2006 1:30:00 PM]: Elapsed time migrating [SPMigratableSiteCollection Parent=SPManager]: 21:16:28.3861356.<BR>[SPManager] [INFO] [10\/20\/2006 1:30:00 PM]: Gradual Upgrade session finishes. root object = SPMigratableSiteCollection Parent=SPManager, recursive = True. 2 errors and 0 warnings encountered.<BR>[SPManager] [DEBUG] [10\/20\/2006 1:30:01 PM]: Removing exclusive upgrade regkey by setting the mode to none<o:p><\/o:p><\/P><br \/>\n<P><STRONG>Events on database server :<\/STRONG><o:p><\/o:p><\/P><br \/>\n<UL type=disc><br \/>\n<LI class=MsoNormal style=\"MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in\">Autogrow of file &#8216;DevMoss_SITE_Pair_log&#8217; in database &#8216;DevMoss_SITE_Pair&#8217; cancelled or timed out after 4062 ms.&nbsp; Use ALTER DATABASE to set a smaller FILEGROWTH or to set a new size.<o:p><\/o:p> <\/LI><\/UL><br \/>\n<P class=MsoNormal style=\"MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OR<\/P><br \/>\n<UL type=disc><br \/>\n<LI class=MsoNormal style=\"MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in\">Autogrow of file &#8216;WSSUP_Temp_cda0b018-aa08-4abe-b752-418c62861754_log&#8217; in database &#8216;WSSUP_Temp_cda0b018-aa08-4abe-b752-418c62861754&#8217; took 83109 milliseconds.&nbsp; Consider using ALTER DATABASE to set a smaller FILEGROWTH for this file. <o:p><\/o:p><\/LI><\/UL><br \/>\n<P><STRONG>Actions taken<\/STRONG>: Pregrowing transaction files in pair and temp databases as stated <A href=\"http:\/\/technet2.microsoft.com\/Office\/en-us\/library\/7d9c454c-9300-42e5-a79f-1064266a23931033.mspx?mfr=true\">here<\/A>&nbsp;did not help, neither&nbsp;setting&nbsp;a&nbsp;smaller growth rate to prevent a time-out during the autogrow operation&nbsp;on database server (because it is virtualized and expected to be slow)&nbsp;as described&nbsp;in this <A href=\"http:\/\/support.microsoft.com\/kb\/822641\">KB article<\/A>&nbsp;.We also tried bumping up the resources on all servers, again no luck!!!<o:p><\/o:p><\/P><br \/>\n<P><STRONG>Cause<\/STRONG>: Due to the inaccurate nature of setting throughput on every upgrade action, and the unpredictability of hardware performance in real time, the timeout computed during upgrade process could sometime break a legit SQL query that is just running a little longer than usual.<o:p><\/o:p><\/P><br \/>\n<P><STRONG>Solution: <\/STRONG>gradual upgrade is not your choice \ud83d\ude42 Use DB migration!!!!<o:p><\/o:p><\/P><br \/>\n<P class=MsoNormal style=\"MARGIN: 0in 0in 0pt\"><o:p>&nbsp;<\/o:p><\/P><br \/>\n<HR align=left width=\"50%\" noShade SIZE=10><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Situation: Upgrading a large site collection from SPS 2003 to MOSS 2007 for a completely virtualized&nbsp;medium server farm environment. In brief, when you have a large site collection, the data copy for gradual upgrade may time out. Upgrade log file:[SPSqlCommandFactory] [DEBUG] [10\/20\/2006 6:26:00 AM]: SqlCommand.CommandTimeout = 23635[SPSiteCollectionCopier] [DEBUG] [10\/20\/2006 6:26:00 AM]: Copying table AllDocStreams.[SPSiteCollectionCopier] [ERROR] [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-1172","post","type-post","status-publish","format-standard","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Time out during gradual upgrade to MOSS 2007 - Reza Alirezaei&#039;s Blog %<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blogs.devhorizon.com\/reza\/2007\/07\/19\/time-out-during-gradual-upgrade-to-moss-2007\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Reza Alirezaei\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2007\\\/07\\\/19\\\/time-out-during-gradual-upgrade-to-moss-2007\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2007\\\/07\\\/19\\\/time-out-during-gradual-upgrade-to-moss-2007\\\/\"},\"author\":{\"name\":\"Reza Alirezaei\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/#\\\/schema\\\/person\\\/cdbb24d283697a65951cb4a14e474938\"},\"headline\":\"Time out during gradual upgrade to MOSS 2007\",\"datePublished\":\"2007-07-19T12:41:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2007\\\/07\\\/19\\\/time-out-during-gradual-upgrade-to-moss-2007\\\/\"},\"wordCount\":524,\"commentCount\":0,\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2007\\\/07\\\/19\\\/time-out-during-gradual-upgrade-to-moss-2007\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2007\\\/07\\\/19\\\/time-out-during-gradual-upgrade-to-moss-2007\\\/\",\"url\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2007\\\/07\\\/19\\\/time-out-during-gradual-upgrade-to-moss-2007\\\/\",\"name\":\"Time out during gradual upgrade to MOSS 2007 - Reza Alirezaei's Blog %\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/#website\"},\"datePublished\":\"2007-07-19T12:41:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/#\\\/schema\\\/person\\\/cdbb24d283697a65951cb4a14e474938\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2007\\\/07\\\/19\\\/time-out-during-gradual-upgrade-to-moss-2007\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/#website\",\"url\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/\",\"name\":\"Reza Alirezaei's Blog\",\"description\":\"Blogging from the field!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/#\\\/schema\\\/person\\\/cdbb24d283697a65951cb4a14e474938\",\"name\":\"Reza Alirezaei\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g\",\"caption\":\"Reza Alirezaei\"},\"url\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/author\\\/rezaa\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Time out during gradual upgrade to MOSS 2007 - Reza Alirezaei's Blog %","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blogs.devhorizon.com\/reza\/2007\/07\/19\/time-out-during-gradual-upgrade-to-moss-2007\/","twitter_misc":{"Written by":"Reza Alirezaei","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blogs.devhorizon.com\/reza\/2007\/07\/19\/time-out-during-gradual-upgrade-to-moss-2007\/#article","isPartOf":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/2007\/07\/19\/time-out-during-gradual-upgrade-to-moss-2007\/"},"author":{"name":"Reza Alirezaei","@id":"https:\/\/blogs.devhorizon.com\/reza\/#\/schema\/person\/cdbb24d283697a65951cb4a14e474938"},"headline":"Time out during gradual upgrade to MOSS 2007","datePublished":"2007-07-19T12:41:00+00:00","mainEntityOfPage":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/2007\/07\/19\/time-out-during-gradual-upgrade-to-moss-2007\/"},"wordCount":524,"commentCount":0,"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blogs.devhorizon.com\/reza\/2007\/07\/19\/time-out-during-gradual-upgrade-to-moss-2007\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blogs.devhorizon.com\/reza\/2007\/07\/19\/time-out-during-gradual-upgrade-to-moss-2007\/","url":"https:\/\/blogs.devhorizon.com\/reza\/2007\/07\/19\/time-out-during-gradual-upgrade-to-moss-2007\/","name":"Time out during gradual upgrade to MOSS 2007 - Reza Alirezaei's Blog %","isPartOf":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/#website"},"datePublished":"2007-07-19T12:41:00+00:00","author":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/#\/schema\/person\/cdbb24d283697a65951cb4a14e474938"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blogs.devhorizon.com\/reza\/2007\/07\/19\/time-out-during-gradual-upgrade-to-moss-2007\/"]}]},{"@type":"WebSite","@id":"https:\/\/blogs.devhorizon.com\/reza\/#website","url":"https:\/\/blogs.devhorizon.com\/reza\/","name":"Reza Alirezaei's Blog","description":"Blogging from the field!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blogs.devhorizon.com\/reza\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blogs.devhorizon.com\/reza\/#\/schema\/person\/cdbb24d283697a65951cb4a14e474938","name":"Reza Alirezaei","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g","caption":"Reza Alirezaei"},"url":"https:\/\/blogs.devhorizon.com\/reza\/author\/rezaa\/"}]}},"_links":{"self":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/posts\/1172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/comments?post=1172"}],"version-history":[{"count":0,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/posts\/1172\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/media?parent=1172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/categories?post=1172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/tags?post=1172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}