Tech Blog

CFChart active content problem in Internet Explorer

Posted At : October 16, 2006 8:41 PM

I came across a problem which appears to be a bug in the implementation of the hotfix that Adobe created for the IE Active Content issue (i.e. Eolas patent etc).

I appears to only be an issue when the CF is installed as with the built in webserver used for hosting the CF Administrator. This is a fairly common configuration due to the enhanced security it offers.

The problem is that for IE6 to render the charts correctly it needs to access a file

http://[servername]/CFIDE/scripts/CF_RunActiveContent.js

When there is no mapping to /CFIDE/ this file is not available and the graphs completely fail to render in fully patched versions of IE6.

To fix this simple create an alias to the scripts directory:

Alias /CFIDE/scripts C:\CFusionMX7\wwwroot\CFIDE\scripts
This if for apache - for IIS you need to create a virtual directory.

The strange thing about this bug is that the contents of the file are not worth being held externally:

//v1.0 Copyright 2006 Adobe Systems, Inc. All rights reserved.
function CF_RunContent(src){document.write(src);}

I can only presume that this is due to the technicalities of the Eolas lawsuit.

Note: This issue was encountered on CF 7.0.2 but it likely also present in CF 7.0.1 when the hotfix for active content has been applied.