Fog Creek Software
Discussion Board

Welcome! and rules

Joel on Software

Unloading IIS Applications via script

This isn't a .NET question per se, but y'all are the only collection of windows programmers I know (I'm a java/unix guy at heart).

I'm having a problem where a third-party application running as an ISAPI filter in IIS is conking out under load. I'm planning on writing a script that will hit the page at intervals, check for this condition, and notify me. However, what I'd really like is for the script to automagically unload the DLL. If I go to the app in the MMC, open up its properties, and choose unload, this fixes the problem -- and it's the analagous activity I want to script.

I apologize if my terminology is incorrect. I'm pretty sure this must be doable with COM or something, right?

Matthew Christensen
Monday, January 20, 2003

here is your answer, available on

Set foo = GetObject("IIS://LocalHost/W3SVC/1/Root/yourapp")

Steve Walker
Monday, January 20, 2003


Matthew Christensen
Monday, January 20, 2003

*  Recent Topics

*  Fog Creek Home