Partner and Community Forums
ColdFusion does not know how to setup IIS 7
Last post Aug 16, 2010 06:38 PM by ryfter
Jul 06, 2006 09:22 PM|iambnnu|LINK
Jul 07, 2006 07:31 AM|thomad|LINK
You have to add it as a ScriptMap. Can you point me to the setup program you are using? We tested ColdFusion on IIS7 and found no issues.
Jul 07, 2006 10:05 PM|iambnnu|LINK
First, Thanks for the reply,
What do you mean by, point me to the program?
I can add a Scripmap
http://iamARTevolutions.net/Transfers/IISCapture01.jpg but I do not know what *.dll to point it to. Is the exe "jrunwin32.dll" ? I did put in a mapping to this dll but it did not seem to work. I have another system running on IIS 5 and it is using another
jrun.dll that I don't seem to have on the system. If you point me there I will go.
Please bear with me, as I am not used to configuring this deep in a Server.
Jul 08, 2006 01:05 AM|iisray|LINK
We (IIS team) recently tried to install ColdFusion (V7.0) on LH build 5443 successfully. Right after install, IIS7 can serve a 'cfm' page that came with ColdFusion successfully.
Two important things that I saw ColdFusion changed IIS7's configuration (in Applicationhost.config):
<add path="D:\CFusionMX7\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll" allowed="true" groupId="MACRSRV" description="Macromedia
Server Extensions" />
<add path="D:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll" allowed="true" groupId="MACRSRV" description="Macromedia Server
name="AboMapperCustom-11742443" path="*" verb="*" modules="IsapiModule" scriptProcessor="D:\CFusionMX7\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll" requireAccess="None" />
<add name="AboMapperCustom-11742445" path="*.jsp" verb="*" modules="IsapiModule" scriptProcessor="D:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll"
<add name="AboMapperCustom-11742446" path="*.jws" verb="*" modules="IsapiModule" scriptProcessor="D:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll"
<add name="AboMapperCustom-11742447" path="*.cfm" verb="*" modules="IsapiModule" scriptProcessor="D:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll"
<add name="AboMapperCustom-11742448" path="*.cfml" verb="*" modules="IsapiModule" scriptProcessor="D:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll"
<add name="AboMapperCustom-11742449" path="*.cfc" verb="*" modules="IsapiModule" scriptProcessor="D:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll"
<add name="AboMapperCustom-11742450" path="*.cfr" verb="*" modules="IsapiModule" scriptProcessor="D:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll"
<add name="AboMapperCustom-11742451" path="*.cfswf" verb="*" modules="IsapiModule" scriptProcessor="D:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll"
It is possible that there was bug in the earlier IIS7 build. Try to modify 'handlers' and 'isapiCgiRestriction' sections in applicationhost.config based on the above info. to see if it helps or not.
Hope this help.
Jul 08, 2006 05:33 AM|iambnnu|LINK
Thank you very much Ray I will try that, and check my version again on the site to see if it is the latest.
I will of course post the results,
Jul 08, 2006 07:27 PM|iambnnu|LINK
I was not able to find the file "applicationhost.config" on my system. I search the C drive for it. Where is it on the system?
Jul 09, 2006 03:55 AM|qbernard|LINK
It is located at %windir%/system32/inetsrv/
Jul 09, 2006 09:44 AM|iambnnu|LINK
Got it!! Thanks Bernard.
I am truly out of my waters. I will look at it and make the changes.( a back up too of course). I will post results,
Jul 11, 2006 12:09 PM|noleaf|LINK
Have you got this working?
I have been trying to get CF7 running on Vista Beta 2 as well but I am getting HTTP Error 404.4
I have installed IIS7 along with ISAPI Extensions, I have configured the various Handler Mappings matching the ones suggested above and also added the extensions to the ISAPI and CGI Restrictions also matching the suggestions above (tried this multiple times
using both the IIS Manager and by editing the applicationHost config directly).
Without the ColdFusion wildcard mapping static files will continue to be served up, and it is only the CFM pages that give a 404.4. If I add the wilcard mapping (in addition to the static wildcard mapping), all requests return with a 404.4. I do have the
ColdFusion mappings positioned above the other mappings in the ordered list.
At this point I'm really not sure why it isn't working. Error message is below.
Description: The resource you are looking for does not have a module or handler associated with it. It cannot be handled and served.
Error Code: 0x00000000
Module: IIS Web Core
Requested URL: http://127.0.0.1/cfide/administrator/index.cfm
Physical Path: C:\inetpub\wwwroot\cfide\administrator\index.cfm
Logon User: Anonymous
Logon Method: Anonymous
Most likely causes:
Jul 12, 2006 04:40 AM|noleaf|LINK
Ok I've got it working now, ignore my plea for help above :)
There were a few catches;
Not the easiest install, but at least it does work in the end!
Jul 14, 2006 12:48 PM|iambnnu|LINK
I am not glad that you had a hard time but it is going to help me so much as I have been lost. I will try your solution verbatim and post the results or other questions.
Firt question. You say get the iis6.dlls from an existing install. I do have one so that can be done. Where are they and how many do I have to get and put.
I tried in desperation to load iis 6 function and compatability apps from the windows disc hoping that it would bridge the gap but it did not.
Nov 20, 2006 12:51 AM|JoshPR|LINK
Ya its not working for me either. I tried installing CF7 both as a multi and as a single server, neither of the installs do what they need to do correctly with IIS7.
Frankly I dont believe the IIS team successfully installed CF7 without doing some tweaking, would be nice to know what everyone is doing in a step by step process that people can use easily.
let me know if anyone has something like that available.
Nov 20, 2006 06:22 AM|bills|LINK
Josh, do you have the metabase installed? it is required in order for the ColdFusion installer to work. See this article for more info on how to install it:
Nov 20, 2006 02:41 PM|JoshPR|LINK
So I add this component in first then do the CF install and it should add all the appropriate mappings, etc.. during that installation?
Nov 20, 2006 03:32 PM|bills|LINK
Yep, that should do it. Try it out and if it still doesn't work, let us know. Last time we tried, it was still working fine once the metabase was installed.
Nov 20, 2006 05:44 PM|JoshPR|LINK
Nov 20, 2006 08:14 PM|JoshPR|LINK
I added the metabase capability, uninstalled CF7, reinstalled CF7 and when it pulls up the URL to complete the installation, it Shows an error page like usual with the 404 error.
Any further ideas? IIS 6 was a lot easier, Im sure IIS 7 rocks once you get the hang of it, but for now its causing some frustrations around here.
Let me know what you think.
Dec 03, 2006 04:17 AM|iambnnu|LINK
I followed the instruction and found that after changing Vista to a basic windows style, and installing the aforementioned add-in I was able to load ColdFusion 7 but once loaded got the same error with the administration page. I finally just loaded it as
a stand alone server and it is working. I will just used it as is and wait for Adobe to update their software.
Mar 28, 2007 01:55 PM|Guba|LINK
I was suffering the same problem of these collegues.
I was trying to install ColdFusion mX 7.02 onto a new VISTA Business PC, and I incurred in the ssame problems.
I installed CF with the compatibility system, but at the moment to add the script mappings I receive these messages (excusemy bad translations, I have an Italian verions)
Activte the ISAPI extension ? In this case the extension will be added as allowed item into the ISAP and CGI restriction. If the extensions are already in the list they will be allowed.
At this I click on YES. At this time I have back a second message box with an error that tells(again sorry for the translation from Italian to English):
One or more modules for the manager (?provider?) are not present in the modules list. If you are trying to add a script mapping, the module ISAPIMODULE or CGIMODULE is not present in the modules list.
What does it mean ? When I tried to edit applicationhost.config the section <isapirestriction /> was empty. Does this matters something ?
Could you help me please ?
Thanks a lot in advance.
Apr 18, 2007 02:41 AM|JoshPR|LINK
Hey guys, me again
I havent had time to mess with this for sometime:
I uninstalled CF7 - Made sure all my IIS 7 items where checked
Reinstalled CF7 - THen I had to manually add the handlers and isapiCGI stuff, the thing I think is missing is the ISAPI filters.
As of now its still not working - any additional help is much appreciated:
Description: The page cannot be displayed because an internal server error has occurred.
Error Code: 0x8007045a
Requested URL: http://localhost:80/CFIDE/administrator/index.cfm
Physical Path: C:\Inetpub\wwwroot\CFIDE\administrator\index.cfm
Coldfusion 7 on IIS 7 (vista)
Apr 23, 2007 11:57 PM|anilr|LINK
Aug 08, 2007 01:25 AM|tiberias77|LINK
Hey all, I'm getting this on a site that I'm trying to set up. I've tried setting up 127.0.0.1:82 to point to a root folder, and set up the root file (index.cfm). Strangely enough, the Coldfusion Administrator seems to work fine. Anyone else come to this?
Description: The requested page cannot be accessed because the related configuration data for the page is invalid.
Error Code: 0x80070005
Requested URL: http://127.0.0.1:81/index.cfm
Physical Path: C:\Users\Steve\TTDC\client files\MadScan\online\web\index.cfm
Logon User: Not yet determined
Logon Method: Not yet determined
Handler: Not yet determined
Config Error: Cannot read configuration file
Config File: \\?\C:\Users\Steve\TTDC\client files\MadScan\online\web\web.config
Server Version Information: Internet Information Services 7.0.
Aug 08, 2007 03:28 AM|qbernard|LINK
Aug 08, 2007 03:13 PM|tiberias77|LINK
Sorry- I don't understand the recommendation. Can someone explain in more depth what needs to be set and what the result/function of this is? I'm also not sure whether I should be looking in the Worker Processes screen, where there is nothing currently
entered, or the Application Pool screen, which currently has "Classic ASP..." and "DefaultAppPool."
My only experience w/ IIS is managing Coldfusion sites with v6 and this is a whole new experience for me. :-)
Thanks in advance for any additional help.
Aug 12, 2007 05:28 AM|qbernard|LINK
I'm referring on your 500.19 error where the config file can't be accessed. So you need to ensure the worker process id - the application pool identity (default is network service) has at least READ permissions on the resource path.
Aug 12, 2007 05:38 PM|tiberias77|LINK
Thanks for the continued help. Unfortunately, I just do not know my way around IIS enough that I can figure out how to make this change. Hand holding would be appreciated, thanks!!
Aug 13, 2007 10:30 AM|qbernard|LINK
Check if the application pool id - default network service has read permission at this path
Config File: \\?\C:\Users\Steve\TTDC\client files\MadScan\online\web\web.config
Sep 12, 2009 05:23 AM|samunplugged|LINK
I have recently posted the solution to HTTP 404.3 - Not Found error when installing ColdFusion on IIS7. The problem is most people don't look into documentation. Its rather simple:
Have fun with CF,
Coldfusion on IIS 7
Dec 03, 2009 04:32 AM|vijer|LINK
This link is the correct solution.
We all want a short "install doc" and this is it.
I have just set up my ColdFusion server on Vista Beta Build 5384 and cannot get to the configuration
page as .cfm is not configure in the MIME mappings.
"HTTP Error 404.3 - Not Found
Description: The page you are requesting cannot be served because of the
Multipurpose Internet Mail Extensions (MIME) map policy that is configured on
the Web server. The page you requested has a file name extension that is not
recognized, and therefore is not allowed. "
It seems that ColdFusion does not know how to setup IIS so I have to do that myself.
I have been able to open the IIS Manager and get to the "Handler Mapping"
and have even been able to put in the file extension but I do not know how
to point it to the ColdFusion server/service. Do I add it as a "Manage
Handler", a "Script Map", or a "Module Mapping"?
What do I have to do to add ColdFusion pages to MIME?
Aug 16, 2010 06:38 PM|ryfter|LINK
Thanks, I was looking for a resolution, and your manual did the trick! I really appreciate it.