Tag: IIS

2 Posts Found
 

ColdFusion 10 / Windows Server 2016 / IIS 10

Posted: 10/18/2016 6:17 PM

The installer for the IIS connector in the base ColdFusion 10 installer does not support IIS 10.0 in Windows Server 2016. After you install ColdFusion 10, or if you manually try to run the connector installer, it fails silently.

Adobe released an update to fix this, but you need to install it manually since you can't through the CF Admin web interface with IIS.

Visit the Adobe ColdFusion Site to download the most recent hotfix. You then install it using the command:

    c:\coldfusion10\jre\bin\java -jar c:\temp\cf_hotfix_XX.jar

where c:\coldfusion10 is the root of your ColdFusion 10 installation, and c:\temp\cf_hotfix_XX.jar is the name of the JAR file that you downloaded.

You can then manually run the IIS Connector installer to get the necessary IIS integrations set up:

    c:\coldfusion10\cfusion\bin\connectors\IIS_Connector.bat
 

Get Rid Of IIS "Friendly" 500 Error Pages

Posted: 3/25/2016 8:25 PM

When ColdFusion or Tomcat throws a 500 server error, it returns a response code to IIS of 500. By default, IIS intercepts this status code and presents a "friendly" IIS error page instead of returning the actual generated error page. But in development this isn't very helpful since it doesn't show the underlying error message.

IIS Friendly 500 Error

You can override this behavior and display the CF-generated error instead with these steps:

  • Open IIS Manager and either select your server root or the individual web site.
  • In the Features view, scroll down to the Management section and open Configuration Editor.

IIS Manager

  • In the Sections dropdown, select and expand system.webServer, then select httpErrors.

system.webServer/httpErrors

  • The existingResponse value will be set to Auto. Click the dropdown and select PassThrough instead.
  • On the right side menu, click the Apply button to save the changes

existingResponse

You'll now see the appropriate ColdFusion error message.

CF Error