IIS 7 and Above
cfm & IIS7.5 problem
Last post Jul 17, 2012 12:00 AM by jamiefurr
Jul 14, 2012 11:58 AM|rpd|LINK
Yesterday I installed Adobe ColdFusion10 developer edition and it installs fine & runs the administrator page in localhost fine.
However I cannot run .cfm files in localhost as I get a dialogue/popup box titled >>Opening cfm...You have chosen to open xxxx.cfm which is a .cfm file from http://localhost
What should Firefox do with this file? (Open with/Flashgot/Save file)<<<
I have all Internet Info services enabled-any idea how I can fix this?
(I have removed & reinstalled ColdFusion10Dev but no change/help)
Jul 14, 2012 03:00 PM|jamiefurr|LINK
It sounds like you may need to run their Web Server Configuration Tool.
Here's a good walkthrough of installing Cold Fusion on an IIS Server.
Jul 14, 2012 03:48 PM|rpd|LINK
Thanks for your reply and link.
Re config tool-I have run this and it doesn't help unfortunately
Re CodeCurry link-interesting post relating to earlier CF version (not updated for CF10)
I have uninstalled CF10 and reinstalled it a few times now and I still have the same problem as I describe above (.cfm not served properly).
In IIS Mime type I have no .cfm listed and in Handler mappings I have nothing for cfm- I do not understand why/why not!!!How do I fix these??
This is a bad start to my cfml learning if I cannot use IIS7.5 on my Win7 HomePremium desktop. I have also tried BlueDragon free edn for coldfusion and have an error there with some v???.dll (? j# compatible/incompatable with .NET4...).
I have also tried adding Wheels for coldfusion in IIS7.5 also but this also fails as IIS7.5 is not handling/dealing with .cfm!
I STILL need help please to get .cfm going in my IIS7.5....thanks!
I KNOW this should work as I just installed CF10 dev on my Mums Win7 IIS desktop and all is good ie IIS serves .cfm pages but WHY won't it work on my Win7 desktop?!!
I still do not have handler mappings for .cfm or mime types. There must be something wrong with my Windows setup somewhere but what?
I wish I could easily restore to factory state settings and start over.... anyway I am still grateful for any helpful advice..thanks
Jul 14, 2012 08:07 PM|jamiefurr|LINK
Have you tried following this document on the Adobe site?
They give te following note. Also you may want to run the Web Server Configuration "As Administrator".
Note: If you are configuring IIS 7 or IIS 7.5, before you proceed, ensure that you have the options
ISAPI Extensions (Internet Information Service > Web Management Tools > World Wide Web Services > Application Development Features),
ASP.NET , and CGI selected in the Windows Features dialog box (Start > Control Panel > Programs and Features > Turn Windows features on or off).
It says the the following should have been done in IIS. Can you verify?
Jul 16, 2012 09:48 AM|rpd|LINK
Thanks for your reply & helpful link.
I do not have a folder 1 at C:\ColdFusion10\config\wsconfig nor do I have the other entries etc.
Is it possible to manually add the required items?
The CF10 config tool run as administrator (or not!) is not working.
See my posts at Adobe Cold Fusion forum: http://forums.adobe.com/message/4559714#4559714
(ISAPI extensions are enabled along with ASP.NET & CGI)
I am very grateful for more helpful advice to fix this-many thanks
Jul 16, 2012 03:18 PM|jamiefurr|LINK
I'm not sure of everything that needs to be setup for CF10 to work. Since the CF10 Web Server Configuration Tool is not working you, should contact Adobe for support. They should be able to help you get this setup.
If you want to try and add this manually. You can find instructions here:
Look for a comment at the bottom by Sammer Gupta. He offers the following things you can try.
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.
Jul 16, 2012 07:11 PM|rpd|LINK
Thanks for your further post.
Re "Things you can try":
1.I have run CF10 Webconfig exe with Admin rights-no help unfortunately
2.It IS tricky to add handler mappings manually for me! I do not know what a scrip map extension is and I do not have
this folder/dll- ????\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll
(I have: C:\ColdFusion10\cfusion\runtime\lib & no jrun_iis6_wildcard.dll)
This is why I was asking for help for me to add handler mappings manually for CF10.
3. In ISAPI & CGI restrictions I do NOT have those dlls listed
4. I HAVE set default app pool to true to enable 32 bit apps.
Can you please suggest further help? Thanks again for helping so far & I really would like to fix this to run .cfm in my IIS on Win7!
Jul 17, 2012 12:00 AM|jamiefurr|LINK
Have you tried installing from the command line. It may give you some errors to work with.
Here's the syntax:
cf_root/runtime/bin/wsconfig.exe -ws iis -site "SiteName" -v
Here's a refererence for the command line utility: