locked
generated dynamic aspx page by using httphandler RRS feed

  • Question

  • User-1908007637 posted

    i use httphander dynamically generated urlLogin.aspx page,On my development computer to access (http://localhost:4017/ishow/urlLogin.aspx?login_name=111) entirely correctly, when I was publisher this site to the server, access  (http://localhost/ishow/urlLogin.aspx?login_name=111) can not find the page. why... please help me tks

    web config

    <httpHandlers>
          <remove verb="*" path="*.asmx"/>
          <add verb="*" path="urlLogin.aspx" type="MicetLogical.urlLogin.urlLoginHandler, MicetLogical" />
    </httpHandlers>

    my pc Environment

    winxp iis5.1 vs2005

    server Environment

    win server2003 iis6.0 .net framework2.0

    Sunday, November 22, 2009 7:27 AM

Answers

  • User1947133220 posted

    It's just because of the version of your computer's IIS. When you use the old versions of IIS (5, 6), the only extension you can use is ".axd". This problem is solved in IIS 7.

    By the way, in Web.Config file, you have to add your handlers under <System.Webserver> tags.

    Try using IIS 7 instead and your issue will be solved.

    Good Luck :-) 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, November 22, 2009 8:28 PM

All replies

  • User1947133220 posted

    It's just because of the version of your computer's IIS. When you use the old versions of IIS (5, 6), the only extension you can use is ".axd". This problem is solved in IIS 7.

    By the way, in Web.Config file, you have to add your handlers under <System.Webserver> tags.

    Try using IIS 7 instead and your issue will be solved.

    Good Luck :-) 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, November 22, 2009 8:28 PM
  • User-1908007637 posted

     TKANK YOU FOR Ramezanpour

    Sunday, November 22, 2009 8:51 PM