7 Replies Latest reply on Sep 7, 2006 8:21 AM by natedog409

    updater 2 and Dreamweaver's Cold Fusion development server

    natedog409
      Hello,

      I am in the process of developing a Cold Fusion Web application for my university dean's office using...

      <cfobject type="COM" action="create" name="Chart" Class="Corda.Embedder">

      ...and I am receiving this error message...

      An exception occurred when instantiating a Com object.

      ...the Corda documentation states the following, and I agree with them that this is what I am experiencing and need to do...

      COM Corda Embedder (Windows)
      If you are using ColdFusion MX on Windows, be sure you have updated your server to the latest version using the ColdFusion MX Updater Release 1. This is available at http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx_updater.html. You will need to apply this update to fix a bug in ColdFusion MX that prevents it from accessing Window’s Component Object Model (COM).
      Other than that, you don’t need to do anything. The COM version of the Corda Embedder is installed automatically for you.

      ...I am running Windows XP Professional 2002 SP2, and the Cold Fusion Developer Server THAT COMES WITH Dreamweaver 8.0. The Cold Fusion server is an established server running several CF applications. The Corda product is also known to be running fine, as I am able to view my current projects in a browser.

      Server Details
      Server Product ColdFusion MX
      Version 7,0,0,91690
      Edition Developer
      Serial Number Developer
      Operating System Windows XP
      OS Version 5.1


      1) Am I missing something with instantiating the COM object?
      2) How can I tell if I need the Cold Fusion updater?
      3) Which updater version do I download (1 or 2) and for which server (MX, MX7, Special Dreamweaver version)?
      4) Where do I install the updater - since I am running the Cold Fusion Developer Server that comes with Dreamweaver, it is not located in the default C:\CFusionMX7 directory?

      Thank You Very Much For Your Time,

      Nathan
      Technology Support Analyst, Sr.
        • 1. Re: updater 2 and Dreamweaver's Cold Fusion development   server
          Level 7
          2) How can I tell if I need the Cold Fusion updater?
          Version 7,0,0,91690
          You are on Version 7MX, no updater. After the update you will have a
          version something like this.
          Version 7,0,1,xxxx OR Version 7,0,2,xxxx

          3) Which updater version do I download (1 or 2) and for which server
          (MX, MX7, Special Dreamweaver version)?
          You need to download and install at least updater 1 for MX 7 per the COM
          instructions, updater 2 (which by default includes updater 1 IIRC) could
          be even better, but has a small chance of doing something you don't want
          it to. One would have to read all the tech notes and make a decision.

          There is no "Special Dreamweaver" version, it is just the standard Free
          Development version anybody can download and install. "Serial Number
          Developer" And to turn this into a professional version all one has to
          do is purchase a license number an enter it into the administration
          panel. This converts a developer CF server to a Production CF server
          with no other downloading or installing necessary.

          4) Where do I install the updater - since I am running the Cold Fusion
          Developer Server that comes with Dreamweaver, it is not located in the
          default C:\CFusionMX7 directory?

          Most likely the installer will figure that out. If it does not, just
          provide the directory/file path to where your CF is installed when asked.

          HTH
          • 2. Re: updater 2 and Dreamweaver's Cold Fusion development server
            natedog409 Level 1
            Ian,

            Thanks for your reply. After trying to install the updater, when I am prompted by the question, "Where is ColdFusion MX 7 located?", and I try the following directories...

            C:\JRun4
            (This is the location of the single server created during installation.)

            C:\C:\Program Files\Macromedia
            (This is the installation directory for Macromedia Dreamweaver Studio 8. Each of the products in the suite have their own sub-folders within this directory.)

            ...I receive the following error...

            Unsupported Version
            This is not a valid version of ColdFusion MX 7.0.1 (Server Configuration) or it is unsupported by the updater. The installer cannot continue.

            Also, a clarification - I installed Cold Fusion (or Cold Fusion was installed automatically) during the Macromedia Studio 8 installation. I own the Developer Edition, which I acquired as an inclusion to my purchased version of Macromedia Studio 8.

            1) What is the root folder of my Cold Fusion MX 7 installation if I installed it from the Macromedia Studio 8 installation?

            Thanks Again,

            Nathan
            • 3. Re: updater 2 and Dreamweaver's Cold Fusion development   server
              Level 7
              You need to provide the path all the way down to the "cfide" folder. So
              you it is going to be something like this:

              C:\JRun4\servers\cfusion\cfusion.ear\cfusion.war\cfide

              I can't remember if you provide the cfide folder, or the folder
              containing the cfide folder. But it will tell you when you have it correct.
              • 4. Re: updater 2 and Dreamweaver's Cold Fusion development   server
                Level 7
                Also, a clarification - I installed Cold Fusion (or Cold Fusion was
                installed automatically) during the Macromedia Studio 8 installation. I
                own the Developer Edition, which I acquired as an inclusion to my
                purchased version of Macromedia Studio 8.

                Yes, I was just clarifying that the ColdFusion you received is just the
                Free Developer version that anybody can download from the
                www.ColdFusion.com | www.adobe.com\coldfusion site. They just bundled
                the download on your DreamWeaver installation to make it handy. This
                Developer version has been free to anybody for several years now.

                The point I was trying to make is that when you are looking for updates
                or whatnot on the adobe site, you just have a regular ColdFusion MX
                developer edition (which is just a regular production edition waiting a
                license to unlock its full potential) and all regular MX 7 upgrades,
                updater's and hot-fixes are going to apply to your copy.
                • 5. Re: updater 2 and Dreamweaver's Cold Fusion development server
                  natedog409 Level 1
                  Ian,

                  I am sorry. I continue to receive the same error message. I tried entering the following directories...

                  C:\Inetpub\wwwroot
                  C:\Inetpub\wwwroot\CFIDE
                  C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion
                  C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF
                  C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war

                  ...there is only one CFIDE folder within the two root directories mentioned in my previous posts and it is at: C:\Inetpub\wwwroot\CFIDE. Rather than to keep trying the large number of possible combinations of directories within the two root directories, is there any way you can provide me with the name of the file that the installer program is looking for? Keep in mind I have been stuck for two days now at a simple prompt asking me for the original installation directory.

                  Thank You,

                  Nathan
                  • 6. Re: updater 2 and Dreamweaver's Cold Fusion development   server
                    Level 7
                    Can you refresh my memory on what that prompt is asking for?

                    I've been updated for several weeks and just do not remember.
                    Fortunately my update was straight forward and without incident.
                    • 7. Re: updater 2 and Dreamweaver's Cold Fusion development server
                      natedog409 Level 1
                      The prompt is...

                      Please select the root folder of your Cold Fusion MX 7 installation; for example, C:\CFusionMX7

                      Where is ColdFusion MX 7 located?
                      (Defaults to: C:\CFusionMX7)