locked
httpHandler not redirecting in IE RRS feed

  • Question

  • User895620303 posted
    Hi guys,

    My web.config contains the following entry to direct all urls
    containing /App/*.ashx to my Apphandler located in wwwroot/mySite/Web/
    AppHandler

    <httpHandlers>
                            <add verb="*" path="App/*.ashx" type="mySite.Web.AppHandler,App_Code"/>
    </httpHandlers>

    This works perfectly fine in Firefox, but the redirection does not
    take place in IE. In IE I get a 404 error - Page cannot be found, and
    the address bar contains :

    http://localhost/mySite/App/?keyword=mySearchWord

    Why is this ?

    Thanks !
    Wednesday, March 28, 2007 7:53 AM

Answers

All replies

  • User895620303 posted
    Hi guys

    I'm still stuck with this .. :-( ! Do I have to convert my AppHandler.cs to .dll and then set the mapping to that dll file in the properties (Configuration) of the site in IIS ? If so how can I actually do the conversion ? Can you actually convert just one file to dll or you need to do that for the whole website ?

    Thanks !

    Wednesday, March 28, 2007 9:55 PM
  • User-1087479560 posted
    Hi,

    You may need to map all request to asp.net in IIS. Please refer to this for how: http://forums.asp.net/1643929/ShowThread.aspx
    Hope it helps.
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, April 4, 2007 4:09 AM