4 Replies Latest reply on Jun 24, 2018 6:47 AM by SharedDynamics

    Upgraded from CF10 to CF11 error: the related configuration data for the page is invalid.

    BalddogRobin Level 1

      Anyone having trouble with CF11 caching CF10 files when they upgraded?  Where do I change the settings to the ColdFusion 11 directory rather than ColdFusion 10?

       

      HTTP Error 500.19 - Internal Server Error

      The requested page cannot be accessed because the related configuration data for the page is invalid.

       

      ModuleIIS Web Core
      NotificationBeginRequest
      HandlerNot yet determined
      Error Code0x80070003
      Config ErrorCannot read configuration file
      Config File\\?\C:\ColdFusion10\cfusion\wwwroot\ipmcenters_org\web.config
        • 1. Re: Upgraded from CF10 to CF11 error: the related configuration data for the page is invalid.
          Carl Von Stetten Adobe Community Professional & MVP

          When you were on ColdFusion 10, were you serving content out of ColdFusion's web root (\ColdFusion10\cfusion\wwwroot\...)?  That appears to be the case based on the error above.  If you are using IIS, you should not be serving sites out of ColdFusion's web root.  If you have to, use IIS's web root (C:\inetpub\wwwroot), although a best practice is to put your web-accessible files on a completely different drive from your OS (and ColdFusion should be on it's own separate drive).  So here is what I do (based on the various ColdFusion lockdown guides:

           

          C: - OS Files

          D: - ColdFusion installation (D:\ColdFusion10\...)

          E: - Web Sites (E:\WebSites\site1, E:\WebSites\site2, etc.)

           

          The web.config is an IIS configuration file (and the HTTP 500.19 error is coming from IIS).  This indicates your IIS site configuration is probably at fault.  You might want to strip things down and rebuild the website per the CF11 lockdown guide, and rebuild the site in IIS accordingly.

          • 2. Re: Upgraded from CF10 to CF11 error: the related configuration data for the page is invalid.
            BalddogRobin Level 1

            I'm not even clear how the content was being served out of CF's web root.  I thought it was setup as IIS.  An Adobe developer removed CF10 and installed CF11 on my machine.  I'm having to fix the mess so that I can continue working.  Sigh.

             

            Thank you for your help!

            • 3. Re: Upgraded from CF10 to CF11 error: the related configuration data for the page is invalid.
              Carl Von Stetten Adobe Community Professional & MVP

              It probably evolved over time.  My guess is that development was started using ColdFusion's built-in server, then later the site was connected to IIS without moving the files to a different location.

              • 4. Re: Upgraded from CF10 to CF11 error: the related configuration data for the page is invalid.
                SharedDynamics

                So I bashed my head against the wall for a while on this.  Happening in both CF 2016 and 2018.

                 

                Then (in windows) it went to C;\wwwroot\inetpub\web.config and all the file handlers were referencing the C: drive as the installation when it was actually the H: drive.  Changed it and we were back in business.

                 

                Perhaps the Windows installer for CF has the C: drive hardcoded in the the installer package:

                 

                <add name="cfmHandler" path="*.cfm" verb="*" modules="IsapiModule" scriptProcessor="H:\ColdFusion2016\config\wsconfig\1\isapi_redirect.dll" resourceType="Either" requireAccess="Script" preCondition="bitness64" responseBufferLimit="0" />

                            <add name="cfmlHandler" path="*.cfml" verb="*" modules="IsapiModule" scriptProcessor="H:\ColdFusion2016\config\wsconfig\1\isapi_redirect.dll" resourceType="Either" requireAccess="Script" preCondition="bitness64" responseBufferLimit="0" />

                            <add name="cfcHandler" path="*.cfc" verb="*" modules="IsapiModule" scriptProcessor="H:\ColdFusion2016\config\wsconfig\1\isapi_redirect.dll" resourceType="Either" requireAccess="Script" preCondition="bitness64" responseBufferLimit="0" />

                            <add name="cfrHandler" path="*.cfr" verb="*" modules="IsapiModule" scriptProcessor="H:\ColdFusion2016\config\wsconfig\1\isapi_redirect.dll" resourceType="Either" requireAccess="Script" preCondition="bitness64" responseBufferLimit="0" />

                            <add name="cfswfHandler" path="*.cfswf" verb="*" modules="IsapiModule" scriptProcessor="H:\ColdFusion2016\config\wsconfig\1\isapi_redirect.dll" resourceType="Either" requireAccess="Script" preCondition="bitness64" responseBufferLimit="0" />