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 ;)


16 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. ;)
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.
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
Post a Comment
Be relevant. Spammers will be banned.