Skip to: Site menu | Main content

Email Facebook LinkedIn Twitter Google

Blog...

Coldfusion 8 on Windows Server 2008

I'VE UPDATED THIS ENTRY TO INCLUDE WINDOWS 7

I had some experience installing Coldfusion 8 on a Windows Server 2008 box last week. I captured some screenshots so I could do this brief tutorial.

First, Microsoft has locked down everything in Server 2008. Thankfully they've been a bit smarter about it this time. Rather than installing everything by default and prompting you to "cancel or allow" it they have introduced server roles. This means that if I want to setup a webserver I need only install the pieces of software for hosting webpages.

With that in mind we need to do a bit of preinstallation work in order to make the CF8 install as smooth as possible.

  1. Open Server Manager
  2. Expand the Roles node in the left pane
  3. Click Add Role Service
  4. Select the ISAPI Filters and IIS 6 Management Compatibility roles
  5. Install Coldfusion 8 normally

By performing the above preinstallation steps the CF installers should work normally setting up the appropriate script maps and ISAPI entries.

Those running 64-bit Server 2008 with 32-bit Coldfusion will need to take a couple of additional steps to get CF8 running.

PERFORM THESE STEPS ONLY IF YOU ARE RUNNING 32-BIT COLDFUSION ON A 64-BIT OS.

NOTE: Adobe has released CF8 in a 64-bit flavor but only for the Enterprise/Developer edition.

Perform the following steps to enable 32-bit applications in IIS7.

  1. Open up the Internet Information Services (IIS) Manager
  2. Expand the server node and select Application Pools
  3. Select the DefaultAppPool and then Advanced Settings
  4. Ensure that Enable 32-bit Applications is set to True

Failing to enable 32-bit applications results in 500 Internal Server errors.

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
THANK YOU THANK YOU THANK YOU!!!! I looked for hours for a solution to the problem I was having .... you saved me!! and the furniture I was about to start throwing around :)
# Posted By Funkygirl | 6/10/08 8:37 AM
Also, for the 801 installer I needed to add the ASP.NET and .NET IIS module things before it would work!
# Posted By Nathan | 7/24/08 7:22 PM
Good catch Nathan! I am not using the .NET integration so I did not run into that.
# Posted By Jason Holden | 7/25/08 10:47 AM
@VISTA USERS and 500 errors

Vista users who have uninstalled/reinstalled CF may find that the installer will leave behind Handler Mapping entries. This can cause 500 errors. If you still recieve 500 errors after following all the install steps. Try stopping the current Default Website and creating a new one.

Thanks to Chris Currie for finding this one.
# Posted By Jason Holden | 8/9/08 10:53 PM
Thank you for this information.
# Posted By InverseFlux | 8/22/08 6:11 PM
OMG. Lifesaver. Who knew CF8 requires IIS6 hooks?

When will Adobe get their act together and support II7, though?
# Posted By AH | 11/3/08 3:00 PM
Server 2008 x64 Standard

I had to enable ISAPI Extensions before it would work
Install Options I used ODBC, Documentation and LiveCycle.
I did not install .net or Search Services.
# Posted By Demar Bowman | 11/21/08 11:26 AM
Thanks! I've updated the screenshot above.
# Posted By Jason Holden | 11/21/08 11:56 AM
Thank you! This was critical information - something the CF installer ought to mention if it detects Windows 2008.

Like Demar I too had to add ISAPI Extensions to get it to work but I'm running Win2008 32bit and only selected ODBC during CF installation.
# Posted By Gary Fenton | 1/16/09 3:32 PM
Has anyone install cf8 x64 on Windows 2008 core?

If so, could you please sheed some light.
# Posted By James | 1/19/09 1:18 PM
Does anyone have any docs on how to install CF8 Enterprise x64 on Windows 2008 Standard Core x64
# Posted By James | 1/19/09 1:50 PM
@James

I've only installed 64-bit CF on 64-bit Vista. Seems like it should be similar to 32-bit but you wouldn't have to enabled 32-bit applications in the application pool. Are you having a specific problem?
# Posted By Jason Holden | 1/19/09 3:48 PM
I installed Windows 2008 Standard Core, added the ips, and opened the firewall.

Ran the following:

start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-Security;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-RequestFiltering;IIS-Performance;IIS-HttpCompressionStatic;IIS-WebServerManagementTools;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;WAS-WindowsActivationService;WAS-ProcessModel

