2014-03-05 107 views
0

目前我的sitefinity正在從事版本5.4。Sitefinity 6.0升級

我必須將sitefinity升級到版本6.3。 我遵循sitefinity論壇中提到的所有步驟。首先我升級到6.0,它運行良好。我手動做一個小的變化是,我不得不添加下面提及強制裝配重定向代碼塊,因爲即使升級後,我的網站被引用到舊版本(5.4.4010.0)

<runtime> 
  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> 
    <dependentAssembly> 
      <assemblyIdentity name="Telerik.Sitefinity" publicKeyToken="b28c218413bdf563" culture="neutral"/> 
      <bindingRedirect oldVersion="5.4.4010.0" newVersion="6.0.4210.0"/> 
    </dependentAssembly> 
    <dependentAssembly> 
      <assemblyIdentity name="Telerik.Sitefinity.Model" publicKeyToken="b28c218413bdf563" culture="neutral"/> 
      <bindingRedirect oldVersion="5.4.4010.0" newVersion="6.0.4210.0"/> 
    </dependentAssembly> 
  </assemblyBinding> 
</runtime> 

我更新後在我的web.config文件中的上述塊,應用程序工作得很好。

現在,根據指示,我試圖從版本6.0升級到版本6.1,遵循stefinity論壇上提及的過程。 後向上漸變我不得​​不修改與下述代碼在web.config:

<runtime> 
  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> 
    <dependentAssembly> 
      <assemblyIdentity name="Telerik.Sitefinity" publicKeyToken="b28c218413bdf563" culture="neutral"/> 
      <bindingRedirect oldVersion="5.4.4010.0" newVersion="6.2.4900.0"/> 
    </dependentAssembly> 
    <dependentAssembly> 
      <assemblyIdentity name="Telerik.Sitefinity.Model" publicKeyToken="b28c218413bdf563" culture="neutral"/> 
      <bindingRedirect oldVersion="5.4.4010.0" newVersion="6.2.4900.0"/> 
    </dependentAssembly> 
  </assemblyBinding> 
</runtime> 
<runtime> 
  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> 
    <dependentAssembly> 
      <assemblyIdentity name="Telerik.Sitefinity" publicKeyToken="b28c218413bdf563" culture="neutral"/> 
      <bindingRedirect oldVersion="6.0.4210.0" newVersion="6.2.4900.0"/> 
    </dependentAssembly> 
    <dependentAssembly> 
      <assemblyIdentity name="Telerik.Sitefinity.Model" publicKeyToken="b28c218413bdf563" culture="neutral"/> 
      <bindingRedirect oldVersion="6.0.4210.0" newVersion="6.2.4900.0"/> 
    </dependentAssembly> 
  </assemblyBinding> 
</runtime> 

這個修改之後,應用程序工作正常但是,產品描述頁面似乎並沒有工作。它給了我一個下面提到的錯誤。

Server Error in '/' Application. 
  
Value cannot be null. 
Parameter name: item 
  
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
  
Exception Details: System.ArgumentNullException: Value cannot be null. 
Parameter name: item 
  
Source Error: 
  
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
  
