Re: Another problem
- From: "Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 8 Feb 2006 08:00:47 -0500
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.
"Lloyd Dupont" <net.galador@ld> wrote in message
news:%23f$LsFELGHA.3232@xxxxxxxxxxxxxxxxxxxxxxx
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>
"Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23pkHTpDLGHA.1192@xxxxxxxxxxxxxxxxxxxxxxx
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" <net.galador@ld> wrote in message
news:%23zAwUUDLGHA.1192@xxxxxxxxxxxxxxxxxxxxxxx
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" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eE0RR0ALGHA.744@xxxxxxxxxxxxxxxxxxxxxxx
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.
"Lloyd Dupont" <net.galador@ld> wrote in message
news:uVeUYC$KGHA.2300@xxxxxxxxxxxxxxxxxxxxxxx
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?!
--
I have taken a vow of poverty. If you want to really piss me off, send
me money.
.
- References:
- Another problem
- From: Lloyd Dupont
- Re: Another problem
- From: Kevin Spencer
- Re: Another problem
- From: Lloyd Dupont
- Re: Another problem
- From: Kevin Spencer
- Re: Another problem
- From: Lloyd Dupont
- Another problem
- Prev by Date: Re: .NET 2.0 ASPx Page does not load, but HTM does
- Next by Date: Re: CAL and costs
- Previous by thread: Re: Another problem
- Next by thread: how can i create a self suffcient page with barcode?
- Index(es):
Relevant Pages
|