0
votes

I have implemented a MVC3 web application that works in Visual Studio.

http://localhost:1234/Home/Index This is the home page that works.

I have deployed in IIS 7.0 and keep seeing

HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Can someone please guide me what needs to be done? I have copied MVC3 dlls along with the application too.

1
Do you have asp.net mvc installed on production machine?Jahan
Have you tried in your IIS manager to pick the website and click a button that says Browse or Go to. When you deploy in IIS you won't necessarily get the same URL.Ingó Vals
In IIS, is your web app deployed as a website or as an application under a website? If it is an application then your URL should look something like http://server_host_name/application_name/Home/Index The application_name being the name of the application in IIS.M.Babcock
The ApplicationPool must be set as a ASP.NET MVC can you ensure that it's so?Ingó Vals
@IngóVals - Probably not. A 404 error typically means your IIS configuration is screwed up or you're hitting the wrong URL. If it was getting to the point that MVC would even matter, he'd have other problems.M.Babcock

1 Answers

0
votes

Have you made the folder you put the files in to an application?