Another problem

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

Something which, again, works perfectly when I run in the VS.NET embeded
server but not on my webserver provider.
(I use the embeded server as, since a computer crash I only have XPHome and
I didn't bother buy the professional edition)

I have a (home made) dll named "WebUtils.dll" which contains a class named:

WebUtils.RoundCornerImageHandler : IHttpHandler

In my website (which has the WebUtils.dll in its Bin directory) I have
<httpHandlers>
<add verb="GET" path="LWU.RoundCorner.dimg"
type="WebUtils.RoundCornerImageHandler, WebUtils"/>
</httpHandlers>

Now that work perfectly in my dev environemnet, but I just tried to upgrade
and
http://www.thecookscompanion.com/LWU.RoundCorner.dimg?fore=LightSteelBlue&back=White&corner=0

Is giving me an error 404 ?!?!?

Any ideas / tips on why could that be?!
 
Hi Lloyd,

404 means "Not Found." This means that the web server cannot find the
document. Have you checked the path?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
We got a sick zebra a hat,
you ultimate tuna.
 
Hi Kevin!

1. The DLL is there, it's even used in some other pages.
2. all the relevant path I gave them to you:
=== Web.config ===
<system.web>
<httpHandlers>
<add verb="GET" path="LWU.RoundCorner.dimg"
type="WebUtils.RoundCornerImageHandler, WebUtils"/>
</httpHandlers>
......
=== test url ===
http://www.thecookscompanion.com/LWU.RoundCorner.dimg?fore=LightSteelBlue&back=White&corner=0
======
Any other idea why is it 404?

Kevin Spencer said:
Hi Lloyd,

404 means "Not Found." This means that the web server cannot find the
document. Have you checked the path?

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
We got a sick zebra a hat,
you ultimate tuna.
 
Did you configure the web server to use the ASP.Net process to process
requests for files with a ".dimg" extension?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
We got a sick zebra a hat,
you ultimate tuna.


Lloyd Dupont said:
Hi Kevin!

1. The DLL is there, it's even used in some other pages.
2. all the relevant path I gave them to you:
=== Web.config ===
<system.web>
<httpHandlers>
<add verb="GET" path="LWU.RoundCorner.dimg"
type="WebUtils.RoundCornerImageHandler, WebUtils"/>
</httpHandlers>
.....
=== test url ===
http://www.thecookscompanion.com/LWU.RoundCorner.dimg?fore=LightSteelBlue&back=White&corner=0
======
Any other idea why is it 404?
 
err...
shouldn't the configuration in the Web.config be enough?
do you mean I cannot use generic handler without configuring IIS first?
unfortunately I don't think (I have to check) that you could configure this
IIS on the web control panel, that's a bummer....

anyway, "they fixed it" but I don't know what they did....

--
Regards,
Lloyd Dupont

NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>
 
Hi Lloyd,

Every web server has settings for pages that cannot be handled by simply
downloading, that is, pages that must be processed by an ISAPI. The web
server is always the entity that receives the request. If it is configured
to pass off requests for resources with a certain extension, it will pass
off the request to that ISAPI. The web.config only tells the ASP.Net worker
process what HttpHandler to use to process the request.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
We got a sick zebra a hat,
you ultimate tuna.
 
Back
Top