I than restarted the machine and did a slient install of CF8 Enterprise x64.
INSTALLER_UI=SILENT
SILENT_LICENSE_MODE=full
SILENT_SERIAL_NUMBER=XXXXXXXXXXXXXXXX
SILENT_INSTALLER_TYPE=standalone
SILENT_INSTALL_ODBC=false
SILENT_INSTALL_VERITY=false
SILENT_INSTALL_SAMPLES=false
SILENT_INSTALL_JNBRIDGE=false
SILENT_INSTALL_LDS=false
SILENT_INSTALL_FOLDER=C:/ColdFusion8
SILENT_WEBROOT_FOLDER=C:/inetpub/wwwroot
SILENT_ADMIN_PASSWORD=ilovepie

I try and run wsconfig -server coldfusion -ws IIS -site 0 -coldfusion -cfwebroot -ws64, but I get this error.

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\COLDFUSION8\runtim
e\lib\wsconfig\jrunwin32.dll: The application has failed to start because its si de-by-side configuration is incorrect. Please see the application event log for more detail
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1005)
at jrunx.connectorinstaller.Win32Handler.<init>(Win32Handler.java:47)
at jrunx.connectorinstaller.IISWebSites.<clinit>(IISWebSites.java:300)
at jrunx.connectorinstaller.WebServerInfo.setWebServerDirectory(WebServe
rInfo.java:350)
at jrunx.connectorinstaller.WebServerInfo.<init>(WebServerInfo.java:112)

at jrunx.connectorinstaller.ConnectorInstaller.parseArgs(ConnectorInstal
ler.java:172)
at jrunx.connectorinstaller.ConnectorInstaller.<init>(ConnectorInstaller
.java:56)
at jrunx.connectorinstaller.ConnectorInstaller.main(ConnectorInstaller.j
ava:760)
# Posted By James | 1/20/09 12:54 PM
Ok. I've been trying to get this one to work all week!

This seems to me to be a problem with Windows Server 2008 core installs. There are several key management tools that are not available on core installs:

http://learn.iis.net/page.aspx/112/iis7-on-server-...

On the up side, the Coldfusion 8.01 x64 seems to work in GUI mode.
# Posted By Jason Holden | 1/26/09 12:52 AM
Looking for help here. Windows Server Datacenter SP1, 64 bit. CF 801 64 bit. Installed ok. Try to run the admin and I get a 500 error. I tried the stuff listed here, but I had those options checked already.
# Posted By Raymond Camden | 3/12/09 2:08 PM
@Ray
Just to make certain. You are not installing this on a Datacenter Core server correct?
# Posted By Jason Holden | 3/12/09 4:46 PM
I honestly have no idea what Datacenter Core is. It is a VPS. I know it said Datacenter in the My Computer props. I'm _mostly_ sure it didn't say core anywhere.
# Posted By Raymond Camden | 3/12/09 4:58 PM
I did a uninstall/reinstall, made sure i did run as admin. Still same error. Took a screen cap of the screen.

http://www.coldfusionjedi.com/downloads/badcf.png
# Posted By Raymond Camden | 3/12/09 5:19 PM
@Ray
I setup a Windows 2008 Datacenter SP1 x64 VM and installed CF8 x64 with no problems. 500 errors are hard to diagnose because they don't provide alot of information.

I see that it is faulting in "AboMapperCustom-42902", this means that the CF8 installer setup the custom application mappings. Based on that I think the CF8 installer worked correctly.

This could be a permission issue or a corrupt app pool.
# Posted By Jason Holden | 3/12/09 10:10 PM
@Ray
Thanks for letting me find the root cause of this one.

The problem was a corrupt app pool. I really don't know how this happens, but I've seen it on Vista as well.

To verify this I created a new "Default Website", which creates a new app pool.

If the new one works, you can delete the old and use the new one as your default.

Remember to cleanup your app pools.
# Posted By Jason Holden | 3/12/09 10:54 PM
I had issues with CF8 and Vista (Business) 64-bit. The 8.0.1 updater seemed to fix things. Of course I avoid using IIS and either use the built-in Java engine (rejigged to port 80) or Apache. Then my notebook blew up. Am now waiting for a 64-but updater of Vista Ultimate to try it all again. Sigh. Bring on Windows 7 please!
# Posted By Peter Tilbrook | 3/12/09 11:04 PM
@Peter
I'd be interested to know what issues you ran into. My laptop is running CF8 on Windows Vista Ultimate x64.

I think the built-in webserver is fine for development, but I have very little experience with Apache.

I use IIS because I'm familiar with it.

I also like to keep my development evnironment as close to my production environment as possible. We are running IIS on our production servers.
# Posted By Jason Holden | 3/12/09 11:56 PM
I posted a similar fix for Windows Vista SP1 a while back
http://dale.fraser.id.au/2008/05/coldfusion-8-vist...
# Posted By Dale Fraser | 3/13/09 1:29 AM
Thanks for this great info. I do have issues with my server and I hoping you can help. I need to set up windows pass - thru authentication. I have CF8.01 standard, win server 2008, IIS7 and Windows Authenication installed. I've set this up on
older servers but ws 2008 seems like a different animal... the cgi.auth_user is not populated. What am I missing.

