W
wwwmike
Hello everybody.
I developed a simple HTTP Handler on my local machine WIN XP and the
Handler get called. Everyting worked fine
However, when I moved sources to my hosting provider the HTTP Handler
did not work anymore. This time I just got an error message. "HTTP 404
- File not found"
URL Example:http://www.mypage.com/images/picture_123.gif
Can my provider restrict HTTP Handlers in the machine.config file. So
far I havent heard anything from my provider.
***Web.config***
....
<httpHandlers>
<add verb="*" path="picture_*.gif" type="notification,App_Code"/>
</httpHandlers>
....
****App_Code/Notification.vb*****
Imports Microsoft.VisualBasic
Imports helper
Imports System
Imports System.Web
Public Class notification : Implements IHttpHandler
Public Sub ProcessRequest(ByVal context As HttpContext) Implements
IHttpHandler.ProcessRequest
...do some processing here
End Sub
Public ReadOnly Property IsReusable() As Boolean Implements
IHttpHandler.IsReusable
Get
Return False
End Get
End Property
I developed a simple HTTP Handler on my local machine WIN XP and the
Handler get called. Everyting worked fine
However, when I moved sources to my hosting provider the HTTP Handler
did not work anymore. This time I just got an error message. "HTTP 404
- File not found"
URL Example:http://www.mypage.com/images/picture_123.gif
Can my provider restrict HTTP Handlers in the machine.config file. So
far I havent heard anything from my provider.
***Web.config***
....
<httpHandlers>
<add verb="*" path="picture_*.gif" type="notification,App_Code"/>
</httpHandlers>
....
****App_Code/Notification.vb*****
Imports Microsoft.VisualBasic
Imports helper
Imports System
Imports System.Web
Public Class notification : Implements IHttpHandler
Public Sub ProcessRequest(ByVal context As HttpContext) Implements
IHttpHandler.ProcessRequest
...do some processing here
End Sub
Public ReadOnly Property IsReusable() As Boolean Implements
IHttpHandler.IsReusable
Get
Return False
End Get
End Property