HOWTO: Launching LocalServer Components(EXEs) from ASP (IIS 3.0)
The information in this article applies to:
Although most ActiveX Server components are DLLs, it is sometimes
necessary to launch an EXE from Active Server Pages (ASP). When
Server.CreateObject is used to launch an EXE, an error similar to
the following may occur:
Server object error 'ASP 0196'
Cannot launch out of process component
/myvroot/launch_exe.asp, line 5
Only InProc server components should be used. If you want to use
LocalServer components, you must set the AllowOutOfProcCmpnts registry
setting. Please consult the readme file for important considerations.
This error is the result of a safety mechanism in ASP that prevents
the launching of LocalServer components. This mechanism is in place
because there are security concerns you should consider when launching
out of process components. In addition to the security concerns,
DLLs are also preferred because of their performance benefits over
To override this safety mechanism, you must set the AllowOutOfProcCmpnts
registry value to 1. This registry value is located at the following
Use the following steps to change this value:
- Select Run from the Start
- Type "regedit" into
the Open window.
- Navigate to the path defined
- Double-click on the AllowOutOfProcCmpnts
value and change the value to 1.