Please help - Problem registering OCX Files

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stangonline.com

    Please help - Problem registering OCX Files

    Ok, im familiar with typical troubleshooting of this type on problem, but I
    do not do any programming myself. Im hoping you guys can help me with an
    install problem that I am having.

    I have an application that fails to register 2 .ocx files during
    installation. The OS is Windows Server 2003 running as a terminal server.
    I have since tried to install the same application in Windows 2000 Terminal
    server and it worked fine. SO im guessing some version of a .dll that these
    ..ocx files were dependent on has changed.

    How do I dertermine which files, if any are causing the trouble?

    I tried to manually register these files using regsvr32.exe, but it fails
    with a 0x80040200 error.

    The developer is not any help, as now he claims that his app has not been
    tested in 2003, which he originally said would work.

    Any help would be greatly appreciated.
    Jeff Foster
    jfoster .at. aasdifference.c om


  • Stephane Richard

    #2
    Re: Please help - Problem registering OCX Files

    My theory is that the OCX that the installation is trying to register
    already exists in Windows Server (or one of the intalled applications) with
    a newer version number as the one it is attempting to register.

    Usually (not sure from OS to OS however) you can ignore those as the
    application will simply try to use the one from the OS. (The problem that
    might occur is functionality conflict.

    A possible answer to this (may not work for all situation but it did work
    once or twice for me, is to change the name of the faulty OCX files so that
    they dont conflict with what's already existing. (some are dependant on the
    name of the OCX and will not work if changed, others seem to allow
    themselves to be renamed).

    If the OCX is one supplied by microsoft VB itself (or a 3rd party vendor
    Custom ActiveX control) then you might want to email the makers of the OCX
    with your situation and asking them if they know about this issue and how to
    go about registering it. In the installation script used you might want to
    add version checking when installing any or all DLL files and OCX it
    installs.

    --

    "Stangonline.co m" <info@stangonli ne.com> wrote in message
    news:_Hxlb.1787 9$Go5.254322@tw ister.tampabay. rr.com...[color=blue]
    > Ok, im familiar with typical troubleshooting of this type on problem, but[/color]
    I[color=blue]
    > do not do any programming myself. Im hoping you guys can help me with an
    > install problem that I am having.
    >
    > I have an application that fails to register 2 .ocx files during
    > installation. The OS is Windows Server 2003 running as a terminal server.
    > I have since tried to install the same application in Windows 2000[/color]
    Terminal[color=blue]
    > server and it worked fine. SO im guessing some version of a .dll that[/color]
    these[color=blue]
    > .ocx files were dependent on has changed.
    >
    > How do I dertermine which files, if any are causing the trouble?
    >
    > I tried to manually register these files using regsvr32.exe, but it fails
    > with a 0x80040200 error.
    >
    > The developer is not any help, as now he claims that his app has not been
    > tested in 2003, which he originally said would work.
    >
    > Any help would be greatly appreciated.
    > Jeff Foster
    > jfoster .at. aasdifference.c om
    >
    >[/color]


    Comment

    • Steve Gerrard

      #3
      Re: Please help - Problem registering OCX Files

      What is the message with the 0x80040200 error? Did the files get copied to the
      system32 folder? Were they already there? Does the program itself fail to run?

      I once had trouble with msbind.dll and the flex grid .ocx, and was able to
      "solve" the problem by making a separate installation that just installed those
      two files. Didn't ask why that should make a difference - didn't want to know.

      "Stangonline.co m" <info@stangonli ne.com> wrote in message
      news:_Hxlb.1787 9$Go5.254322@tw ister.tampabay. rr.com...[color=blue]
      > Ok, im familiar with typical troubleshooting of this type on problem, but I
      > do not do any programming myself. Im hoping you guys can help me with an
      > install problem that I am having.
      >
      > I have an application that fails to register 2 .ocx files during
      > installation. The OS is Windows Server 2003 running as a terminal server.
      > I have since tried to install the same application in Windows 2000 Terminal
      > server and it worked fine. SO im guessing some version of a .dll that these
      > .ocx files were dependent on has changed.
      >
      > How do I dertermine which files, if any are causing the trouble?
      >
      > I tried to manually register these files using regsvr32.exe, but it fails
      > with a 0x80040200 error.
      >
      > The developer is not any help, as now he claims that his app has not been
      > tested in 2003, which he originally said would work.
      >
      > Any help would be greatly appreciated.
      > Jeff Foster
      > jfoster .at. aasdifference.c om
      >
      >[/color]


      Comment

      • Stangonline.com

        #4
        Re: Please help - Problem registering OCX Files

        I've been working on a solution, to no avail. My best guess is that this
        ocx depends on mfc42.dll, as this is one of the dll files that setup tries
        to copy into the system32 folder. I believe that file protection in 2003
        server is preventing the installation of the older version of the .dll,
        causing the ocx not to register.

        Tried contacting who I think is the vendor, no response. The 2 files are
        cscmd32.ocx and cstext32.ocx.

        Thanks
        Jeff

        "Stephane Richard" <stephane.richa [email protected]> wrote in message
        news:LeFlb.1490 7$Vf7.9234@nwrd ny02.gnilink.ne t...[color=blue]
        > My theory is that the OCX that the installation is trying to register
        > already exists in Windows Server (or one of the intalled applications)[/color]
        with[color=blue]
        > a newer version number as the one it is attempting to register.
        >
        > Usually (not sure from OS to OS however) you can ignore those as the
        > application will simply try to use the one from the OS. (The problem that
        > might occur is functionality conflict.
        >
        > A possible answer to this (may not work for all situation but it did work
        > once or twice for me, is to change the name of the faulty OCX files so[/color]
        that[color=blue]
        > they dont conflict with what's already existing. (some are dependant on[/color]
        the[color=blue]
        > name of the OCX and will not work if changed, others seem to allow
        > themselves to be renamed).
        >
        > If the OCX is one supplied by microsoft VB itself (or a 3rd party vendor
        > Custom ActiveX control) then you might want to email the makers of the OCX
        > with your situation and asking them if they know about this issue and how[/color]
        to[color=blue]
        > go about registering it. In the installation script used you might want to
        > add version checking when installing any or all DLL files and OCX it
        > installs.
        >
        > --
        >
        > "Stangonline.co m" <info@stangonli ne.com> wrote in message
        > news:_Hxlb.1787 9$Go5.254322@tw ister.tampabay. rr.com...[color=green]
        > > Ok, im familiar with typical troubleshooting of this type on problem,[/color][/color]
        but[color=blue]
        > I[color=green]
        > > do not do any programming myself. Im hoping you guys can help me with[/color][/color]
        an[color=blue][color=green]
        > > install problem that I am having.
        > >
        > > I have an application that fails to register 2 .ocx files during
        > > installation. The OS is Windows Server 2003 running as a terminal[/color][/color]
        server.[color=blue][color=green]
        > > I have since tried to install the same application in Windows 2000[/color]
        > Terminal[color=green]
        > > server and it worked fine. SO im guessing some version of a .dll that[/color]
        > these[color=green]
        > > .ocx files were dependent on has changed.
        > >
        > > How do I dertermine which files, if any are causing the trouble?
        > >
        > > I tried to manually register these files using regsvr32.exe, but it[/color][/color]
        fails[color=blue][color=green]
        > > with a 0x80040200 error.
        > >
        > > The developer is not any help, as now he claims that his app has not[/color][/color]
        been[color=blue][color=green]
        > > tested in 2003, which he originally said would work.
        > >
        > > Any help would be greatly appreciated.
        > > Jeff Foster
        > > jfoster .at. aasdifference.c om
        > >
        > >[/color]
        >
        >
        >[/color]


        Comment

        Working...