« Previous Next »

Thread: IIS Routing Problem. Please, I need help. Project needs to be launched.

Last post 07-09-2009 2:17 PM by Rovastar. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 07-09-2009, 8:18 AM

    • shapper
    • Top 150 Contributor
    • Joined on 11-28-2004, 9:15 PM
    • Posts 46

    IIS Routing Problem. Please, I need help. Project needs to be launched.

    Hello,

    I uploaded an ASP.NET MVC Web Site, which is working fine in my Windows Vista 64 Bit with IIS7, but on the server the routing does not work!

    I am using the normal routing system. I didn't make any change.

    The homepage loads just fine:

    http://flyonpages.flyondreams.pt/

    However, when I try to access any view (page) I get the 404 error for no reason:

    http://flyonpages.flyondreams.pt/Mail/Contact

    http://flyonpages.flyondreams.pt/Product?brandId=27232a80-43d4-4994-b570-bc368c893aa8

    Could someone please help me?

    I have no idea what might be wrong or how to solve it.

    Thanks,

    Miguel

     

  • 07-09-2009, 10:56 AM In reply to

    Re: IIS Routing Problem. Please, I need help. Project needs to be launched.

    All those pages are not calling documents directly. e.g. /mail/contact/index.html

    WHat happens if you call any pages directly?

    Have you setup default documents for the site.

  • 07-09-2009, 12:44 PM In reply to

    • shapper
    • Top 150 Contributor
    • Joined on 11-28-2004, 9:15 PM
    • Posts 46

    Re: IIS Routing Problem. Please, I need help. Project needs to be launched.

    They work fine on my computer. The problem is that ASP.NET MVC web sites need to have IIS 7 in integrated mode to work without need for changes in the MVC application.

    But the problem is that I think in my server it is in classic mode.

    I found the following:

    http://www.codedigest.com/Articles/ASPNETMVC/216_Hosting_and_Deployment_of_an_ASPNET_MVC_Application_in_IIS6_and_IIS7.aspx

    But I am not sure how to change from classic to integrated mode.

    I think this is the problem.

    Thanks,

    Miguel

  • 07-09-2009, 2:17 PM In reply to

    Re: IIS Routing Problem. Please, I need help. Project needs to be launched.

     This thread has details on classic to Integration modes

    http://forums.iis.net/t/1159113.aspx

Page 1 of 1 (4 items)
Microsoft Communities