Windows Server 2003 Supports Side-by-Side for ASP Applications
Internet Information Server 6 has special functionality designed to help isolate ASP web applications. This functionality is implemented in ASP.dll. As ASP.dll starts the processing of a web request it uses CServiceConfig to prepare the COM+ environment without having to create an actual COM+ component. At this time, if configured, it calls methods of the IServiceSxsConfig interface to specify the activation context. This provides an activation context for the duration of the current requests on the thread that is processing the current request.
To isolate an ASP application:
- Create a private or shared assembly (or assemblies) with the components you need to use.
- Install these assemblies on the web server; copy to a subdirectory of the application directory if private, install with MSI if shared.
- Create a private assembly with short name, no spaces or special characters (IServiceSxsConfig idiosyncrasy.) Reference your assembly or assemblies in this meta-assembly.
- Copy this meta-assembly to the application directory on the server.
- In application properties dialog click the Configuration button and choose the Options tab.
- Check the Enable Side by Side Assemblies checkbox and type in the meta-assembly name.
- Accept all dialogs to save settings.
The Examples\iis6 folder contains a complete working example with screen shots of the web server configuration in both IIS6 and IIS7.
Click here to see a rather large screen shot illustrating the example configuration.