Configuring IIS in Windows
This section describes how to configure IIS for ColdFusion MX in Windows, and how to verify your configuration. You configure IIS using the Web Server Configuration Tool in either GUI or command-line mode. This discussion describes how to use GUI mode. To use the command line, open the batch files located in cf_root\bin\connectors. For more information, see the Web Server Management chapter of Configuring and Administering ColdFusion MX.
To configure IIS for ColdFusion MX in Windows:
- Start the Web Server Configuration Tool by selecting Start > Programs > Macromedia ColdFusion MX > Web Server Configuration Tool from the Start menu.
- Click Add.
- In the Server drop-down list box, select the host name and the server or cluster name that you want to configure. In the ColdFusion MX server configuration, the server name is always default. Clustering support is only available on the JRun J2EE configuration.
Note: The server or cluster does not have to reside on the web server computer.
- In the Web Server Properties area, select IIS and specify the website. For IIS, you typically specify All.
- Select Configure web server for ColdFusion MX applications.
Caution: Omitting the previous step causes your web server to serve ColdFusion MX source code.
- Click OK.
- Copy the CFIDE and cfdocs directories from cf_root\wwwroot to your web server root directory. In addition, copy your application's CFM pages from cf_root\wwwroot to your web server root directory.
To verify your IIS configuration:
- Verify that the following file was created: cf_root\runtime\lib\wsconfig\jrun.dll (server configuration) or jrun_root/lib/wsconfig/jrun.dll (JRun J2EE configuration). On IIS6, this file is named jrun_iis6.dll.
- For each of your IIS websites, verify that application mappings for .cfm, .cfml, .cfc, .jsp, and .jws were added, as follows:
- In IIS, right-click an IIS website and select Properties.
- In the Properties dialog box, on the Home Directory tab, click Configuration.
- In the Application Configuration dialog box, click the App Mappings tab.
You should see mappings for .cfm, .cfml, .cfc, .jsp, and .jws in the Extension column.
- Verify that each of your IIS websites has a virtual directory called JRunScripts.
The following figure shows a sample JRunScripts virtual directory:

- Verify that the JRunScripts directory in each of your IIS websites points to the correct location, as follows:
- Right-click the JRunScripts directory and select Properties.
- In the Properties dialog box, on the Virtual Directories tab, verify that the Local Path text box contains the following path:
path/wsconfig/number (typically 1)
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.