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?
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.
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):
*********************
1)
<isapiCgiRestriction>
…
…
<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
Extensions" />
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.
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.
Server Error in Application "Default Web Site"
HTTP Error 404.4 - Not Found
Description: The resource you are looking for does not have a module or handler associated with it. It cannot be handled and served.
Ok I've got it working now, ignore my plea for help above :)
There were a few catches;
getting the installer to run seems to require compatibility mode settings for 256 colour mode and disabling visual styles
coldfusion connectors won't install because IIS7 is too new, which means getting a copy of the jrun_iis6 dll's from an existing ColdFusion install
ensuring that the ColdFusion Wildcard Handler Mapping appears before the other ColdFusion Handler mappings, and that the Wildcard handler mapping has the requireAccess parameter set to "None" (couldn't see a way to do this in IIS Manager? I edited the
applicationHost.config file to do this)
Not the easiest install, but at least it does work in the end!
iambnnu
7 Posts
ColdFusion does not know how to setup IIS 7
Jul 06, 2006 09:22 PM|LINK
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?
iam bennu
iamARTevolutions
thomad
552 Posts
Re: ColdFusion does not know how to setup IIS 7
Jul 07, 2006 07:31 AM|LINK
Iam,
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.
Thomas
Group Program Manager
Internet Information Services
Microsoft Corp.
iambnnu
7 Posts
Re: ColdFusion does not know how to setup IIS 7
Jul 07, 2006 10:05 PM|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.
iam bennu
iamARTevolutions
iisray
22 Posts
Re: ColdFusion does not know how to setup IIS 7
Jul 08, 2006 01:05 AM|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):
*********************
1)
<isapiCgiRestriction>
…
…
<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 Extensions" />
</isapiCgiRestriction>
2)
<handlers>
…
…
<add 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" requireAccess="Script" />
<add name="AboMapperCustom-11742446" path="*.jws" verb="*" modules="IsapiModule" scriptProcessor="D:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" />
<add name="AboMapperCustom-11742447" path="*.cfm" verb="*" modules="IsapiModule" scriptProcessor="D:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" />
<add name="AboMapperCustom-11742448" path="*.cfml" verb="*" modules="IsapiModule" scriptProcessor="D:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" />
<add name="AboMapperCustom-11742449" path="*.cfc" verb="*" modules="IsapiModule" scriptProcessor="D:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" />
<add name="AboMapperCustom-11742450" path="*.cfr" verb="*" modules="IsapiModule" scriptProcessor="D:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" />
<add name="AboMapperCustom-11742451" path="*.cfswf" verb="*" modules="IsapiModule" scriptProcessor="D:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" />
…
…
</handlers>
*********************
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.
Ray
iambnnu
7 Posts
Re: ColdFusion does not know how to setup IIS 7
Jul 08, 2006 05:33 AM|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,
iam
iamARTevolutions
iambnnu
7 Posts
Re: ColdFusion does not know how to setup IIS 7
Jul 08, 2006 07:27 PM|LINK
Ray,
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?
iam
iamARTevolutions
qbernard
5016 Posts
MVP
Moderator
Re: ColdFusion does not know how to setup IIS 7
Jul 09, 2006 03:55 AM|LINK
It is located at %windir%/system32/inetsrv/
http://technet2.microsoft.com/WindowsServer/en/Library/796073df-269b-4040-9152-8557a4038a8a1033.mspx?mfr=true
Bernard Cheah
iambnnu
7 Posts
Re: ColdFusion does not know how to setup IIS 7
Jul 09, 2006 09:44 AM|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,
iam bennu
iamARTevolutions
noleaf
2 Posts
Re: ColdFusion does not know how to setup IIS 7
Jul 11, 2006 12:09 PM|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.
Server Error in Application "Default Web Site"
HTTP Error 404.4 - Not Found
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
Notification: ExecuteRequestHandler
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
Handler: AboMapperCustom-11742447
Most likely causes:
noleaf
2 Posts
Re: ColdFusion does not know how to setup IIS 7
Jul 12, 2006 04:40 AM|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!