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

File not found error when running the demo

edited September 2002 in General
Hi,

I try to run the first demo from the trial version for D7 (demo.dpr).
When I compile, I get :

[Fatal Error] File not found: 'c:\program
files\borland\delphi7\RBuilder\Lib\ppProd.pas'

What do I miss ?

Thanks,

Patrice.

Comments

  • edited September 2002
    I've installed RB 7 for D7 trial to test this. It worked fine. Make sure
    that the Delphi Tools | Environment Option | Library | Library Path has an
    entry to your installation directory for RBuilder\Lib. I tested both the
    default installation directory and a custom installation directory when
    running the installation program.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited September 2002
    Jim,

    The path was good in the environment options.
    I copied the whole Lib dir to another place and added this path in the Lib
    paths but the error message is the same.
    The ppProd.dcu file is well in the $(DELPHI)\RBuilder\Lib directory, not the
    ppProd.pas of the error message, but it should work.
    I tested another demo, but I get the error with another .pas file.
    I have already reinstalled RB7.

    I have tried to make a new project.
    I put a TppReport on a form and tried to compile :
    [Fatal Error] File not found: 'c:\program
    files\borland\delphi7\RBuilder\Lib\ppComm.pas'
    It sounds like a classical path problem, but I ran a default setup.

    Any other idea ?

    Patrice.

  • edited September 2002
    Jim,

    I have installed RB7 in a custom directory and it does not work :
    [Fatal Error] File not found: 'c:\RBuilder\Lib\ppCom.pas'

    Something strange :
    when I go in the library path list and try to make the path to RBuilder\Lib
    the first entry in the list, I receive this message :
    [Fatal Error] File not found: 'c:\program
    files\borland\delphi7\Projects\Bpl\ppComm.pas'
    wich is the path that was just before the RB path before I moved it to the
    first place.
    Isn't it a Delphi bug ?

    I am very disapointed because I have to test RB with Intraweb before I can
    buy RB7.

    Patrice.

  • edited September 2002
    That certainly sounds strange. It could very well be a Delphi problem. Have
    you tried installing into Delphi 5 or 6? Try uninstalling/reinstalling RB
    completely. We have some detailed uninstallation instructions (see below)
    which will guarantee that all traces of RB are removed from your machine.
    Then make sure you can run Delphi 7 without RB without any errors. Can you
    install and run with any other 3rd party tools? Is Delphi 7 still raising
    an error when going into the library path settings dialog? I know it takes a
    long time, but try reinstalling Delphi 7 as well.


    Cheers,

    Jim Bennett
    Digital Metaphors

    --------------------------------------------
    Article: Cleaning up a Corrupt Installation
    --------------------------------------------

    If you have been advised by Digital Metaphors technical support that you may
    have a corrupt installation, or if you are having difficulty installing,
    compiling or running applications after a ReportBuilder install, then it may
    be necessary to manually remove all ReportBuilder files from your system.
    Corrupt installations usually result when you are installing over a previous
    version of ReportBuilder which was not installed into the default directory,
    which was recompiled from the source, or when ReportBuilder files were
    manually moved from the default install location. Cleaning up a corrupt
    installation, consists of locating all ReportBuilder related files, and
    deleting them from your system. The first step is to use the uninstall
    program to remove as much of ReportBuilder as possible.


    Run the uninstall program

    1. Exit Delphi, and all other applications. You should have no applications
    running except the uninstall, otherwise you may lose some of your work.

    2. Select Start | Settings | Control Panel from your Windows desktop.

    3. Double-click the Add/Remove programs icon.

    4. Locate the version of ReportBuilder you wish uninstall and double-click
    it.

    5. The first page of the Uninstall Wizard allows you to choose between an
    Automatic or Custom uninstall. Choose Custom and click the Next button.

    6. Click the Select All button, then the Next button. Repeat these steps
    until you reach the last page of the wizard.

    7. Click the Finish button. All of the items you selected will be removed
    from the system.

    8. After all the ReportBuilder files are removed, you may be prompted to
    reboot the system. If this is the case, reboot the system.


    Delete the ReportBuilder root directory (and all subdirectories)

    1. Using the Windows Explorer, locate the ReportBuilder root directory. The
    default directory is:

    C:\Program Files\Borland\DelphiX\RBuilder

    2. Once you have located this directory, inspect it. If you have any custom
    work in this directory which you would like to keep, move it to another
    directory.

    3. Delete the ReportBuilder root directory.


    Delete all remaining ReportBuilder files

    1. Using the Windows Explorer, search the entire hard drive for all
    occurrences of:

    dclRB*.bpl
    dclRB*.dcp
    rb*.bpl
    rb*.dcp

    2. Delete any occurrences which correspond to the version you are removing.
    All packages are named with the convention NN, where the first number
    is the ReportBuilder version and the second number is the Delphi version.
    Thus, a typical package name for Delphi 5 would be rbRCL45.bpl. The same
    package for Delphi 4 would be: rbRCL44.bpl. Check Installing ReportBuilder
    for a list of the packages associated with each version.

    3. Using the Windows Explorer, search your hard drive for all occurrences
    of:

    pp*.*
    da*.*
    ra*.*

    4. These are the prefixes used by individual ReportBuilder units. 'pp' is
    used for ReportBuilder units, 'da' is used for DADE units, and 'ra' is used
    for RAP units. Depending on which ReportBuilder you have (Standard,
    Professional or Enterprise) you may not have all of these unit types.



    Additional Notes

    1. Never have Delphi running when installing ReportBuilder.

    2. All ReportBuilder related files should be stored in the root directory
    $(DELPHI)\RBuilder.

    3. All ReportBuilder run-time packages should be stored in the
    Windows\System directory.

    4. You should never have ReportBuilder files in Delphi\Lib, Delphi\Bin or
    Delphi\Projects\Bpl.

    --
    Tech Support mailto:support@digital-metaphors.com
    Digital Metaphors http://www.digital-metaphors.com


  • edited September 2002
    Jim,

    It is the trial version of RB7 that I have, and it does not appear in the
    list of installed applications in the control panel/add-remove programs.

    Patrice.

  • edited September 2002
    I installed the trial edition of RB 7 and it does show up in the list of
    installed programs in the windows control panel. When I choose to
    uninstall, it launches the uninstallation script. I am using Win 2K Pro and
    Win XP Pro.

    You'll have to manually uninstall the ReportBuilder packages and source
    files as shown in the article.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.