Asp.Mvc HTTP Error 404.0 - Not Found (Solution!)
Created: 08/07/2012 09:39:26 p.m.
I have created my web site using visual studio and Asp.Mvc in local machine and when i tested it all works perfectley until i put my site into Web Hosting, then i recieved this massage:
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.Ofcourse i have no idea how to solve that until i found a little dll wich change all this shit..In my case the solution was this:Go here: C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 1.0\AssembliesCopy the file System.Web.Mvc.dllAnd drop it in bin folder in your hosting like this:Note: In the image you can see that the file "System.Web.Mvc.dll" is called "_System.Web.Mvc.dll" that was just my test to proove that this file solve my issue, just remove "_" if you added it, you must use the real name of the file: "System.Web.Mvc.dll"
That solved my issue, hope this helps somebody!