This project has moved. For the latest updates, please go here.

Azure support

Jun 16, 2016 at 11:29 PM
Hi I'm having issues running the module in Azure. It runs fine on my development server. The error = Could not load file or assembly System.Web.Helpers Version 2.0.0.0 Culture neutral PublicKeyToken 31bf3856ad364e35 or one of its dependencies. The located assembly manifest definition does not match the assembly reference. (Exception from HRESULT 0x80131040)
Coordinator
Jun 17, 2016 at 8:30 AM
Hi,

This typically a problem in your web.config where some assymbly redirect are not good denined after a dnn upgrade.

You have to add something like this

<dependentAssembly>
    <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  </dependentAssembly>

(this is not for to assembly you mention, but similar).

You have to look in a web.config of a new dnn install.

Tell me, if you can sind it out by yourself,
Sacha
Jun 17, 2016 at 8:46 AM
What you need is:
    <dependentAssembly>
        <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
    </dependentAssembly>
in <runtime> section of web.config
Marked as answer by Jetze on 6/17/2016 at 1:56 AM
Jun 17, 2016 at 8:57 AM
Thanks liffey it was missing in the config file, many thanks