Registering an Active Server Object
Go Up to Creating an Active Server Page Index
You can register the Active Server Page as an in-process server or an out-of-process server. However, in-process servers are more common. An in-process automation server is a set of COM Automation Objects for connecting to databases, executing SQL statements and PL/SQL blocks, and accessing the results. In-process automation objects are inside of .DLLs; out-of-process automation servers are applications (.EXEs).
- Unregistering is important in several cases:
- Before removing an Active Server Page object from your system, you should unregister the object.
- If you register an Active Server Page object during application development but subsequently decide not to save the application, you should always unregister the object before you abandon the application.
Registering an in-process server
To register an in-process server (DLL or OCX), choose either:
- Run > ActiveX Server > Register
- Run > ActiveX Server > Register for Current User
To unregister an in-process server, choose Run > ActiveX Server > Unregister . This unregisters any server, including those that were registered per-user.
Registering an out-of-process server
To register an out-of-process server, run the server with the /regserver
command-line option. (You can set command line parameters on the Run > Parameters dialog box.)
To unregister an out-of-process server, run the server with the /unregserver
command-line option.