Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 6.x > Installation and deployment > Could not load file or assembly 'System.Web.Mvc... View modes: 
User avatar
Member
Member
Dlglsh - 7/30/2012 5:24:56 AM
   
Could not load file or assembly 'System.Web.Mvc...
Hi all,

I know this is a long shot, but I was wondering if anyone has ever come across this problem.

My test and live sites are both sitting on the save server. I have a page that works fine in the test environment, but I get a Configuration Error on the live site.

Could not load file or assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.


The Web.config files are the same. System.Web.MVC is being referenced in both solutions and the dll is in the assembly folder.

Does anyone know what could be causing the issue or how to solve the problem?

Thanks in advance for your help.

Matt

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 8/1/2012 6:31:01 AM
   
RE:Could not load file or assembly 'System.Web.Mvc...
Hello,

This is a pretty general error message and can be caused by a couple of things. I would suggest you to clear the .NET cache, restart the application and to check if everything is configured correctly according to our documentation (e.g. if system requirements are met, if you are running the application in the correct .NET version, if it is installed correctly (e.g. try to re-install it)).

Best regards,
Boris Pocatko