Breaking my head to get Url Routing in IIS 7 hosting environment : ASP.NET

后端 未结 4 2011
灰色年华
灰色年华 2021-02-06 01:02

I am trying to implement ASP.NET URL routing using the System.Web.Routing. And this seems to work fine on my localhost however when I go live I am getting an II

4条回答
  •  春和景丽
    2021-02-06 01:19

    I followed this article: How to: Use Routing with Web Forms

    Before I found it I had issues on my shared host and none locally. It was my web.config.

    My host was using IIS 7 with Integrated Pipeline, I was missing this:

    
               
        
    
    

    EDIT: According to your settings and code, the only thing left is to check to see if you have the Routing dll defined in web.config and also deployed to your bin directory:

    
    

提交回复
热议问题