locked
Need help with filters RRS feed

  • Question

  • User-936241996 posted

    I am having problems with II Filters. I had permission problems with IIS, but after uninstalling and reinstalling IIS, my extension apps run fine, My filter app starts fine, GetFilterVersion() is called with no issues. The same with TerminateFilter() when I stop the site. But I cannot get HttpFilterProc() to be called, not matter what is passed in GetFilerVersion(), HttpFilterProc does not execute. Is there anyone who can be of assistance? I am willing to pay for your time. I'd rather not reinstall IIS again, as I have Visual Studio running as well,

    Tuesday, July 21, 2020 12:17 AM

Answers

  • User-936241996 posted

    I was able to figure this out. The alignment on the Structure HTTP_FILTER_VERSION was 1, and it needed to be 4.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Wednesday, July 22, 2020 7:24 PM

All replies

  • User-460007017 posted

    Hi  richalegeni,

    Did you get any first chance exception when you run that method in your IIS? It is recommended to run debug tool to capture a crash dump. 

    If it is making huge business impact, please try to open a support ticket and involve professional IIS support engineer.

    https://support.microsoft.com/en-us/supportforbusiness/productselection

    Of course, if you have already have business contract with Microsoft, you can also involve Microsoft escalation engineer directly.

    Best Regards,

    Jokies Ding

    Tuesday, July 21, 2020 6:09 AM
  • User-936241996 posted

    No exceptions. No errors in logs, no failed requests. Just HttpFilterProc() is never called. Can you tell me what value should be passed in to dwFlags in GetFilterVersion() to maximize the chance to call HttpFilterProc()?

    Tuesday, July 21, 2020 4:41 PM
  • User690216013 posted

    I can take a look, and you might drop a mail to support@lextudio.com .

    Tuesday, July 21, 2020 7:08 PM
  • User-936241996 posted

    I was able to figure this out. The alignment on the Structure HTTP_FILTER_VERSION was 1, and it needed to be 4.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Wednesday, July 22, 2020 7:24 PM