General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Error while trying to open a XFT-File

  • spyro

    Error while trying to open a XFT-File

    Participants 5
    Replies 6
    Last Activity 13 years, 5 months ago

    Hello again,

    When I try to open a XFT-File within a XMetaL-VS-Project or directly via the Windows Explorer I got this error message:

    [img]http://img31.imageshack.us/img31/8663/xm1.png[/img]

    Details from the windows event logger:

    [IMG]http://img31.imageshack.us/img31/5572/xm2.png[/img]

    (Translation: DCOM server failed to start, “c:/programme/xmetal 5/author/xmetal50.exe -embedding” is not a valid win32-application)

    This error seems quite similar to me because XM-debugging in VS was also impossible until I wrapped the path to the XMetaL DCOM debug server

    C:ProgrammeXMetaL 5DeveloperBinXMDbgSvr.exe “%1”

    in quotes:

    “C:ProgrammeXMetaL 5DeveloperBinXMDbgSvr.exe” “%1”

    Maybe this error was probably caused by a blank within the string. So the first thing I tried was quoting the path to the XMetaL-binary, too:

    [img]http://img31.imageshack.us/img31/4549/xm3.png[/img]

    After doing that and trying to open a XFT-File, XMetaL reported a “incompatible version” and changed the path back to the original version (without quotes).

    Running the installer again and choosing “Repair” doesn't work for me either…

    Greetings,
    Rupert Jung

    Reply

    Derek Read

    Reply to: Error while trying to open a XFT-File

    We're not sure why this is occurring but we have a suspicion that for some reason xmetal50.exe is not properly registered with the system.

    Please try the following:

    1. Open a command prompt (Start > Run > type “command” > Enter).
    2. Use the CD command to get to the folder where your xmetal50.exe is installed.
    3. Execute the following:
    xmetal50.exe /RegServer

    If that does not resolve the issue please contact XMetaL Support directly.

    Reply

    spyro

    Reply to: Error while trying to open a XFT-File

    Hello Derek,

    thanks for your quick answer (as always). I'm afraid this hasn't worked. Currently I've XMetaL 3 and XMetaL 5.0 installed. Could it possibly be that there are some interdependencies? In the registry there are many entries doubled with an additional “.1” at the end:

    [IMG]http://img26.imageshack.us/img26/8044/xmreg1.png[/img]
    [IMG]http://img25.imageshack.us/img25/3360/xmreg2.png[/img]

    If I select a XFT-Form in VS and then choose the “XFLayout.exe”-handler from XMetaL 3 in the the “Open with…”-Menu manually, the selectd form can be edited with the layout tool from XM3. When I choose the “XFTLayout.exe (Standard)”-entry (XM5) on the other hand, the “Unable to start XMetaL. Exiting…”-error appears.

    Rupert Jung

    Reply

    Derek Read

    Reply to: Error while trying to open a XFT-File

    Very likely this is the issue. I would not recommend having both installed on the same machine when xflayout.exe is being used. xflayout.exe launches XMetaL Author (or “XMetaL” for the 3.x and earlier releases) in order to retrieve information about properties, methods and objects defined. A particular xflayout.exe version that ships with XMetaL Developer really needs to be used with at least the same major version of XMetaL Author. You likely also have two copies of xflayout.exe installed, so it isn't clear which you are using (an old one included with XMetaL 3 and a new one included with XMetaL Developer 5.0).

    To correct this I would uninstall everything XMetaL-related and just install the 5.0 release of XMetaL Developer to work with XFT. If you need to continue to support XMetaL 3 users it would be best to continue development of their customization on a different machine and test it there. If you built something with 3.x it should work in 5.x but not vice-versa as some file formats have evolved (primarily CTM, TBR and XFT) and the 3.x release may raise errors when it sees a new file format it doesn't recognize.

    Reply

    Derek Read

    Reply to: Error while trying to open a XFT-File

    One more note. With our 4.x and 5.x releases whenever you attempt to install XMetaL Author the previous version is either upgrade or you are forced to uninstall it before continuing the installation of the new release.

    Our installers do not check for very old releases (1.x, 2.x or 3.x), which is why it is possible to install one of these old versions on the same machine as our 4.x and 5.x versions. For end users this was generally not an issue, but for developers it can be (as you have seen).

    Reply

    spyro

    Reply to: Error while trying to open a XFT-File

    Hi there,

    Now I deinstalled XM3 and XM5 (Dev.) completely. During the deinstallation process I got serveral error like this:

    [IMG]http://img145.imageshack.us/img145/7339/xmetaldeveloperditaedit.png[/img]

    Furthermore, I manually removed the remaining directories “%programfiles%softsquad”, “%programfiles%XMetaL 5” and “%appdata%softsquad” and serveral remaining registry under HKEY_CLASSES_ROOT.

    After that, I reinstalled XMetaL 5.0 Developer Edition. Now all these “.1”-registry keys are there as is again. The “Unable to start XMetaL. Exiting…”-error, too… I also tried to manually delete all “.1”-keys, but that didn't help.

    Greetings,
    Rupert Jung

    Reply

    Derek Read

    Reply to: Error while trying to open a XFT-File

    Please contact XMetaL Support. They have a tool that will remove all XMetaL-related entries in the registry for all XMetaL products from version 4.0 and up providing you with as close to a clean machine (with regards to our registry keys) as possible.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support