ISAPI filter installation and debugging RRS feed

  • Question

  • User1589893805 posted

    Hi Team,

    I have created an ISAPI filter and trying to install on IIS 8.0 and debugging as attach process in visual studio 2013. Where I am not able achieve any of these task.

    Please provide me appropriate solution. 

    Best Regards,

    Friday, October 9, 2020 2:07 PM


All replies

  • User690216013 posted

    During development, I suggest you use IIS Express to host your ISAPI filter and test web apps there. Much easier to debug by attaching to iisexpress.exe,


    You can even use some scripts to enable unit testing and performance testing.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, October 9, 2020 8:39 PM
  • User-848649084 posted


    You could configure custom ISAPI filter in iis by following below steps:

    1)Open iis manager

    2)Double-click ISAPI filter.

    3)Click Add in the Actions pane. You see the Add ISAPI Filter dialog box.

    4)Type the name of the ISAPI filter in the Filter Name field. Provide a location for the executable (either a DLL or EXE file) in the Executable field. You can also use the Browse button to locate the executable file on disk.

    Note: Make sure that you choose the correct ISAPI filter executable. IIS doesn't perform any checking on the ISAPI filter when you install it. The executable you choose could literally contain any information.

    5)Click OK to complete the process.

    6)Restart the Web server or Web site to ensure that the new ISAPI filter is configured.

    in visual studio attach the process and check you have searched for native code and attaching the correct process.



    Monday, October 12, 2020 8:20 AM
  • User1589893805 posted

    Now, I am able to configure and install the ISAPI filter.

    Thanks for your support.

    Monday, October 12, 2020 12:34 PM
  • User-848649084 posted


    Is your issue solved?

    If your issue is solved then I request you to mark the helpful suggestion as an answer. This will help other people who face the same issue.

    If your issue still exists then try to refer the solution given by the community members.

    If then also you have any further questions then let us know about it.

    We will try to provide further suggestions to solve the issue.

    Thanks for your understanding.



    Tuesday, October 13, 2020 1:17 AM