WebTier

edited May 2009 in Server
Hi!

Delphi 2009.
RB 11.04

When i attempt to compile my webtier i get this error:
[DCC Fatal Error] wmMain.pas(6): F2051 Unit rsXHTMLDevice was compiled with
a different version of ppTypes.ppVersion
This webtier is the same as your demo-webtier.

Any suggestion to solve this?

Best regards,
Terje

Comments

  • edited May 2009
    This error indicates that you either have a corrupt install of RB or you
    modified the interface section of an RB source code unit. Try following
    these steps for cleaning up a corrupt install...

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



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

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2009
    I have spent nearly two hours doing this cleanup. But i get exactly the same
    error when i attempt to compile myWebTier. I have not modified any interface
    sections.

    [DCC Fatal Error] wmMain.pas(6): F2051 Unit rsXHTMLDevice was compiled with
    a different version of ppTypes.ppVersion

    Please advise further steps to solve this?

    Mvh, Terje



  • edited May 2009
    Can you compile /any/ of the WebTier demos?

    Can you compile any of the Server demos or any of the Client demos?

    If you create a new project and place the TrsWebTier on it and try to
    compile, what happens?




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

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2009
    Hi!

    Compiled myWebTier.dll
    [DCC Fatal Error] wmMain.pas(6): F2051 Unit rsXHTMLDevice was compiled with
    a different version of ppTypes.ppVersion

    Compiled Report.dll
    [DCC Fatal Error] rsWebAdapterPDF.pas(14): F2051 Unit rsXHTMLDevice was
    compiled with a different version of ppTypes.ppVersion

    Compiled rbWebDebug.exe.
    SAME ERROR..

    Compiled rbServer.exe.
    OK

    Compiled rbClientReport.exe.
    OK

    Created a new project with a TrsWebTier on it.
    [DCC Fatal Error] Unit3.pas(7): F2051 Unit rsXHTMLDevice was compiled with a
    different version of ppTypes.ppVersion


    Hope this help you find the error.

    Best regards,
    Terje




  • edited May 2009
    I tested on two different machines. Installed RB Server Edition 11.04 for
    D2009. Compiled the WebTier demos with two different Delphi library path
    configs.

    1. RBuilder\Lib
    RBServer\Lib

    2. RBuilder\Source
    RBuilder\Lib
    RBServer\Lib

    Both of the above worked.

    Check your Delphi library path and try both of the above. They both should
    work.

    If you have another machine you can use for a test, or a virtual machine,
    then try that as well.

    I still think you have a corrupt installation - an old RB .pas or .dcu file
    in other folder that is included in your Delphi library patch.


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

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2009
    Thanks,

    I had an old ppTypes.dcu in delphi\lib. Sorry for any
    inconvenience.

    Best regards,
    Terje




This discussion has been closed.