Partager via


Edit Registration for a Native Module (IIS 7)

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

You might need to change some of the settings for a native module. For example, the module might be implemented by a different .dll file.

Prerequisites

For information about the levels at which you can perform this procedure, and the modules, handlers, and permissions that are required for this procedure, see Native Modules Feature Requirements (IIS 7).

Exceptions to feature requirements

  • Only server administrators can edit native modules on the Web server.

  • Native modules can be edited only at the server level in IIS 7.

To edit a native module on a Web server

You can perform this procedure by using the user interface (UI), by editing configuration files directly, or by writing WMI scripts.

User Interface

To use the UI

  1. Open IIS Manager and click the server connection in the tree in the Connections pane. For information about opening IIS Manager, see Open IIS Manager (IIS 7).

  2. In Features View, on the serverHome page, double-click Modules.

  3. On the Modules page, in the Actions pane, click Configure Native Modules.

  4. In the Configure Native Modules dialog box, select the check box of the native module that you want to change and then click Edit.

  5. In the Edit Native Module Registration dialog box, edit the name of the native module or the path of the .dll file, and then click OK.

Command Line

You cannot edit native module registration by using Appcmd.exe.

For more information about Appcmd.exe, see Appcmd.exe (IIS 7).

Configuration

The procedure in this topic affects the following configuration elements:

<globalModules>

WMI

Use the following WMI classes, methods, or properties to perform this procedure:

  • GlobalModulesSection class

For more information about WMI and IIS, see Windows Management Instrumentation (WMI) in IIS 7. For more information about the classes, methods, or properties associated with this procedure, see the IIS 7.0 Beta: IIS WMI Provider Reference on the MSDN site.

See Also

Concepts

Configuring Native Modules (IIS 7)
Configuring Modules in IIS 7