Adobe is changing the world through digital experiences. Our creative, marketing and document solutions empower everyone â from emerging artists to global brands â to bring digital creations to life and deliver them to the right person
at the right moment for the best results.

Flash Remoting TechNote

When you install ColdFusion MX to work with the Microsoft IIS server, ColdFusion MX is configured to work with the IIS Default website. However, the installer does not automatically configure files and services so that ColdFusion MX and the Flash Remoting service will work with virtual sites on a multihomed server (meaning a server that provides access for multiple domain names and IP addresses). This is because the ColdFusion MX installer configures the Default website and not the Master Properties sheet.

This TechNote describes how to modify the application server and the IIS web server so that Flash Remoting will work in a multihomed server configuration. Specifically, you'll learn how to:

Although the installation does not configure virtual sites, ColdFusion MX pages will run because certain default settings are assigned to the Master Properties sheet. Flash Remoting service is limited to the Default website, however, because JRunScripts virtual directories are not created for virtual sites and they cannot access the JRun Connector ISAPI filter at the time of installation.

To enable the Flash Remoting service on a multihomed server, reconfigure ColdFusion MX to add a JRun Connector ISAPI filter and create a JRunScripts virtual directory for each virtual site.

Stop the World Wide Web Publishing Service.

Run the cf_root\bin\connectors\Remove_ALL_connectors.bat to remove the existing ISAPI filter.*

Run the cf_root\bin\connectors\IIS_connectors.bat to properly configure all existing sites.

Start the World Wide Web Publishing Service.

* In the initial release of ColdFusion MX, the Remove_ALL_connectors.bat file includes the commandline ..\runtime\bin\wsconfig.exe.
The correct path for the commandline is ..\..\runtime\bin\wsconfig.exe. This is logged as Macromedia issue 46213 and it is fixed in the ColdFusion MX Updater. Edit this comandline or install the updater prior to running this file.

After enabling the Flash Remoting service for a multihomed server, ensure that the WWW Service Master Properties are properly configured by testing access to the Flash Remoting service from all virtual sites.

For example, to determine whether you can access the service on "a" virtual site, (such as http://www1.myserver.com/), do the following:

Enter this URL in a browser: http://www1.myserver.com/flashservices/gateway

Receive a blank page if the site does have access.

Receive a 404 error if the site does not have access.

Note: This procedure does not automatically provide virtual sites that you create in the future with access to the Flash Remoting service. See the next section to learn how to create the virtual directories on the ColdFusion MX server--which are necessary when building new virtual
sites that use Flash Remoting.

Creating directories for new virtual sites

In order for a newly created virtual site to have access to the Flash Remoting service, you'll need to create a JRunScripts virtual directory for that site using the following procedure.

Within the Internet Service Manager, right-click the new virtual site's name. Select New > Virtual Directory and click Next.

Enter JrunScripts as the Alias and click Next.

Enter the path to the directory that contains the jrun.dll file and click Next.