Edit the applicationHost.config and web.config Files

Perform the following steps if you are using IIS 7.0 as your Web server:
  1. Open the applicationHost.config file located in C:\Windows\System32\inetsrv\config\.
  2. Locate and then edit the following line so that the overrideModeDefault variable is set to Allow:
    <section name="handlers" overrideModeDefault="Allow" />
  3. Save the file.
  4. Open the web.config file. The default location for the file is in the same folder where the CGI executables are located. However, if there is no web.config file in this folder, then you need to create one.
  5. Make the following edit to the file:
    <configuration>
       <system.webServer>
          <handlers>
             <add name="ScriptMap1" path="broker.exe" verb="*" modules="CgiModule" 
                scriptProcessor="c:\inetpub\scripts\broker.exe" resourceType="File" 
                allowPathInfo="true" />
             <add name="ScriptMap2" path="htmSQL.exe" verb="*" modules="CgiModule" 
                scriptProcessor="c:\inetpub\scripts\htmSQL.exe" resourceType="File" 
                allowPathInfo="true" />
          </handlers>
       </system.webServer>
    </configuration>
  6. Save the file.
  7. Restart the IIS Web server.
See http://support.sas.com/techsup/technote/ts794.pdf for more information about configuring IIS 7.0 for SAS/IntrNet software.