A
AndyE
ASP.Net experts :
Fairly new to ASP.net, and I'm struggling to register a custom handler
in the <httpHandlers> section of my application WebConfig file. At
runtime I persistently get the 404 not found error.
The syntax I'm using is :
<httpHandlers>
<add verb="GET"
path="Pooled.calc"
type="PooledHandlerFactory.PooledCalcFactory,
CustomCalcHandler" />
</httpHandlers>
"Pooled.Calc" is the URL requested from the calling web page
I have an C# IHttpHandlerFactory implementation named
"PooledCalcFactory" in a "PooledHandlerFactory" namespace. My assembly
dll is named "CustomCalcHandler"
I also noticed that if I comment out the registration entries for
IHttpHandler classes in the Web.config file, then I can't subsequently
re-register them (requests untended for these class result in the 404
error, wheras they were working prior to being commented out)
I've registered *.calc with IIS for the virtual directory in question,
and mapped it to the framework "aspnet_isapi.dll"
I'm using VS.net ver 7.0.9446
Framework ver 1.0.3705
Any pointers on where I'm going wrong ?
Many Thanks
Andrew Eastwell
Fairly new to ASP.net, and I'm struggling to register a custom handler
in the <httpHandlers> section of my application WebConfig file. At
runtime I persistently get the 404 not found error.
The syntax I'm using is :
<httpHandlers>
<add verb="GET"
path="Pooled.calc"
type="PooledHandlerFactory.PooledCalcFactory,
CustomCalcHandler" />
</httpHandlers>
"Pooled.Calc" is the URL requested from the calling web page
I have an C# IHttpHandlerFactory implementation named
"PooledCalcFactory" in a "PooledHandlerFactory" namespace. My assembly
dll is named "CustomCalcHandler"
I also noticed that if I comment out the registration entries for
IHttpHandler classes in the Web.config file, then I can't subsequently
re-register them (requests untended for these class result in the 404
error, wheras they were working prior to being commented out)
I've registered *.calc with IIS for the virtual directory in question,
and mapped it to the framework "aspnet_isapi.dll"
I'm using VS.net ver 7.0.9446
Framework ver 1.0.3705
Any pointers on where I'm going wrong ?
Many Thanks
Andrew Eastwell