Method 1: manually register DLL
This method is used from IIS 3.0 to IIS 4.0 and other Web servers. It requires you
To enter the directory containing the DLL, and enter:
<Drive >:\< ASP dir> \ regsvr32 component_name.dll
For example, c: \ temp \ regsvr32 aspemail. dll
It registers the specific DLL information into the registry on the server. Then this component can be used on the server,
However, this method has a defect. After the component is registered using this method, the component must be set to NT anonymous.
The account has the permission to execute this DLL. In particular, some components need to read the registry, so the method for registering this component is only
Used on the serverNo MTSTo cancel the registration of this DLL, use:
Regsvr32/u aspobject. dll
Example C: \ temp \ regsvr32/u aneiodbc. dll
Method 2: Use MTS (Microsoft Transaction Server)
MTS is a new feature of IIS 4, but it provides great improvements. MTS allows you to specify that only privileged users can
The access component greatly improves the security settings on the website server. To register a component on MTS, follow these steps:
(I) Open the IIS console.
Ii) Expand Transaction Server, right-click "pkgs installed" and select "new package"
Iii) Click "Create an empty package"
Iv) Name the package
V) Specify the Administrator account or use "interactive" (if the server often uses Administrator
Login)
Vi) Right-click the expanded "components" under the package you just created ". Select "New then component"
Vi) Select "install new component"
[B] VII) Find Your. dll file and select next.
To delete this object, you only need to select its icon and then select Delete.
Note: pay special attention to the second method, which is the best way to debug your own component, instead of having
Restart the machine.