I have an application on environment under "Localhost / MVKPPT1" in IIS 5.1
Routing configuration (Like "MVC-default", "{controller} .mvc / {action} / {id}", new {controller = "home", action = "
index", id = (String) tap}); Routes.MapRoute ("Route", "", new {controller = "home", action = "index", id = (string) null}); When the page is rooted through "root", the links to ideas
< P>, which is not explicitly present, though when the first "MVC-default" is used, it works well. If it is hosted under the application then it will also work well.
Thank you.
You are experiencing a 404 error because you routing rule "{ Controller} .mvc / {action} / {id} ", which clearly connects after the controller name. MVC extensions, and routing rules were not taken beforehand, even do not work because you are using configurable IIS.
To correct this without configuring the IIS, you can change. Some ASP.NET handles currently in MSC, such as Espeaks. , or something else.
If you want a fix for IIS, please visit the link below, follow the instructions, and remove the .mvc extension.
Find more posts about it if you only google about it
Comments
Post a Comment