To edit an ISAPI or CGI restriction
You can perform this procedure by using the user interface (UI), by running Appcmd.exe commands in a command-line window, by editing configuration files directly, or by writing WMI scripts.
User Interface
To use the UI
1. Open IIS Manager and navigate to the level you want to configure. For information about opening IIS Manager, see Open IIS Manager (IIS 7). For information about navigating to locations in the UI, see Navigation in IIS Manager (IIS 7).
2. In Features View, double-click ISAPI and CGI Restrictions.
3. Select a restriction from the list, and then click Edit in the Actions pane.
4. Optionally, in the Edit ISAPI or CGI Restriction dialog box, type the new path of the .dll or .exe file in the ISAPI or CGI path text box, or click the browse button to navigate to the location of the file.
5. Optionally, in the Description text box, type a new description of the restriction.
6. Optionally, check Allow extension path of execute to allow the CGI or ISAPI program to run. If you do not check this option, the restriction status is Not Allowed, which is the default. You can change the restriction status later by selecting the restriction and clicking Allow or Deny in the Actions pane.
7.Click OK.
Note: If all procedures fail, please remove IIS and re-install.