Accessibility

TechNote

ColdFusion MX: Pages with .dbm extensions cause error: The page cannot be displayed

Issue


After upgrading a Windows machine to Macromedia ColdFusion MX, displaying ColdFusion pages with the .dbm file extension results in the following error in an IIS web server configuration:

"The page cannot be displayed"

By default, the ColdFusion MX installer only configures .cfm and .cfml as valid ColdFusion file extensions with IIS. This behavior differs from ColdFusion versions 5 and earlier where the .dbm file extension was automatically configured as a valid file extension. This TechNote describes how to configure your IIS web server to recognize the ColdFusion MX .dbm file extension.

Solution


  1. Start the Internet Services Manager.
  2. From the IIS Snap-In window, right click the Computer icon. Select Properties.
  3. Select WWW Service in the Master Properties pulldown. If you're running IIS 5, click the Internet Information Services tab to display the Masters Properties pulldown.
  4. Click Edit.
  5. Select Home Directory on the Tab menu, and click Configuration.
  6. If the .dbm extension is listed within the Extension column:
    • Highlight the .dbm extension and click Edit
    • In the Executable field, enter"C:\CFusionMX\runtime\lib\wsconfig\1\jrun.dll" without the quotes.
    • Click OK, Apply and OK.
  7. If the .dbm extension is not listed within the Extension column:
    • Click Add.
    • In the Executable field, enter"C:\CFusionMX\runtime\lib\wsconfig\1\jrun.dll" without the quotes.
    • In the Extension field, enter ".dbm" without the quotes.
    • Click OK, Apply and OK.
  8. Stop the ColdFusion MX Application Server service.
  9. In a text editor, open the file \cf_root\wwwroot\WEB-INF\web.xml.
  10. Add a servlet mapping to the web.xml file for the .dbm extension.
     <servlet-mapping><servlet-name>CfmServlet</servlet-name><url-pattern>*.dbm</url-pattern></servlet-mapping><servlet-mapping><servlet-name>CfmServlet</servlet-name><url-pattern>*.dbm/*</url-pattern></servlet-mapping> 
  11. Save the file.
  12. Restart the ColdFusion MX Application Server service.

Note: Follow these general steps to set up your server for other ColdFusion file extensions that you may use.

AlertThis content requires Flash

To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.

Download the free Flash Player now!

Get Adobe Flash Player

Creative Commons License

Search Support


Document Details

ID:tn_18289
Browser:Chrome
Internet Explorer
Netscape
Opera
Safari
Firefox

Products Affected: