When installing ColdFusion on Vista or on Windows Server 2008 you may receive HTTP 404.3 Error, similar to this one:
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
Additionally if you run ColdFusion Web Server Configuration Tool, you will see a message saying that IIS components are being installed and could take between 2 to 5 minutes of time.
You can resolve this error by making sure that the two required components of IIS are installed on your system. Namely:
- ISAPI Extensions
- IIS Metabase and IIS 6 configuration compatibility.
First, start the program called Windows Features. You will find Windows Features under Control Panel –> Programs and Features.
When the Windows Features starts, navigate through the features hierarchy under Internet Information Services and select the two features: (a) ISAPI extensions and (b) IIS Metabase and IIS 6 configuration compatibility.
ColdFusion is now ready to run from IIS. However, IF you’ve ALREADY installed ColdFusion before following the above steps, continue to follow the steps mentioned under ‘Configuring IIS for ColdFusion’:
Configuring IIS for ColdFusion
If you followed the above steps after having installed ColdFusion 8 or 9, you will have to run Web Server Configuration Tool that comes with ColdFusion to configure IIS7 so that all .CFM files are mapped to be handled by ColdFusion.
The following text is directly from ColdFusion installation guide:
- Start the Web Server Configuration Tool by selecting Start > Programs > Adobe > ColdFusion 9 > Web Server Configuration Tool.
- Click Add.
- In the Server pop-up menu, select the host name and the server or cluster name to configure. In the ColdFusion server configuration, the server name is always coldfusion. Clustering support is not available on the server configuration.
Note: The server or cluster does not have to reside on the web server computer.
- In the Web Server Properties area, select IIS and specify the website. For IIS, you typically specify All.
- Select the Configure web server for ColdFusion applications option, and click OK.

Note: Omitting the previous step causes your web server to serve ColdFusion source code. - Copy the CFIDE and cfdocs directories from cf_root/wwwroot to your web server root directory. In addition, copy your application’s CFM pages from cf_root/wwwroot to your web server root directory. In the multiserver configuration, these files are under the jrun_root/servers/cfusion/cfusion-ear/cfusion-war directory.
ColdFusion is now ready to serve pages on the Web ;)
35 comments:
I'm a bit disappointed. Quite a few of us requested that CF9 use the Native Module capability of IIS7 rather than the ISAPI. The feature request was even marked as completed. Yet CF9 still appears to be using the legacy ISAPI connectors. Aside from the performance gains that this would have offered, it would have also eliminated this confusing and lengthy install process.
@TJ, yes it is quite a disappointment. May be we will see that in ColdFusion 10. ;)
Thanks so much for this article. I agree, it seems that native integration with IIS7 would be preferred. I ran CF9 in the Multiserver mode as a J2EE app, but prefer the managability of IIS7; mostly for the purposes of running multiple sites on teh same Coldfusion server. So this last step here caused me a few hours of headache.
By following this, were all of your application mappings properly configured? .cfm, .cfml, .cfc, .cfswf, .cfr, .jsp, and .jws? After installing the required portions to IIS and restarting my Vista Ultimate (x64) machine, and then running the configuration tool, it seems as though ColdFusion is unable to locate any of my websites from IIS. I haven't created/configured any as I was going to use the default root, but I don't think that should make a difference...
Any ideas?
Brendon, if you have installed the two components mentioned in the article then just make sure you have downloaded x64 bit edition of CF9 and not running a 32bit edition on a 64bit Vista.
Things you can try:
1. Run ColdFusion Web Configuration with Admin rights i.e. in elevated mode. (Right click Run as Administrator)
2. It is not tricky to add mappings manually. ColdFusion configurator adds one Wildcard Script map and 8 scrip map for: *.jsp, *.jws, *.cfm, *.cfml, *.cfc, *.cfr, *.cfswf, *.hbmxml.
You should add the above "handler mappings" at root node manually.
Wildcard script map extension points to: C:\ColdFusion9\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll
All other Script map extensions: C:\ColdFusion9\runtime\lib\wsconfig\jrun_iis6.dll
3. Under IIS7 management root node, you will see "ISAPI and CGI Restrictions" icon. Go in there and make sure both the above mentioned dlls are listed and are Allowed and not restricted.
4. If you want to try allowing your IIS7 to run 32bit applications, you can enable it under Application Pools. Right click on an application pool name & go to advanced settings. And set Enable 32-bit applications to true.
Hope this helps!
You are freaking fantastic! A very well-written article that helped me install CF9 Developer onto my Win7 Pro x64 installation.
CF is up and running now thanks to you! You have a great instructional approach to the article, and coupled with the images, this was better than most videos I've seen that teach the same thing!
Thanks for your kind words, Aaron.
When I run the Add Web Server Configuration tool I get a DoIISListWebSites(OpenKey): ERROR_ACCESS_DENIED and the selections in the wizzard are ghosted. How do I grant access to this ??
Sorry, I'm new to Windows 7
If you're getting error that says "ERROR_ACCESS_DENIED", you should try running Web Server Configuration tool in elevated mode - Just right click on its icon and select "Run as Administrator". And I hope you've installed the components I've mentioned in the article.
I've resolved the issue. Went into JRun4/bin/wsconfig.exe and set it to run as administrator. after running this file as adminstrator the error went away.
Dang Sameer Your fast, I didn't even see your reply. Yeah, that's what I did. Thank you so much your help is much appreciated. Very good step by step with screen grabs. VERY HELPFUL!
Thanks again,
@scott, I'm just as fast as you are. :)
Yes, Sameer, as others have said, thanks so much. Was installing CF9 today on a new laptop with Windows 7 and hit the error. Searched and found your entry first, and problem solved. Great job.
Great solution, thanks for saving my time!
Hi Sameer,
I've been having problems with connecting IIS:
http://forums.adobe.com/thread/556900?tstart=0
I thought I'd try your instructions for connecting IIS manually, but neither the file jrun_iis6_wildcard.dll or jrun_iis6.dll exists after installing coldfusion.
The only file in wsconfig is jrunwin32.dll
Do you have any suggestions?
Thanks
Hi Gareth,
Try to find those dll files. In standard installation, files must be stored at: C:\ColdFusion9\runtime\lib\wsconfig\
Wildcard script map extension points to: C:\ColdFusion9\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll
All other Script map extensions: C:\ColdFusion9\runtime\lib\wsconfig\jrun_iis6.dll
Follow the instructions I gave to Brendon in comments above. If your server is 64bit then you must install 64bit edition of CF.
Hi Sameer,
That's very wierd, I've searched the hard-drive, and those 2 files (jrun_iis6_wildcard.dll and jrun_iis6.dll) aren't there at all!
I had a look at a different CF9 server I installed back in December, and those files are there this time.
I've checked the CF download from Adobe I used for each server:
both are called ColdFusion_9_WWE_win64.exe and come in at 443,876kb, so it's not obvious if they've updated the installer in the last few weeks.
I'll try again using December's installer, and see if that makes a difference.
Thanks
As an update to the last post, I tried the installer I download in December, and it didn't make any difference. Obviously they're the same file.
I have however figured out why those two files aren't there. I noticed the file C:\ColdFusion9\runtime\lib\wsconfig\wsconfig.log which has the following content:
# Created by JRun on 01/20 20:31:33
01/20 20:31:33 info Macromedia JRun 4.0 (Build 108795)
01/20 20:31:33 debug Created file C:\ColdFusion9\runtime\lib\wsconfig\jrunwin32.dll
01/20 20:31:54 error Could not connect to any JRun/ColdFusion servers on host localhost.
Possible causes:
o Server not running
-Start Macromedia JRun4 or ColdFusion 9 server
o Server running
-JNDI listen port in jndi.properties blocked by TCP/IP filtering or firewall
on server
-host restriction in security.properties blocking communication with server
jrunx.connectorinstaller.NoServerException: Could not connect to any JRun/ColdFusion servers on host localhost.
Possible causes:
o Server not running
-Start Macromedia JRun4 or ColdFusion 9 server
o Server running
-JNDI listen port in jndi.properties blocked by TCP/IP filtering or firewall
on server
-host restriction in security.properties blocking communication with server
at jrunx.connectorinstaller.CIJndi.findServers(CIJndi.java:475)
at jrunx.connectorinstaller.CIJndi.(CIJndi.java:139)
at jrunx.connectorinstaller.CIJndi.(CIJndi.java:145)
at jrunx.connectorinstaller.ConnectorInstaller.parseArgs(ConnectorInstaller.java:228)
at jrunx.connectorinstaller.ConnectorInstaller.(ConnectorInstaller.java:56)
at jrunx.connectorinstaller.ConnectorInstaller.main(ConnectorInstaller.java:760)
I compared it to wsconfig.log on the 'good' server, and whatever process makes this log file, it should copy the other dlls over too.
It looks like I'm back to trying to figure out why the connector can't see coldfusion...
Thanks totally helped me get going on my new Win7 box
I've got CF9 setup on win server2008 64bit and the Web Server Configuration tool won't let me "Remove". It give me a message that says "error deleting IIS application extensions .jps, jws, .cfm, ,cfml,....ect. from web site. Any ideas on how to update these manually or get this working.
Have you tried removing those extensions manually from IIS?
Read this: http://www.codecurry.com/2010/01/coldfusion-manual-configuration-issues.html
Hi Sam,
I'm new to coldfusion, but found your article in so many sites & was very interesting going through this article. It will really help me if you can provide me with the installation steps for this cold fusion
Hi Sam: Thank you for writing this awesome article. it helps me a lot. Please be aware that some pictures are not working.. just for the record!! Good job sam!!
Excellent content well written. Thank you.
When I open the web server configuration control panel, configure and click ok, i get an error that says "version 7.0 is installed. supported versions are 4.x, 5.x, 6.x"
my environment is
Windows 2008
running CFML 7
Thanks for the helpful article. I'm setting up Win 2008 and IIS 7 for the first time and everything is so different it's making muy head spin :)
Thanks very helpful! I had the issue with CF9 and IIS7 on vista.
Many thanks for this clear and effective tutorial. After following the steps you outline, ColdFusion ran perfectly on Windows 7.
While I applaud that you've provided this tutorial, this is really something that Adobe should have made clear as I honestly would not have expected to have to manually enable the ISAPI aspects nor select IIS 6 console compatibility.
Again, thank you very much!
Yeah!
Thanks.. It works for me..
Thank you for this post, saved my Friday!
Thanks for the post! Worked like charm :)
Thank you thank you thank you!!!!!! I had gone through a dozen websites both ASP and ColdFusion related trying to get this issue resolved but only yours had the steps which included adding the configuration through the Web Server Configuration Tool. I took it for granted thinking that this was already configured since I had added IIS as a web server during the CF9 installation process.
Thanks again!
Ben Forta, best-selling ColdFusion author is coming to India this August at India's largest Adobe Flash Platform Conference. Ben Forta will conduct a visionary keynote on the opening day of the summit. For more information and to register log on to adobesummit.com
Thanks Sameer, this has been very helpful indeed. Guys, ensure you run the web server configuration as an administrator, you may encounter permission issues as a result of not doing so. Daniel Godinez
Post a Comment
Be relevant. Spammers will be banned.