I also need to get to data on our network. Previously I would just set the serverices up to start with a special account.
This diesn't seem to work anymore, any tiips.. anyone
# Posted By Tim Marciniak | 5/12/09 8:47 AM
I used these settings with the IIS 7.5 with the official Windows 7 RC from the MS website with no luck. None of my CFIDE folders are created in my web root or anything. Any one had any luck implementing with this?
# Posted By Dustin Chesterman | 5/18/09 11:50 AM
@Tim

I've used windows authentication a handful of times. Unfortunately I don't have a test server for this. I'm happy to help you remotely if you can give me access.
# Posted By Jason Holden | 5/18/09 12:01 PM
Oh, my god...thank you dude! Perfect.
# Posted By Citadel | 6/27/09 5:02 PM
Bit of a segway but there are a some issues when connecting Coldfusion 8 to SQL server 2005 or 2008 that might be relevant here. I pieced them together into what I hope is a catch-all tutorial, a step-by-step guide. So if the above won’t work then try this out: http://www.hardlightmedia.co.uk/index.cfm?fuseacti...
# Posted By Tim | 7/14/09 3:31 AM
I've followed the info here about adding the ISAPI
Filters & Extensions along with the 6.0 IIS compat
stuff. However, CF8 will not install on my
Server 2008 x64 Std. All goes fine until the end,
when it complains about port 51800 not being open.
It can't install the connector it seems. Other than
turning on port 51800 is there anything else to try?
Or config the connector manually? This is a vanilla
install of Server 08 x64 Std.
# Posted By Joe D | 7/21/09 7:07 PM
@Joe D
Are you using any other firewall software? Are you using R2?
# Posted By Jason Holden | 7/21/09 8:18 PM
@Jason H
Not using R2 according to the system info. I didn't think they had an R2 yet for Server 2008. SP1 is installed though. We have a hardware firewall. Windows firewall is on, I'll try adding an exception to port 51800 for the moment. any other ideas?
# Posted By Joe D | 7/22/09 12:06 PM
@Joe D
I setup a Windows Server 2008 SP2 x64 virtual machine and then did the appropriate preconfiguration. I then installed the latest Adobe Coldfusion 8 Windows x64. Everything installed correctly.

Are you using any custom settings during the Coldfusion install?

I've sent you and email. Respond if you'd like for me to attempt to solve this remotely.
# Posted By Jason Holden | 7/26/09 3:08 AM
Here is the fix for the 32bit install stuff.

Ensure you have the 'Allow 32 Bit Applications' set to true in the Default App Pool in IIS7 or whichever app pool you're going to use for your sites.

Install CF 8 normally.

The web server configuration part on the last screen will fail and say you have to open ports and stuff, just ignore it.

Shut down CF8 service.

Install CF 8.0.1 updater (it will start up the CF service when it is done).

Run 'As Administrator', the Web Server Configuration Tool that comes with CF8. If you don't run it with the 'As Administrator' option, it won't work. I had no idea that this had to be done with certain apps under Win2008.

Once it runs, if it already has an entry for your web server.....then you can just exit. Otherwise, click 'Add' and then (in the next box) it should have the JRun host set as 'localhost' and the server set for 'coldfusion'. Then check the box 'Configure web server for ColdFusion 8 applications'. Then click 'ok'. It will tell you that the web server is going to need to be restarted, and then it will restart it for you. After that, you should be able to open up the CF Administrator page and your CF server will be good to go.

Those are the steps to me finally getting the thing working.......yay!
# Posted By Joe D | 7/27/09 10:09 PM
If you're running into 500.0 errors with 64bit CF installed on a 64 bit machine, make sure that you _do not_ have 32-bit applications enabled as above.

I went through about 20 different combinations until I realized that was the issue.
# Posted By Lyle | 8/15/09 4:24 AM
@Lyle
Thanks for the reminder. I've updated the instructions abo e.
# Posted By Jason Holden | 8/15/09 4:56 PM
You are my hero. I spent 3 hours messing with this of reinstalling IIS 7 and other various assorted methods.
# Posted By Mike Kollen | 10/11/09 2:27 AM
Thanks Jason for the excellent article! I had an initial problem with the installation, but it turns out I was using the ColdFusion 8.0 installer - NOT the ColdFusion 8.01 installer.

Fortunately I still had the 8.01 installer tucked away in my archive as you can't donwload the 8.01 installer anymore with the recent release of ColdFusion 9.0!

Once I used the 8.01 installer - it all worked like a dream.

Thanks again.
# Posted By Steven | 10/19/09 6:53 AM
awesome! i have spent hours on this, thank you
# Posted By jason williams | 4/25/10 4:05 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.1.001.