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.
- Open Server Manager
- Expand the Roles node in the left pane
- Click Add Role Service
- Select the ISAPI Filters and IIS 6 Management Compatibility roles
- 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.
- Open up the Internet Information Services (IIS) Manager
- Expand the server node and select Application Pools
- Select the DefaultAppPool and then Advanced Settings
- Ensure that Enable 32-bit Applications is set to True

Failing to enable 32-bit applications results in 500 Internal Server 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.
When will Adobe get their act together and support II7, though?
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.
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.
If so, could you please sheed some light.
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?
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)
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.
Just to make certain. You are not installing this on a Datacenter Core server correct?
http://www.coldfusionjedi.com/downloads/badcf.png
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.
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.
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.
http://dale.fraser.id.au/2008/05/coldfusion-8-vist...
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
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.
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.
Are you using any other firewall software? Are you using R2?
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?
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.
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!
I went through about 20 different combinations until I realized that was the issue.
Thanks for the reminder. I've updated the instructions abo e.
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.