.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

MVC and IIS 6

Posted By:      Posted Date: September 01, 2010    Points: 0   Category :ASP.Net
 
I am running into a problem whereby all of my urls are having /default.aspx appended to them on IIS 6 hosting Asp.Net MVC 1.0. This is of course breaking the url schema.    Below is the output from the Route Tester utility. As you can see the routes work fine on the Local IIS 7 server but the url has the appended /default.aspx on IIS 6. Does anyone have any ideas?   IIS 7 Route Tester Type in a url in the address bar to see which defined routes match it. A {*catchall} route is added to the list of routes automatically in case none of your routes match. To generate URLs using routing, supply route values via the query string. example: http://localhost:14230/?id=123 Matched Route: {controller}/{action}/ Route Data Key Value controller PropertyToRent  action Filter  Data Tokens Key Value All Routes Matches Current Request Url Defaults Constraints DataTokens False {resource}.axd/{*pathInfo} (null) (null) (null) False {controller}/{action}/{id} (null) (null) (null) True {controller}/{action}/ (null) (null) (null) True {*catchall} (null) (null) (null) Current Request Info AppRelativeCurrentExecutionFilePath is the portion of the request that Routing acts on. AppRelativeCurrentExecutionFilePath: ~/PropertyToRent/Filter   IIS 6 Route Tester Type in a url in the address bar to see which defined routes match it.


View Complete Post


More Related Resource Links

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend