cfcontent and "cannot be displayed because it contains errors"
I'm having an issue delivering an image using content.
I'm getting the following error when using cfcontent: "... cannot be displayed because it contains errors".
Here is a sample of the code:
<cfcontent reset="true" file="C:\Storage\Sites\localhost\stars.jpg" deleteFile="false" type="image/jpeg" />
<cfabort>
Here's the odd thing ... If I access the coldfusion script directly; ie, http://localhost/test.cfm it works just fine.
But if i'm doing any type of url rewriting through IIIS web.config it doesn't work; ie, http://localhost/test (which through url rewrite would map to test.cfm).
Any ideas anybody?
