I don't believe this is a ColdFusion problem but an IIS 8.5 lack or misconfiguration on Windows Server 2012.
I cannot get IIS 8.5 to correctly process ColdFusion files (.cfm). If the .cfm file is the default document, it works fine but if the .cfm file is called directly, we get a 500.0 Server error or an error 404, even though the .cfm file exists.
- Default document index.cfm runs fine. It makes no different which ColdFusion document it is, it runs fine if it is the default document but not shown in the URL or LINK.
But with the following example, the .cfm file does not run correctly:
If it's a cfm file, it generates the Error 500. If its an .htm file, no error. If the .htm file has CF code, there is no error but the code is not executed, just seen as though a text file.