views:

202

answers:

0

Hi,

I have created a simple application with 1 textbox, 1 button and a validator control. When I deploy it to the Windows server 2008, I get the following error.

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

I have added the following handler but it still gives the same exception. If I remove the validator control, then it works fine.

    <system.webServer>
        <handlers>
            <add name="Foo" path="WebResource.axd" verb="GET"
             type="System.Web.Handlers.AssemblyResourceLoader" />
        </handlers>
    </system.webServer>

I have searched online but haven't found any solution. has anyone been able to resolve this issue. thanks