Protecting your server from a crashing application
With the power of ASP, web servers have moved from simply serving up static html, to actually running Web-based applications from within their own process. As Web applications get more and more complex, and companies begin to rely more and more on these applications, your web applications need to be more and more robust. We all know, however, that no software is perfect, so we need to handle problems as gracefully as possible. One way to make sure your Web server will not be taken down if one misbehaving application crashes is to run your Web applications in their own memory space.
To do this, launch the Internet Service Manager from the Microsoft Internet Information Server menu under Windows NT 4.0 Option Pack. Open the node for your Web server and select the application you wish to modify. Right click the application node and select Properties from the pop-up menu. Check the Run in separate memory space checkbox, and click OK. This will cause any objects that the application uses to be run in their own memory space, and prevent an application error from bringing down the web server, or any other part of the system.
If you have a tip you would like to submit, please send it to:
webmaster@asp101.com.