Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Problem with http handlers

Problem with http handlers

Scheduled Pinned Locked Moved ASP.NET
visual-studiocsharpsysadminwindows-adminhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Haim Nachum
    wrote on last edited by
    #1

    Hi. Im building a web application in win xp using iis5 and visual studio 2008. i've created a custom handler(with no extension) in the following manner : 1. created a class that implements IHttpHandler. 2. registerd it in web.config in the httphandlers section like follows : <\add verb="*" path="/GetData" type="WebSiteLogic.GetDataHandler"/>. Now, when i run the app using Visual Studio server and works fine. But when i deploy it to use with my local iis server or choose in VS to use my iis local server it wont recognize the handler. Can somebody point me out what im missing? Thanks.

    N 1 Reply Last reply
    0
    • H Haim Nachum

      Hi. Im building a web application in win xp using iis5 and visual studio 2008. i've created a custom handler(with no extension) in the following manner : 1. created a class that implements IHttpHandler. 2. registerd it in web.config in the httphandlers section like follows : <\add verb="*" path="/GetData" type="WebSiteLogic.GetDataHandler"/>. Now, when i run the app using Visual Studio server and works fine. But when i deploy it to use with my local iis server or choose in VS to use my iis local server it wont recognize the handler. Can somebody point me out what im missing? Thanks.

      N Offline
      N Offline
      NeverHeardOfMe
      wrote on last edited by
      #2

      With IIS 5, you need to tell it to use this handler - it won't pick this up from the web.config file. It's been so long I can't remeber how exactly, but go to admin tools and open the IIS managemetn console, and poke around in there for your applciation's properties. I vaguely remember a "Settings.." button in the "General" (or "Home"?) tab that brought up the dialog where you set this sort of thing, but as as I say...

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups