Help HttpHandler

Discussion in 'ASP.NET / ASP.NET Core' started by Van de Water, Dec 10, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hello All,

    I don't know if this is the right forum, but I am deploying a simple web applicaiton that registers an HTTPHandler in the web.config file.




    <add verb="GET,POST" path="thumbnail/*.img" type="image_upload_with_resize.ThumbnailRequestHandler"/>


    This works fine in my development environment, but not when I publish it to my dscount.asp.net site. I am thinking that the machine.config file might have some restrictions about HTTPHandlers?


    How can I fix this?


    Thanks,


    robert
     
  2. All,

    Nevermind. You fix the problem by moving from the <httpHandlers> section in the web.config to the <system.webserver><handlers> section.

    Thanks anyway,

    robert
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    Yeah.. if you are using IIS 7, the web.config syntax is a little different.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page