ASP.NET MVC Resource not found

Posted by TheLorax on Server Fault See other posts from Server Fault or by TheLorax
Published on 2009-12-21T02:38:19Z Indexed on 2010/04/08 1:03 UTC
Read the original article Hit count: 321

Filed under:
|
|

I am working on an MVC project in Visual Studio 2010 with .NET Framework 4.0 + MVC2 and everything works if I set the target framework to .NET 4.0. However, my host does not offer .NET 4.0 in order to deploy the site I need to get it working on .NET 3.5.

I tried converting it to ASP.NET 3.5 and everything builds just fine except now when I try to load the homepage, I get a 404 Error saying:

The resource cannot be found.

 Description: HTTP 404. The resource you are looking for (or one of its dependencies)      could have been removed, had its name changed, or is temporarily unavailable.  Please      review the following URL and make sure that it is spelled correctly. 

 Requested URL: /home

 Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET  
 Version:2.0.50727.4927

Anyone know why this is?

Thank You for Your help. TheLorax

© Server Fault or respective owner

Related posts about asp.net-mvc

Related posts about iis7.5