« Previous Next »

Not Answered Thread: ColdFusion does not know how to setup IIS 7

Last post 12-03-2009 12:32 AM by vijer. 28 replies.

Average Rating Rate It (5)

RSS

Page 1 of 2 (29 items) 1 2 Next >

Sort Posts:

  • 07-06-2006, 5:22 PM

    • iambnnu
    • Not Ranked
    • Joined on 07-06-2006, 9:15 PM
    • Dallas Texas
    • Posts 7

    ColdFusion does not know how to setup IIS 7

     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?


    iam bennu
    iam bennu

    iamARTevolutions
  • 07-07-2006, 3:31 AM In reply to

    • thomad
    • Top 25 Contributor
    • Joined on 08-20-2002, 11:28 AM
    • Redmond
    • Posts 503

    Re: ColdFusion does not know how to setup IIS 7

    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

     

    Thomas Deml
    Program Manager
    Internet Information Services
    Microsoft Corp.
  • 07-07-2006, 6:05 PM In reply to

    • iambnnu
    • Not Ranked
    • Joined on 07-06-2006, 9:15 PM
    • Dallas Texas
    • Posts 7

    Re: ColdFusion does not know how to setup IIS 7

    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

    iam bennu

    iamARTevolutions
  • 07-07-2006, 9:05 PM In reply to

    • iisray
    • Top 500 Contributor
    • Joined on 07-08-2006, 12:44 AM
    • Posts 22

    Re: ColdFusion does not know how to setup IIS 7

    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

  • 07-08-2006, 1:33 AM In reply to

    • iambnnu
    • Not Ranked
    • Joined on 07-06-2006, 9:15 PM
    • Dallas Texas
    • Posts 7

    Re: ColdFusion does not know how to setup IIS 7

    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

    iam bennu

    iamARTevolutions
  • 07-08-2006, 3:27 PM In reply to

    • iambnnu
    • Not Ranked
    • Joined on 07-06-2006, 9:15 PM
    • Dallas Texas
    • Posts 7

    Re: ColdFusion does not know how to setup IIS 7

    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

    iam bennu

    iamARTevolutions
  • 07-08-2006, 11:55 PM In reply to

    • Bernard
    • Top 50 Contributor
    • Joined on 05-24-2006, 4:30 AM
    • Malaysia
    • Posts 291

    Re: ColdFusion does not know how to setup IIS 7

  • 07-09-2006, 5:44 AM In reply to

    • iambnnu
    • Not Ranked
    • Joined on 07-06-2006, 9:15 PM
    • Dallas Texas
    • Posts 7

    Re: ColdFusion does not know how to setup IIS 7

    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

    iam bennu

    iamARTevolutions
  • 07-11-2006, 8:09 AM In reply to

    • noleaf
    • Not Ranked
    • Joined on 07-11-2006, 12:01 PM
    • Posts 2

    Re: ColdFusion does not know how to setup IIS 7

    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:

    • The file extension for the requested URL does not have a module or handler configured to execute the request on the IIS server.

  • 07-12-2006, 12:40 AM In reply to

    • noleaf
    • Not Ranked
    • Joined on 07-11-2006, 12:01 PM
    • Posts 2

    Re: ColdFusion does not know how to setup IIS 7

    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!

  • 07-14-2006, 8:48 AM In reply to

    • iambnnu
    • Not Ranked
    • Joined on 07-06-2006, 9:15 PM
    • Dallas Texas
    • Posts 7

    Re: ColdFusion does not know how to setup IIS 7

    Excellent!!!

    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.

    My hero,

    iam

    iam bennu

    iamARTevolutions
  • 11-19-2006, 8:51 PM In reply to

    • JoshPR
    • Not Ranked
    • Joined on 11-20-2006, 1:50 AM
    • ST Louis, MO
    • Posts 5

    Re: ColdFusion does not know how to setup IIS 7

    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.

     

    Thanks,

    ~ coding is life ~
  • 11-20-2006, 2:22 AM In reply to

    • bills
    • Top 25 Contributor
    • Joined on 02-03-2006, 5:33 PM
    • Redmond, WA
    • Posts 433

    Re: ColdFusion does not know how to setup IIS 7

    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:  http://www.iis.net/default.aspx?tabid=2&subtabid=25&i=943

    bill

    ~~~~~~~~~~~~~~~~~~~~~~~~
    Bill Staples
    Product Unit Manager, IIS
    blog: http://blogs.iis.net/bills
  • 11-20-2006, 10:41 AM In reply to

    • JoshPR
    • Not Ranked
    • Joined on 11-20-2006, 1:50 AM
    • ST Louis, MO
    • Posts 5

    Re: ColdFusion does not know how to setup IIS 7

    Cool!

     So I add this component in first then do the CF install and it should add all the appropriate mappings, etc.. during that installation?

     

     

    ~ coding is life ~
  • 11-20-2006, 11:32 AM In reply to

    • bills
    • Top 25 Contributor
    • Joined on 02-03-2006, 5:33 PM
    • Redmond, WA
    • Posts 433

    Re: ColdFusion does not know how to setup IIS 7

    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.

    bill

    ~~~~~~~~~~~~~~~~~~~~~~~~
    Bill Staples
    Product Unit Manager, IIS
    blog: http://blogs.iis.net/bills
Page 1 of 2 (29 items) 1 2 Next >
Microsoft Communities