Start a new topic

Compilation Error - Upgrading AspDotNetStorefront MultiStore From 10.0.7 To 10.0.26

 

Hello All,


I am Upgrading AspDotNetStorefront MultiStore From 10.0.7 To 10.0.26 for our website Hosted on Windows Server 2016 with ,NET Framework 4.8


As part of upgrade, I copied "AspDotNetStorefront.Core.dll" (along with other updated files) from the download files to the website location.

 

 

\AspDotNetStorefront\Web\bin\

 

 

 

When i browse the website i see this error:

_______________________________________________________________

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1705: Assembly 'AspDotNetStorefront.Core, Version=10.0.26.0, Culture=neutral, PublicKeyToken=null' uses 'System.Web.Mvc, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'


image


Web.config

Changing the version to “5.2.7.0” In web.config doesn’t help.


image


 

 As part of upgrade, copied the dll  "AspDotNetStorefront.Core.dll" from the download files to the website location.

 

 

 

\AspDotNetStorefront\Web\bin\

_________________________________________________

 

Any Suggestion on this is highly appreciated.

1 Comment

how did you update the version in the web.config just the newVersion attribute? If so you also need to update the oldVersion attribute as well.


making xml like below


 

<dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31BF3856AD364E35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
      </dependentAssembly>

 

Login or Signup to post a comment