Windows Script Components in IIS
Script component technology is made up of the following:
The script component run-time (Scrobj.dll).
Interface handlers, which are components that extend the script component run-time. An interface handler is a compiled component (generally written in C++) that implements specific COM interfaces. When you install the script component run-time, you will receive the Automation interface handler, which makes it possible to call your script component from an .asp file.
Your script component file (a.sct file). In your script component, you specify which interface handler you want to use. Your script component also defines the methods that can be called from an .asp file to accomplish the intended functionality.
Script components are an excellent technology for developing prototypes of COM components. Script components, like any other COM component, can be registered with Component Services if you intend for them to participate in transactions, or if you want to take advantage of the Component Services run-time environment.
Sometimes components need to access the ASP built-in objects (Server, Request, Response) to get information about the client request or to build the response. Components can access the ASP built-in objects by using the ObjectContext object. For more information, see Accessing ASP Built-In Objects from Components.