Skip to main content
AlexCraig
Inspiring
January 13, 2024
Answered

CF2023 CFM Files Not Served

  • January 13, 2024
  • 1 reply
  • 564 views

Am developing a site which is up & running with CF2023.

 

It serves html pages just fine. However, cfm files produce the following error.  Note: I do have an active mapping to the folder containg the code for the site.

 

I would be very grateful for any suggestions.  Thanks in advance.

HTTP Error 404.3 - Not Found

The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

Most likely causes:

  • It is possible that a handler mapping is missing. By default, the static file handler processes all content.
  • The feature you are trying to use may not be installed.
  • The appropriate MIME map is not enabled for the Web site or application. (Warning: Do not create a MIME map for content that users should not download, such as .ASPX pages or .config files.)
  • If ASP.NET is not installed.
This topic has been closed for replies.
Correct answer Charlie Arehart

There's no need of a mapping to the folder with your code. You're using IIS, right? Have you run the cf2023 web server configuration tool? Use that to connect iis (all sites or any one) to cf. That will add the *handler mapping* for cfm, cfc, and other cf-related extensions. It will also add an isapi filter as well as a needed jakarta virtual directory, both pointing to a folder containing an isapi_redirect.dll, both of which will be created in a folder within cf's config/wsconfig directory that the wsconfig tool will create. See the cf docs for more on this, if needed. 

1 reply

Charlie Arehart
Community Expert
Charlie ArehartCommunity ExpertCorrect answer
Community Expert
January 13, 2024

There's no need of a mapping to the folder with your code. You're using IIS, right? Have you run the cf2023 web server configuration tool? Use that to connect iis (all sites or any one) to cf. That will add the *handler mapping* for cfm, cfc, and other cf-related extensions. It will also add an isapi filter as well as a needed jakarta virtual directory, both pointing to a folder containing an isapi_redirect.dll, both of which will be created in a folder within cf's config/wsconfig directory that the wsconfig tool will create. See the cf docs for more on this, if needed. 

/Charlie (troubleshooter, carehart. org)
AlexCraig
AlexCraigAuthor
Inspiring
January 13, 2024

Much appreciate the prompt reply.  Yes, am running IIS.  Will run the web server configuration tool & report back.

Alex Craig, General Manager"Avid Saltwater Fly Fisherman"