« Previous Next »

Thread: Clearing modules

Last post 01-14-2009 7:40 PM by pajocomo. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 12-25-2008, 5:46 PM

    • pajocomo
    • Not Ranked
    • Joined on 02-11-2004, 12:34 PM
    • Portugal
    • Posts 9

    Clearing modules

    On ASP.NET (up to IIS6), I can remove all the HTTP modules (in the web.config file) and add only the ones I want to.

    How can I do the same in IIS7?

    Paulo Morgado
    Portugal - Europe's West Coast
    http://PauloMorgado.NET/
  • 12-26-2008, 7:35 AM In reply to

    Re: Clearing modules

    Take a look at this

    Regards,
    MA Khan
    http://www.iisworkstation.com

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • 12-26-2008, 12:21 PM In reply to

    • pajocomo
    • Not Ranked
    • Joined on 02-11-2004, 12:34 PM
    • Portugal
    • Posts 9

    Re: Clearing modules

    Sorry, but that doesn't help me.

    I want to remove all HTTP modules (or as much as possible) without needing to know what modules are declared in the global web.config or applicationhost.config files.

    Paulo Morgado
    Portugal - Europe's West Coast
    http://PauloMorgado.NET/
  • 12-26-2008, 1:31 PM In reply to

    Re: Clearing modules

    Why would you want to do that??? i don't see a problem in doing that..

    Regards,
    MA Khan
    http://www.iisworkstation.com

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • 12-26-2008, 2:52 PM In reply to

    • pajocomo
    • Not Ranked
    • Joined on 02-11-2004, 12:34 PM
    • Portugal
    • Posts 9

    Re: Clearing modules

    Because I want to have only the modules I want.

    I don't need URL authorization, forms authentication, session state and lots more.

    Paulo Morgado
    Portugal - Europe's West Coast
    http://PauloMorgado.NET/
  • 01-14-2009, 12:00 PM In reply to

    • mailant
    • Top 150 Contributor
    • Joined on 09-21-2004, 2:58 PM
    • Posts 49

    Re: Clearing modules

    Hi, Pajocomo: To remove modules, click on the server name, then the "Modules" icon in the IIS section. You can see all the modules loaded for IIS. You can right-click on the module that you don't want to have installed anymore and click "Remove" or use the Remove action in the right click menu. You can also remove the module using appcmd using syntax like:

    Appcmd.exe uninstall module <MODULE_NAME>e.g. %windir%\system32\inetsrv\appcmd.exe uninstall module FormsAuthentication

     

    Hope that helps,
    Mai-lan

    Mai-lan Tomsen Bukovec
    Product Unit Manager
    IIS
  • 01-14-2009, 7:40 PM In reply to

    • pajocomo
    • Not Ranked
    • Joined on 02-11-2004, 12:34 PM
    • Portugal
    • Posts 9

    Re: Clearing modules

    Hi Mai-lan,

     I meant (but forgot to write - already edited the original post) in the web.config file.

    Nevertheless, there are removable modules and unremovable modules.

    Either using the MMC or the command line tool, I still need to know which ones to remove.

    There should be an option to remove all and only the removable ones.

    Paulo Morgado
    Portugal - Europe's West Coast
    http://PauloMorgado.NET/
Page 1 of 1 (7 items)
Microsoft Communities