Usage Note 40042: Editing the applicationHost.config and web.config files when you are using Microsoft Internet Information Services 7
In Microsoft Internet Information Services (IIS) 7, the way that the environment variable PATH_TRANSLATED is set has changed. In order for SAS to work with Microsoft IIS 7, you need to manually edit the applicationHost.config and web.config files to change the way that the environment variable PATH_TRANSLATED is set. (In previous releases of Microsoft IIS, you did not have to manually edit these files.) After you edit these files, restart the IIS Web server.
To manually edit the files, perform the following steps:
- Open the applicationHost.config file located in C:\Windows\System32\inetsrv\config\.
- Locate and then edit the following line so that the overrideModeDefault variable is set to Allow:
<section name="handlers" overrideModeDefault="Allow" />
- Save the file.
- Open the web.config file. The default location for the file is in the same folder that the Common Gateway Interface (CGI) executables are located. However, if a web.config file is not in this folder, then create one.
- Make the following edit to the file:
Note: There is one line for every CGI program that needs to be changed. In this instance, edit the broker.exe and htmsql.exe file lines.
<configuration>
<system.webServer>
<handlers>
<add name="ScriptMap1" path="env.exe" verb="*" modules="CgiModule" scriptProcessor=
"c:\inetpub\scripts\env.exe" resourceType="File" allowPathInfo="true" />
<add name="ScriptMap2" 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>
- Save the file.
- Restart the IIS Web server.
Operating System and Release Information
| SAS System | SAS/IntrNet | Microsoft Windows Server 2003 Enterprise Edition | 9.21_M1 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.21_M1 | | 9.2 TS2M0 | |
| Microsoft® Windows® for x64 | 9.21_M1 | | 9.2 TS2M0 | |
| Microsoft Windows XP 64-bit Edition | 9.21_M1 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21_M1 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21_M1 | | 9.2 TS2M0 | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.21_M1 | | 9.2 TS2M0 | |
| Microsoft Windows XP Professional | 9.21_M1 | | 9.2 TS2M0 | |
| Windows Vista | 9.21_M1 | | 9.2 TS2M0 | |
| Windows Vista for x64 | 9.21_M1 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2008 for x64 | 9.21_M1 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 for x64 | 9.21_M1 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 Standard Edition | 9.21_M1 | | 9.2 TS2M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Date Modified: | 2011-12-12 16:25:51 |
| Date Created: | 2010-06-18 15:41:41 |