Railo 4 IIS-Boncode Connectivity Issue

There seems to be a problem with the IIS-Boncode connectivity on some Windows environments which produces one of the following errors when trying to access the site on port 80:

  • Generic Connector Communication Error: connection between Tomcat and IIS experienced error.

Railo_error_on_Server_2008_R21.png

Or:

  • HTTP Error 500.21 - Internal Server Error: Handler "Boncode-Tomcat-CFM-Handler" has a bad module "ManagedPipelineHandler" in its module list.

DotNet_2_error.png

 

To fix this issue, the app pool's ".Net" framework version needs to be changed to version 4. The following command line commands register ".Net 4" and change the app pool's framework version to version 4. The version number and the app pool name (bolded below) may need to be changed depending on the environment:

%systemroot%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -iru
%systemroot%\system32\inetsrv\appcmd.exe set apppool /apppool.name: DefaultAppPool /managedRuntimeVersion:v4.0

 

Referenced by:

Have more questions? Submit a request

0 Comments

Article is closed for comments.