HttpHandler Not Called in Server RRS feed

  • Question

  • User-348591248 posted

    dear Frds

    I created a HttpHandler by using C# Website project to

            as User open image(Email-Bidy_img.JPG) & called Hanlder SimpleHandler to saved email to DB

    SimpleHanlder.CS insode Add_code folder

    public class SimpleHandler : IHttpHandler

    #region IHttpHandler Members
    public SimpleHandler()
    // TODO: Add constructor logic here

    bool IHttpHandler.IsReusable
    get { return true; }
    void IHttpHandler.ProcessRequest(HttpContext context)

           Some Coding are here for Email saving to Db



    in web.config file i configure it by using the

    <httpHandler><add verb="*"  path="Email-Body-img.jpg" type="SimpleHandler"/></httpHnadler>

    Its run absultly fine in local but as i am trying to run this on server its dosen't call my Handler Named

    Whats should i have to do for runing this Handler in Server.

    Wednesday, April 24, 2013 6:48 AM

All replies

  • Wednesday, April 24, 2013 10:14 AM
  • User-348591248 posted

    I tryed all the opetion. not working yet

    I downloded aspnet.Isapi.dll & put it in Bin Directory....


          <add verb="*" path="Handler/Mail-Body.htm" 
            type="SampleHandler" />

    in Hnadler section inside Syste.webserver

        <add name=SampleHandler" verb="*" path="Handler/Mail-Body.htm" 
          resourceType="File" />
    I tryed
    scriptProcessor="Bin\aspnet_isapi.dll" as
    scriptProcessor="%path%\aspnet_isapi.dll" &
    Friday, April 26, 2013 3:50 AM