ASP.Net MVC Web App not running

Posted by Aidan Host on Stack Overflow See other posts from Stack Overflow or by Aidan Host
Published on 2010-05-31T15:26:41Z Indexed on 2010/05/31 15:43 UTC
Read the original article Hit count: 209

Filed under:

Hi,

I developed an ASP.Net MVC v1 web application and it ran fine on our server. The client wanted to move to another server, and the site does not run on the new host's server.

The new server specs:

  • Windows 2008
  • ASP.Net Framework v4
  • ASP.Net MVC 2 (afaik its included with .Net v4)
  • IIS 7.5 (afaik)

Error Message:

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

My understanding is that it should be backwards compatible. Is the app really trying to run in ASP.Net MVC v1 when v2 is available?

I have already tried deploying the MVC .dlls to the Bin folder, but it did not work.

I also tried changing all the system.Web.Mvc Version values (in the web.config for the web app) from 1.0.0.0 to 2.0.0.0, which also did not work.

Any assistance will be greatly appreciated.

© Stack Overflow or respective owner

Related posts about asp.net-mvc