CFCHART displays broken images

ColdFusion Add comments
This is such a common problem, I thought I may as well blog it seeing as I had it again today.

Symptom: When using CFCHART, you will just get a broken image displayed and no chart. Cure: 1. Make sure you have the correct video driver installed on the server, CFCHART uses this. If the default VGA driver is being used, cfchart will not work. I have also seen some gfx cards/drivers simply not work period. 2. Make sure you have the CFIDE and JRunScripts virtual directories setup on the site. Both should have been setup on the "default web site" when you installed CFMX, so you can use these for reference. The JRunScripts vDIR needs "Scripts and executables" permission under the application settings, and neither should have an application name defined (this causes application isolation), remove it if it is. To tell the difference , a basic vDIR will show as just a folder with a globe (this is what you want). Note: you should ideally not use the original CFIDE for all your sites, otherwise the CFADMIN can be accessed from any site. Make a copy of the CFIDE to the location where you store your web sites, E.G. d:\wwwroot, and delete the administrator and adminapi folders from it. Now use this for your virtual directories on all sites EXCEPT the default web site.

2 responses to “CFCHART displays broken images”

  1. Andy Says:
    1 - What is the correct video driver? You mention that the default driver won't work but then you don't mention what the right one is.
    2 - JRunScripts does not appear by default. Can you please elaborate? Where should it point to?
    I'm running cf10 on windows 2008.
  2. Russ Says:
    The correct video driver of course depends on your video card, if you have an nvidia card then you should be using an nvidia driver, if you have an ATX card then you need to use an ATX driver. You should have received a driver disc with your computer or graphics card, otherwise check the manufacturers website.
    JrunScripts folder is no longer required since CF9.

Leave a Reply

Leave this field empty

Powered by Mango Blog. Design and Icons by N.Design Studio