1
Missing references when rendering FileManager
Question asked by Jon Kruger - 8/10/2018 at 12:14 PM
Answered
I'm using MVC 5.2.6 and FileUltimate 6.1.5... when I render the FileManager, I get an error saying that it can't load System.Web.WebPages 1.0... I have System.Web.WebPages 3.0.  Does FileUltimate not work with my version of MVC or am I missing something else?

1 Reply

Reply to Thread
0
Cem Alacayir Replied
Employee Post Marked As Answer
It supports ASP.NET MVC from 3 to 5.26.
Your problem is that you are missing some assembly redirects in your Web.config file of your project.
Normally when you create a new ASP.NET MVC project with Visual Studio, it generates a Web.config file with these settings.
So open your Web.config and check if <runtime> tag exists (under <confiugation> tag) and if exists fix the highlighted versions:
 
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  <dependentAssembly>
    <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
    <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
    <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
    <bindingRedirect oldVersion="1.0.0.0-5.2.6.0" newVersion="5.2.6.0"/>
  </dependentAssembly>
</assemblyBinding>
</runtime>
 

Reply to Thread