.Net 2.0: urgent bug on a production server with WebResource.axd handler

S

Steve B.

Hi,

We have on a production server a very strange bug.

After several hours of correct working (from 2hours to 5 hours, randomly),
the page output an error :

The WebResource.axd handler must be registered in the configuration to
process this request.

------------------------------------------------------------
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<httpHandlers>
<add path="WebResource.axd" verb="GET"
type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />
</httpHandlers>
</system.web>
</configuration>
------------------------------------------------------------


However, the web.config file actually defines this line (and this works a
long time before the error appears) :
------------------------------------------------------------
<httpHandlers>
<add path="WebResource.axd" verb="GET"
type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />
<add verb="GET,HEAD,POST" path="*" type="OurAssembly.OurFactory,
OurAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxx"/>
</httpHandlers>
------------------------------------------------------------

I finally discover that the targeted resource is the standards Validators
javascript file... none of our class use this functionnality.

The added handler is a factory that capture all request to create custom
handlers (it is a cms application, so all urls does not actually exists on
the disk).

The error is quite difficult to reproduce, but we have the same error on a
developpment server, so I don't think this is an install problem.

Since this behaviour appears on a public web site, I need a solution or a
workaround quickly.. I hope there's some magician here :)

Thanks in advance,
Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top