Problem with http handlers
-
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. -
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.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...