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

D6 RB7.02 Access violation

edited May 2003 in General
Hello DM

I'm using NT4 sp6, Delphi 6 pro update 2 and
RB 7.02, which I've just installed.

I keep getting access violations.

Just building the second tutorial example: rbRWProj, when I try to
open the (only) form: frmViaReportWizard I get:

'Access violation at address 00279EBC in module 'designide60.bpl'.
Read of address 00000000'

When I then go on to open the TppReport component in design view I get
another error, exactly the same, although the editor does open.

I previously had RB4 installed for D3 and was hoping to have them both
installed at the same time. However I uninstalled RB4 as described in
your:
Article: Cleaning up a Corrupt Installation
thinking that this might solve the problem, but it has not.

Incidentally, there is no option to remove RB7 in the add/remove
programs component of control panel, although there was fro RB4.

I've also changed my default printer to an HP Laserjet 4, following
one of your other responses in this ng, although my normal printer is
a Brother HL1260.

What should I do now?

regards
Richard

Comments

  • edited May 2003
    Further to my earlier post,

    Having uninstalled and reinstalled RB again, the violation seems to be
    occuring now at the Finish stage of the report wizard.

    I get the access violation, but then the report does seem to be
    generated correctly, and I can preview it ok.

    regards
    Richard
  • edited May 2003
    Can you reproduce this problem with our demo reports? What sequence of steps
    are required to show the problem? If there is a problem then we need to be
    able to analyze it in the debugger on our machines.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited May 2003
    On Wed, 28 May 2003 10:10:14 -0600, "Jim Bennett \(Digital
  • edited May 2003
    It probably is a corrupt installation. Did you follow these instructions
    exactly?

    --------------------------------------------
    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


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited May 2003
    Jim,



    There is no such option in Add/Remove programs .

    Do all RB versions set one up?

    regards
    Richard
  • edited May 2003
    Yes, there should be an entry in the Add/Remove programs for RB that we
    setup. It sounds like your registry is hosed or the RB installation fails to
    add the entry. Can you test on another machine? Can you search in RegEdit
    for any Report Builder related entries? What user level are you running
    under in Windows?


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.