iis 7.5 - Routing problem with particular controller name using ASP.NET MVC 1 in IIS 7 -


i have joined team developing asp.net mvc version 1 application. run app on local machine using iis version 7.5. operating system windows server 2008 r2 enterprise edition. use visual studio 2008 sp1 development.

one of controllers in app called reportscontroller. route table entries controller use 'reports' controller name part. problem have that, using iis 7.5 on local machine, cannot access of reports action methods. if try access, say, '/reports/index' chrome or firefox, 401 unauthorized response (as seen using fiddler) , browser displays username/password entry dialog.

please note following:

  • all other non-report pages in application work correctly.
  • if add breakpoint application_beginrequest, not hit when requesting reports page.
  • if change reports routing entries in route table registration code have access paths '/reportss/index' (note 's') these reports pages work correctly.
  • i have tried deleting recreating web application in iis.
  • the reports pages work fine if run application using visual studio 2008 development server (cassini).
  • there no directory called reports in application directory.
  • the reports pages work correctly on our uat environment, under iis 7.5.
  • i have reviewed iis setting several times, including comparing them on uat, , can't see problem.

while can use cassini access reports pages, understand causing issue.

if have reporting services installed on machine. try create new web site , use it. if have ssrs installed on machine uses /reports hosting reports.


Comments

Popular posts from this blog

Delphi Wmi Query on a Remote Machine -