An exception occured while trying to write the image.
Ensure that the destination directory exists and that Coldfusion has permission to write to the given path or file.
Sample code
<cfset ImageWrite(imageObject, "C:\no\such\folder", 1)>
or
<cfset ImageWrite(imageObject, "C:\a\secure\folder", 1)>
or
<cfset ImageWrite(imageObject, "C:\a\secure\folder", 1)>
Explanation
You may get this error if the directory into which you're trying to save an image doesn't exist or the user ColdFusion runs under doesn't have permission to write to this directory.
First, check the directory exists. Then check the permission for that folder.
First, check the directory exists. Then check the permission for that folder.
Submitted by Adrian Lynch on Sunday 19 October 2008
