cfimage CAPTCHA Not Displaying

You may occassionally run into a problem with ColdFusion and IIS where your CAPTCHA images created by cfimage are simply blank and look like they don’t exists.  Assuming you don’t have a corrupt installation, the following instructions will help fix this.

  1. Open IIS
  2. Expand the server your working with by clicking the plus sign and goto the properties for “Web Sites”
  3. In the Home Directory tab click on “Configuration”
  4. You should now be on the “Application Configuration” screen, select the Wildcard Mapping at the bottom which goes to cfroot/runtime/lib/wsconfig/1/jrun_iis6_wildcard.dll and hit Edit
  5. Make sure “Verify that file exists” is unchecked and hit OK until your back to the IIS Manager.

This should correct any issues you had with cfimage and many other tags that also create things “on the fly” in ColdFusion.

3 thoughts on “cfimage CAPTCHA Not Displaying”

  1. This solution does in fact work. Thanks for putting it up. My captcha was not showing on my live site yet it worked on my local dev server fine. I made the change to IIS as described in this article and the problem was instantly resolve.

    This is a very good article and I recommend the solution for this problem.

Leave a Reply

Your email address will not be published. Required fields are marked *