« Previous Next »

Answered Thread: URL encoding Issue.

Last post 06-16-2009 1:20 PM by maheshalayil. 9 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (10 items)

Sort Posts:

  • 06-14-2009, 2:08 AM

    URL encoding Issue.

    HI,

      In IIS 7 i'm facing one problem regarding URL encoding.

    Eg:

    http://localhost//%e9%bb%91%e8%b1.aspx  -> is not working in IIS7. same url is working on IIS6. currently we are using UrlRewrite.net module for url rewriting instead of IIS7 URL rewrite module.

    Please help me .

     Regards

    Mahesh

     

  • 06-14-2009, 9:44 PM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 4:18 AM
    • Shanghai, PRC
    • Posts 1,423

    Re: URL encoding Issue.

    What error did you get?

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 06-15-2009, 12:10 AM In reply to

    Re: URL encoding Issue.

    404 Page not found.
  • 06-15-2009, 1:20 AM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 4:18 AM
    • Shanghai, PRC
    • Posts 1,423

    Re: URL encoding Issue.

    You need to check IIS logs to know its sub status. IIS 7 adds a new feature named request filtering which is similar to URLScan. This feature introduces new sub status code for 404.

    http://learn.iis.net/page.aspx/143/how-to-use-request-filtering/

    Once you know which rule prevents you from accessing, I think you can turn off the rule and test again.

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 06-15-2009, 4:22 AM In reply to

    Re: URL encoding Issue.

    Hi Shanghai,

     Thanks for your reply.

     I updated the "applicationHost" config file for unicode url support.

    <requestFiltering allowDoubleEscaping="true">.

    Still i'm getting 404 error.

    Currently my application is running under App pool Integrated pipeline mode.

    Please reply

     

     

     

  • 06-15-2009, 4:40 AM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 4:18 AM
    • Shanghai, PRC
    • Posts 1,423

    Re: URL encoding Issue.

    What sub status code is there in IIS log?

    Your change is for 404.11, but obviously that's not the real problem IIS reports.

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 06-15-2009, 4:59 AM In reply to

    Re: URL encoding Issue.

    Following error code in IIS log 

    sc-status : 404

    sc-substatus :  0

  • 06-15-2009, 5:01 AM In reply to

    Re: URL encoding Issue.

    all other rewriting rules (without unicode) and  querystring unicode is working fine ..

  • 06-15-2009, 6:27 AM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 4:18 AM
    • Shanghai, PRC
    • Posts 1,423

    Re: URL encoding Issue.

    Well, then please ignore request filtering as 404.0 has no relationship with that.

    http://support.microsoft.com/kb/942041/

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 06-16-2009, 1:20 PM In reply to

    Answered Re: URL encoding Issue.

    Hi Shanghai,

    Thanks for your help ....

    I changed the app pool pipeline mode..  it is working fine now. The main problem is UrlRewriteNet is not working in integrated pipeline mode.  

    Regards

    Mahesh

     

Page 1 of 1 (10 items)
Microsoft Communities