Locally - my MVC 4, asp.net, c# app runs fine on IIS 8 / Windows 8.
When deployed to Windows Server 2008, I get this error:
Could not load file or as
There are some procedures using to fix the issue and if the binding redirect in
web.configdoes not solve the problem, you can try the following steps to fix it:
1) In Visual Studio Solution Explorer tree right-click References under your web project and select Manage NuGet Packages.
2) Go to Browse tab and select nuget.org as Package source.
3) Search and install the following packages: Ninject, Ninject.Web.Common and Ninject.MVC5.
It is also better to update the packages particularly Microsoft ASP.NET MVC on Updates tab of Manage NuGet Packages.
Hope this helps...