c# - ASP.NET MVC: Default page works, but other pages return 404 error -
I have created a "Hello World" application, in the same blue. It works perfectly on my development computer, using the built-in web server.
I have advised for the deployment of Phil Hack. I have used the publishing feature to get the output directory, and copied all the files at all places on ISP (Network Solutions).
When I go to the site, I get the welcome page, but when I do, I get a 404 error.
What could be the problem?
This is obviously running the network solution IIS6. I got what I wanted. There is additional notification of .aspx after the controller placeholder
{controller} .aspx / {action} / {id}
IIS6 requires it Because it always thinks that it is talking to an actual Web page rather than a controller.
I am not interested in extra characters in the url, but I may have to stay with it. / P>
Are you sure you put it on the IIS7 server? If the server runs the IIS 6 check and
Comments
Post a Comment