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

Access violation error

edited May 2003 in General
Hi,

I see this the first time only in RB 7.02 Standard downloaded at sunday the
second time.

To an empty form I add a Report component. In the designer I clicked file:
new report and receive each time an access violation error at adress
00279EDC in modal designide60.bpl.

Can anybody confirm this?

Thanks in advance


Martin Cremer

Comments

  • edited May 2003
    Martin,

    ReportBuilder uses the printer driver. Try either updating your printer
    driver or perhaps try installing a known working driver such as the HP
    LaserJet 4 driver and see if that works.(you do not have to have an HP
    printer for the driver to be installed and used by RB). Which version of
    Delphi are you using? Make sure you are not placing the report component on
    a datamodule.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited May 2003
    Nico,

    I do use the latest HP LaserJet 5 printer driver, Delphi 6.02 and Win2k Sp3.
    As I wrote I added the report component on a form and not on a datamodule.
    But my problem still exist. Is there another way out?


    Thanks in advance

    Martin Cremer

    P.S. I don't had this problems with RB 7.01.


  • edited May 2003
    Martin,

    We have no known errors like this one in RB 7.02. You may have a corrupt
    install. Please follow the instructions below to clean up a corrupt
    installation and reinstall ReportBuilder.

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


    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited May 2003
    Nico,

    many thanks for yor help. I uninstalled ReportBuilder several times, but the
    error still exist. I have detected that there is no ReportBuilder Uninstall
    Wizard on my disk. Further there is no entry "ReportBuilder Version 7.02" or
    something like this in my Control Panel. Does this mean I have a corrupt
    installation indeed and this one causes the access violation error?

    Thanks

    Martin Cremer



  • edited May 2003
    Martin,

    You should see an entry for ReportBuilder in the Add/Remove Programs list of
    the Control Panel. If you do not see it, there could be a problem with your
    regristry. Make sure you have uninstalled all versions of ReportBuilder and
    cleaned your hard drive of any RB related .dcu and .bpl files. Also, check
    your access rights to the windows registry as a user and perhaps scan your
    computer for viruses. Contact your system administrator possibly.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.