0

I am getting the following error in setting up a project in ColdFusion using the Coldspring framework

enter image description here

Could anyone please suggest how to resolve the given issue?

I also tried adding a virtual directory in IIS, and also mapped the default.cfm in Default document.

Justin Bertram
  • 29,372
  • 4
  • 21
  • 43
Amar
  • 11
  • 1
  • 2
  • A search on "500.19 ColdFusion IIS" turned up several results like - http://blog.immanuelnoel.com/2014/09/22/busting-the-http-error-500-19-on-coldfusion-11-iis/ – SOS Aug 02 '18 at 12:33
  • Also https://stackoverflow.com/questions/24680549/coldfusion-11-installation-unsuccessful – SOS Aug 02 '18 at 14:00
  • Also, if this is a new project, I recommend using https://wirebox.ortusbooks.com/ instead of ColdSpring. Wirebox is still actively developed and much easier to configure and use. If you need an MVC solution, then ColdBox is the only way to go IMO. – Adrian J. Moreno Aug 02 '18 at 16:24

1 Answers1

1

In the Detailed Error Information section you can see:

Config Error: Cannot add duplicate collection entry of type 'mime Map' with unique key attribute 'fileExtension' set to '.air'

I Googled that error message and found this KB article from Adobe which says:

ColdFusion attempts to register a MimeType, and IIS puts this into a web.config file, and since this entry is actually a duplicate, IIS fails to serve any pages off the affected sites, and throws error 500.19. To fix this issue, navigate to IIS Manager > Site in Consideration > MimeTypes, remove the entry that references .air extension, and reconfigure the connector.

Alternatively, if you're like me and hate inetmgr, you can probably open up web.config and remove that offending line (5, as noted in red).

Rain
  • 321
  • 1
  • 8