Stack Trace: 
  
  
[ArgumentNullException: Value cannot be null. 
Parameter name: item] 
   Telerik.Microsoft.Practices.Unity.Utility.Guard.ArgumentNotNull(Object argumentValue, String argumentName) +68 
   Telerik.Sitefinity.Lifecycle.LifecycleDecorator.GetMaster(ILifecycleDataItemGeneric item) +67 
   Telerik.Sitefinity.Lifecycle.LifecycleDecorator.Telerik.Sitefinity.Lifecycle.ILifecycleDecorator.GetMaster(ILifecycleDataItem cnt) +61 
   Telerik.Sitefinity.Modules.Ecommerce.Orders.Implementations.ProductOptionsPopulator.GetProductVariation(Product product, List`1 selectedAttributeValues) +192 
   Telerik.Sitefinity.Modules.Ecommerce.Catalog.Web.UI.ProductOptionsControl.GetSelectedOptions() +1255 
   Telerik.Sitefinity.Modules.Ecommerce.Catalog.Web.UI.ProductOptionsControl.get_SelectedOptions() +38 
   Telerik.Sitefinity.Modules.Ecommerce.Orders.Web.UI.AddToCartWidget.GetOptionDetails() +322 
   Telerik.Sitefinity.Modules.Ecommerce.Orders.Web.UI.AddToCartWidget.GetProductVariation() +39 
   Telerik.Sitefinity.Modules.Ecommerce.Orders.Web.UI.AddToCartWidget.SwitchVisibilityBasedOnInventory() +45 
   Telerik.Sitefinity.Modules.Ecommerce.Orders.Web.UI.AddToCartWidget.InitializeControls(GenericContainer container) +45 
   Telerik.Sitefinity.Web.UI.SimpleView.CreateChildControls() +106 
   System.Web.UI.Control.EnsureChildControls() +83 
   System.Web.UI.Control.PreRenderRecursiveInternal() +42 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Control.PreRenderRecursiveInternal() +155 
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974 
  
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408 

這是我的升級跟蹤

---------------------------------------- 
Timestamp: 3/5/2014 6:29:03 AM 

Message: PASSED : SiteInitializer: Upgrade to 4100 (method: ReorderAdminMenu_6_0) 


---------------------------------------- 
---------------------------------------- 
Timestamp: 3/5/2014 6:29:05 AM 

Message: PASSED : SiteInitializer: Upgrade to 4100 (method: AddContentLocationsBackendPage) 


---------------------------------------- 
---------------------------------------- 
Timestamp: 3/5/2014 6:29:05 AM 

Message: PASSED : SiteInitializer: Upgrade to 4200 (method: UpgradeBackendTemplatesRemoveIE8Compatibility) 


---------------------------------------- 
---------------------------------------- 
Timestamp: 3/5/2014 6:30:19 AM 

Message: Libraries: Upload mode changed to Silverlight 


---------------------------------------- 
---------------------------------------- 
Timestamp: 3/5/2014 6:30:38 AM 

Message: PASSED : Copy data from sf_ec_product_type.title to sf_ec_product_type.title_ 


---------------------------------------- 
---------------------------------------- 
Timestamp: 3/5/2014 6:30:38 AM 

Message: PASSED : Copy data from sf_ec_product_type.title_plural to sf_ec_product_type.title_plural_ 


---------------------------------------- 
---------------------------------------- 
Timestamp: 3/5/2014 6:32:09 AM 

Message: PASSED : Scheduling task for updating content locations 


---------------------------------------- 
---------------------------------------- 
Timestamp: 3/5/2014 6:35:03 AM 

Message: PASSED : Updating content locations service 


---------------------------------------- 
---------------------------------------- 
Timestamp: 3/5/2014 6:53:28 AM 

Message: PASSED : SiteInitializer: Upgrade to 4300 (method: Upgrade_InitializeNavigationWidgetTemplates) 


---------------------------------------- 
---------------------------------------- 
Timestamp: 3/5/2014 6:53:44 AM 

Message: PASSED: OpenAccessLibrariesProvider - Prepare 'sf_media_thumbnails' table for upgrade 


---------------------------------------- 
---------------------------------------- 
Timestamp: 3/5/2014 6:54:20 AM 

Message: PASSED WITH WARNINGS: OpenAccessLibrariesProvider: Prepare thumbnails legacy mode: Telerik.OpenAccess.OpenAccessException: SQL exception on 'update sf_media_thumbnails set total_size=DATALENGTH(dta) where dta is not null' : Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding..For more details see the error log 


---------------------------------------- 

誰能幫我呢?

謝謝。

回答

0

您可以嘗試使用Beyond Compare等工具來比較您的網站文件與您嘗試升級到的vanilla Sitefinity版本。在您從Sitefinity項目管理器運行Sitefinity.exe文件進行升級的文件夾中,應該有另一個名爲_EmptyProject的文件夾。將它與你的網站進行比較,並確保所有正確的dll都被移走了,並且web.config被適當地更新了。