Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

ppChrtUI was compiled with a different version of TeeConst.TeeMsg_Version

edited January 2010 in General
Hi

11.07 installed into Delphi 2007 without any issue, I installed Report
Builder, moved the Advantage files to the lib folder and installed them, my
application compiles OK on D2007 and the whole process only took a few
minutes.

However I have now spent 6 hours trying to resolve the issue below trying to
install 11.07 into Delphi 2010 and I would appreciate any advice you could
give.

F2051 Unit ppChrtUI was compiled with a different version of
TeeConst.TeeMsg_Version

Usually these sort of errors occur when there is an older copy of the
offending file somewhere in the path used to build the application but I can
only find those files I would have expected, in the locations expected.

I have on a number of times now uninstalled 11.07 for Delphi 2010, checked
the machine for stray files including windows\sysWOW64, Public Documents\RAD
Studio\7.0\bpl and dcp. After uninstall I have rebooted the machine.

I have run the separate TeeChart Installer.

Any advice gratefully appreciated as i have run out of ideas and locations
to check.

Regards

Philip L Jackson

Env Delphi 2010 Profesional
Report Builder 11.07 server
Tee Chart Pro 8.06 with source
Advantage 8.1

Comments

  • edited January 2010
    Hi Philip,

    1. When do you receive this error? Does this occur when loading Delphi
    2010?

    2. If you run the manual RBTeePackageBuilder application are any errors
    given? If not, check the date on the ppChrtUI.dcu file in your library path
    to be sure it has just been created.

    3. Do you by chance have ($BDS)\Lib\debug in your library path? In the
    past, I've noticed when you install a Pro version of TeeChart, the installer
    only moves the old files from the \Lib directory however the old files
    remain in the \Lib\debug directory. In any case, I would suggest removing
    all old TeeChart files from your machine if you are using the Pro version.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2010
    Hi Philip,

    Researching this further, I found that on my machine, there were in fact
    TeeChart files located in the $(BDS)\Lib\... directory. My guess is that
    these files were re-added during one of the many updates CodeGear provided
    in the past months.

    These file are the issue. To fix the problem, you need to first reinstall
    TeeChart 8.06 being sure to select "yes" when it asks to move the old
    TeeChart files to a backup directory. Next you will need to either
    reinstall ReportBuilder or run the RBTeePackageBuilder.exe file manually.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2010
    I'm having a similar problem with D2007 & RB 11.06, "Unit raParser was
    compiled with a different version of ppRTTI.TraRTTIClassRegistry." I find
    but one instance of ppRTTI.dcu on the system, dated today. raParser is not
    explicitly used by my system; I think it may be used by raCodMod. I'm using
    raRegisterFunction in my unit, which I believe requires raCodMod, raIDE, and
    raFunc.



  • edited January 2010
    Hi Robert,

    This error indicates that you have an old file (.dcu) on your machine
    somewhere that is being used when compiling your project. Since we do not
    provide the
    source to RAP, you need to be absolutely certain that you are not using an
    older ra*.dcu file (or any other old RB file/package) when compiling. As a
    test, try changing your library path to RBuilder\Source\... and see if that
    helps the problem.

    If you still get the error, I recommend performing a corrupt install cleanup
    and re-install ReportBuilder.

    http://www.digital-metaphors.com/rbWiki/General/Installation/Cleaning_Up_a_Corrupt_Install

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2010
    Acutally, I traced the problem to having RBuilder\Source in either the
    project's search path or the Delphi Library path - which allowed the
    compiler to rebuild the units to which I do have the source. When the units
    get rebuilt, there's a problem if you're using RAP. Fortunately, I hadn't
    changed anything in the RB source, so using the original DCUs is OK.
    Removing the references to Source in the paths, and removing the new DCUs I
    had created, fixed the problem.

    But I'm not sure what I would've done if I had to make changes to the
    source...




  • edited January 2010
    Hi Robert,

    If I understand correctly, if your library path is set to \RBuilder\Source,
    you are unable to compile, but if you set it to \RBuilder\Lib you are? If
    you set the path to Source and try to run the RAP demo located in the
    \Demos\0. RAP\1. Main\.. directory are you able to compile? In my quick
    testing with RB 11.07, I was able to do so.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2010

    I can compile with RBuilder\Source in my path for RB 11.06 and RB 11.07.

    This error indicates that you either have a corrupt installation or you
    modified the Interface section of a source code unit.




    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited January 2010
    I can compile in any case - I can't BUILD with the settings I mentioned.
    Sorry I wasn't clear on that.


  • edited January 2010
    I don't understand the difference between compile and build. But in any
    case, there are no known issues with either. You either have a corrupt
    installation or you have modified the Interface section of an RB source
    unit. :)


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.