Skip to: Site menu | Main content

Email Facebook LinkedIn Twitter Google

Blog...

Coldfusion 8 and 9 on Windows Server 2003, Server 2008, Vista, and Windows 7 (x86 and x64)

I wrote a blog entry over a year ago discussing how to install Coldfusion on Windows 2008.

With the imminent release of Windows 7 and several user comments I decided to update the instructions for myself and anyone else who finds it useful.

I've installed Coldfusion 8 and 9 on most versions of Windows. I used the default setup options.

To make the Coldfusion install as painless as possible you need to take a few pre-installation steps.

[More]

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
hi, yr entry for CF8 64bit installation on Win Svr 2008 is very helpful. thank you! i'm having problems getting the CF8 FTP to list files though.
i dont have any problem with opening & closing the connection, just list. do you have any idea why? appreciate help! cheers, sandra
# Posted By LEE | 8/17/09 10:58 AM
@LEE
Try connecting to a different FTP server. Determine if listing is working at. If that works, try pulling a file you know for sure exists on the FTP site. That should tell you if you are dealing with a Coldfusion problem or an issue with the FTP server software.
# Posted By Jason Holden | 8/17/09 1:03 PM
Hi, Jason.

I'm wondering if you know the correct ColdFusion 8 code to properly export a query to Excel on both Vista and Windows 7. Any help is greatly appreciated.

Thanks!
# Posted By Pat | 10/28/09 9:13 AM
@PAT

I've exported a query to CSV before using this simple function: http://www.cflib.org/udf/QueryToCsv.

CSV's can be opened using Excel.

If you require more advanced excel processing try http://www.riaforge.org

Several Excel specific projects there.
# Posted By Jason Holden | 10/28/09 10:04 AM
Jason, thanks for your postings on this; it helped me get CF 7 running on Windows 2007 / IIS 7.

It's working, but when I display a page with a Cold Fusion error, I now get the 500 error, instead of the usual partial page and gray box with error output that I used to get with CF on IIS 6

The thing is, if I access the page from a browser on the server itself, with address 127.0.0.1/whatever, I DO get the partial page and CF error text.

This is a real headache; if you happen to know what's happening or what I could do to fix, I would greatly appreciate it.

Thanks.
# Posted By Joe Copley | 11/30/09 4:07 PM
@Joe

If you add your remote IP to the list of debugging IPs can you see the error from the remote worksation?
# Posted By Jason Holden | 11/30/09 5:03 PM
Hi Jason:

Yes, I have enabled debugging, and it seems to work fine.

Note that I have this experience on my default web site, as well as another site I created.

I don't think CF is doing anything differently; I suspect this has to do with IIS 7 or Windows 2008 security.

I did notice, while trying to get CF 7 running on the machine, that the various IIS errors (e.g. 401.3, 404) I saw were just terse messages when viewed over the Internet, but provided a lot more information when viewed on a local browser (then I saw complete error descriptions, a failure log link, etc.). Maybe this is related somehow.
# Posted By Joe Copley | 11/30/09 5:58 PM
@Joe

That does sound like a permission issue. Try giving the 'Everyone' group complete acces temporarily. That will let you know for sure. Then go back and ensure that the IUSR_<Machine_Name> account has the appropriate permissions.
# Posted By Jason Holden | 11/30/09 6:07 PM
Permissions were not the problem. It turns out that IIS7 does distinguish local vs. remote users when outputting ISAPI error information. Here's more information: http://forums.iis.net/t/1146653.aspx.

I got around the problem by telling ColdFusion not to output HTTP status codes (a setting in CF administrator), but that isn't ideal, since it no longer generates 404 codes for non-existent templates.

Thanks again for your help.
# Posted By Joe Copley | 12/1/09 10:04 AM
This is a top post. Thank you it made my life much easier.
# Posted By Martin | 2/10/10 4:01 AM
Great work. I appreciate your advisory regarding the 64bit installation.
I wasted a lot of time before I found your hint.
Thanks a lot!
Kessi
# Posted By Juergen | 2/24/10 7:14 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.1.001.