httpHandler help RRS feed

All replies

  • User-126244515 posted

    Well, from the information you have posted, I only see one thing, that might or might not be at fault; you mention that the faulty pages usually have a period in the filename, but judging at the three sample pages, it looks suspiciously like the number of characters (minimum of 8) before the first period, might have something to do with it. I'm obvious guessing here, which is all I can do with the current information. :-)

    Saturday, December 5, 2009 5:29 AM
  • User-746459594 posted

    I'll have to find more examples and test that idea out.

    Saturday, December 5, 2009 10:22 AM
  • User-746459594 posted

    Further testing reveals that:

    http://localhost/parts/CON.htm does not work (404)

    http://localhost/parts/CONA.htm does work
    http://localhost/parts/CONS.htm does work

    http://localhost/parts/CON.*.htm does not work where * is 1 to many alphanumeric characters (404)

    http://localhost/parts/CON.A.B.C.htm does not work (404)

    It doesn't even make it into my code.



    Saturday, December 5, 2009 9:43 PM
  • User-89100722 posted

    what IIS version are you using? Can you post the handler web.config configuration?


    Sunday, December 6, 2009 1:08 AM
  • User-746459594 posted
    IIS versions:
    Microsoft-IIS/7.5 - Windows 7 Ultimate x64 - development
    Microsoft-IIS/6.0 - Windows Server 2003 Standard SP2 - test and production
    web.config handler:
                <add name="HtmlHandler-64" path="*.htm" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness64" />
                <add name="HtmlHandler" path="*.htm" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" />
    Sunday, December 6, 2009 6:45 PM
  • User-89100722 posted

    Try <clear/> at the head of the handlers section. Just to see if it helps.

    I'm just throwing ideas here, I don't really know what the problem is...

    Monday, December 7, 2009 12:35 AM
  • User-746459594 posted

    Visual Studio reports:

    Microsoft Visual Studio
    Unable to start debugging on the web server. The web server could not find the requested resource.

    Click Help for more information.

    after adding the clear attribute to the handlers section.

    Monday, December 7, 2009 10:38 AM