19 Replies Latest reply: Oct 28, 2014 3:08 PM by DanP RSS

    CF10 - Update 14 - 404 Error

    DanP Community Member

      After installing Update 14 in CF10 I can't reach my CF administrator page (or any .cfm content).  When trying to reach administrator at http://127.0.0.1/CFIDE/administrator/index.cfm the server reports a 404 error. When trying to display other .cfm content, I get a 400 error.

       

      I've used the web connector to remove and reinstall the connector to the IIS server, but that didn't help.

       

      Any ideas?

        • 1. Re: CF10 - Update 14 - 404 Error
          WolfShade Community Member

          What web server are you using in conjunction with CF?  If you're using the built-in web server (TOMCAT), then don't forget to add the port number to the URL.

           

          Or are you using IIS or Apache?

           

          ^_^

          • 2. Re: CF10 - Update 14 - 404 Error
            DanP Community Member

            Using IIS.  One other item I forgot to include in my OP.  Additional error detail indicates Error Code 0x80070002 (from IIS).  This seems to relate to handler mapping in IIS.  Are there supposed to be .cfm handler mappings? 

            • 3. Re: CF10 - Update 14 - 404 Error
              WolfShade Community Member

              Hopefully someone else can answer that.  I've never used CF with IIS.. it's always been the built-in web server, until recently when I tried setting up Apache on my dev system.

               

              ^_^

              • 4. Re: CF10 - Update 14 - 404 Error
                Anit Kumar Panda Employee Hosts

                Can you ensure that the handlers are added for cfm, cfml, cfr, cfswf, cfc? Are the handlers available on the server level or site level? Can you share a screenshot of the error message.


                Regards,

                Anit Kumar

                • 5. Re: CF10 - Update 14 - 404 Error
                  DanP Community Member

                  Here is a screen shot of the error

                   

                  Screen Shot 2014-10-28 at 11.37.54 AM.png

                   

                  Here is a screen shot of the web connector state:

                   

                  Screen Shot 2014-10-28 at 11.39.45 AM.png

                  Here is a screen shot of the relevant part of the global handler settings.  Site-level handlers are lack CF handlers.

                   

                  Screen Shot 2014-10-28 at 11.45.39 AM.png

                  • 6. Re: CF10 - Update 14 - 404 Error
                    DanP Community Member

                    OK, I added a *.cfm handler to the global handler mappings, which eliminated the 404.3 error.  But now I have a new (500) error, as reflected in the screenshot below:

                     

                    Screen Shot 2014-10-28 at 12.13.08 PM.png

                    • 7. Re: CF10 - Update 14 - 404 Error
                      WolfShade Community Member

                      Should probably add more than just .cfm - .cfc, and everything else that CF uses.

                      • 8. Re: CF10 - Update 14 - 404 Error
                        Anit Kumar Panda Employee Hosts

                        Firstly, you need all of them. Secondly, can you ensure that CF and IIS (App pool) are running under same bitness.

                         

                        Regards,

                        Anit Kumar

                        • 9. Re: CF10 - Update 14 - 404 Error
                          DanP Community Member

                          I'll try that.  I thought maybe I could wait to do that until I had .cfm working, but you're right, there may be some dependencies arising from the absence of the other handlers.

                          • 10. Re: CF10 - Update 14 - 404 Error
                            DanP Community Member

                            I've added CF handlers as reflected on the screen shot be low.  They all point to C:\ColdFusion10\config\wsconfig\1\isapi_redirect.dll.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                 Screen Shot 2014-10-28 at 12.26.47 PM.png                       

                            Adding the handlers did not resolve the 500 error. Everything in the IIS Applications Pool seems to be running 64-bit. How do I check which bitness CF is?

                            • 11. Re: CF10 - Update 14 - 404 Error
                              Anit Kumar Panda Employee Hosts

                              When you launch "web server connector tool" as administrator, do you see "Configure 32 bit webserver " after licking on the "Add" button? If you see one, then CF is running as 64-bit.

                               

                              Also, what is the status of ""Enable 32-bit Applications"" in App pool under IIS. You can find it within "Advanced Settings". If it is set to "False", then IIS website is running as 64-bit.

                               

                              Regards,

                              Anit Kumar

                              • 12. Re: CF10 - Update 14 - 404 Error
                                DanP Community Member

                                Yes, when adding a server via the web server connector tool one of the options (unclicked) is Configure 32-bit server, so I assume CF is running as 64-bit.  I previously checked all of the apps in the App pool and they all have 32-bit marked False, indicating that they too are running 64-bit.

                                • 13. Re: CF10 - Update 14 - 404 Error
                                  Anit Kumar Panda Employee Hosts

                                  Have you applied Lockdown Guide for ColdFusion?

                                   

                                  Regards,

                                  Anit Kumar

                                  • 14. Re: CF10 - Update 14 - 404 Error
                                    DanP Community Member

                                    No, I confess that I don't even know what that is.

                                    • 15. Re: CF10 - Update 14 - 404 Error
                                      Anit Kumar Panda Employee Hosts

                                      Here is what you need to do:-

                                       

                                      1. Delete all the handlers you have created manually.
                                      2. Launch "web server connector tool" as administrator and remove all the connectors
                                      3. Ensure that, no CF entry is left within IIS (such as handlers etc)
                                      4. Launch "web server connector tool" as administrator and create the connector to for the ColdFusion admin site. Don't create it with "All Sites"

                                       

                                      Share the result.

                                       

                                      Regards,

                                      Anit Kumar

                                      • 16. Re: CF10 - Update 14 - 404 Error
                                        DanP Community Member

                                        I have three sites which need CF functionality.  When you say "create the connector to for the ColdFusion admin site", do you mean just pick one of those three sites as the "ColdFusion admin site"?  In other words, there is no choice in the web connector configurator for a "ColdFusion admin site".

                                        • 17. Re: CF10 - Update 14 - 404 Error
                                          Anit Kumar Panda Employee Hosts

                                          I should have been more clear. Yes, what I meant, is, after deleting all the handlers (manually added by you). Create connectors with individual sites and not "All Sites"

                                           

                                          To start with, you can create the connector to the ColdFusion admin site.

                                           

                                          Regards,

                                          Anit Kumar

                                          • 18. Re: CF10 - Update 14 - 404 Error
                                            DanP Community Member

                                            OK, I think I understand, and sorry to appear dense, but I remain confused by your reference to "the ColdFusion admin site".  None of the options in the web connection configurator are "ColdFusion admin site".  The options are the 4 different web sites that I have previously created on the IIS server.

                                             

                                            I think what you are saying though is to create a separate connection for each of those web sites, which I will do.

                                            • 19. Re: CF10 - Update 14 - 404 Error
                                              DanP Community Member

                                              OK, I did the first site.  The notations below appeared in the DOS box. The web connection configurator shows the connector as installed, and there are CF handlers installed in the handler mappings for the affected site. However, now, instead of a 500 error when trying to reach the administrator, I get one that says "Service Temporary Unavailable! The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later." If I try to reach a cfm page on the site I get an error that says "The service is unavailable".

                                               

                                               

                                              ERROR ( message:Cannot find requested collection element. )

                                               

                                              ERROR ( message:Cannot find requested collection element. )

                                               

                                              ERROR ( message:Cannot find requested collection element. )

                                               

                                              ERROR ( message:Cannot find requested collection element. )

                                               

                                              ERROR ( message:Cannot find requested collection element. )

                                               

                                              ERROR ( message:Cannot find requested collection element. )

                                               

                                              Applied configuration changes to section "system.webServer/handlers" for "MACHIN

                                              E/WEBROOT/APPHOST" at configuration commit path "MACHINE/WEBROOT/APPHOST"

                                               

                                              Applied configuration changes to section "system.webServer/handlers" for "MACHIN

                                              E/WEBROOT/APPHOST" at configuration commit path "MACHINE/WEBROOT/APPHOST"

                                               

                                              Applied configuration changes to section "system.webServer/handlers" for "MACHIN

                                              E/WEBROOT/APPHOST" at configuration commit path "MACHINE/WEBROOT/APPHOST"

                                               

                                              Applied configuration changes to section "system.webServer/handlers" for "MACHIN

                                              E/WEBROOT/APPHOST" at configuration commit path "MACHINE/WEBROOT/APPHOST"

                                               

                                              Applied configuration changes to section "system.webServer/handlers" for "MACHIN

                                              E/WEBROOT/APPHOST" at configuration commit path "MACHINE/WEBROOT/APPHOST"

                                               

                                              Applied configuration changes to section "system.webServer/handlers" for "MACHIN

                                              E/WEBROOT/APPHOST" at configuration commit path "MACHINE/WEBROOT/APPHOST"