ISAPI filter installation and debugging [Answered]RSS

4 replies

Last post Oct 13, 2020 01:17 AM by Jalpa Panchal

  • ISAPI filter installation and debugging

    Oct 09, 2020 02:07 PM|mukeshdutt|LINK

    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,

  • Re: ISAPI filter installation and debugging

    Oct 09, 2020 08:39 PM|lextm|LINK

    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,

    https://docs.microsoft.com/en-us/iis/extensions/using-iis-express/running-iis-express-from-the-command-line

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

    Lex Li
    Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: ISAPI filter installation and debugging

    Oct 12, 2020 08:20 AM|Jalpa Panchal|LINK

    Hi,

    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.

    https://docs.microsoft.com/en-us/previous-versions/iis/6.0-sdk/ms525937(v=vs.90)

    https://stackoverflow.com/questions/1470314/how-to-debug-isapi-using-visual-studio

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
  • Re: ISAPI filter installation and debugging

    Oct 12, 2020 12:34 PM|mukeshdutt|LINK

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

    Thanks for your support.

  • Re: ISAPI filter installation and debugging

    Oct 13, 2020 01:17 AM|Jalpa Panchal|LINK

    Hi,

    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.

    Regards

    Jalpa.

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.