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

OpenFile

edited December 2014 in General
Nico et al,

Been trying to recover from a silly decision to uninstall RB12 before
doing a NEW install of XE7 to go with Delphi 7 on the main production
machine. It's been awhile and I forgot each had separate installers and
there was no need to uninstall, even though I also purchased (well, my
boss did for me) RB16.

Not for the want of trying but I eventually had to roll back my
workstation nine days when i decided trying to make the two versions of
Delphi co-exist was beyond my skills and decided to install XE7 into a
VM. Unfortunately, getting RB back up and running, even upgraded, has
been a can of worms.

I am getting an error message at startup on a project I'd rather like
to develop an update for ... last week [G]. On startup, I get a message
that says: "Exception EReadError in module XXXX.exe at 0003R3EF. Error
reading ReportExample1.OpenFile: Property OpenFile does not exist."

I looked. It exists. So, I took all the Openfile = False properties
out of ALL the reports in the dfm with an external editor, figuring
whatever the default was, would be put back. Wrong. Same message. So I
put them ALL back in. Same Message. So, I played around with the XXXX
report. It's used in two places as an actual report and four other
places to get a list of printers into a list control. I split off the
two tasks, creating a brand new report for the printerlist purpose.
Same Message. I renamed the report. Same message, referring to the same
name. I deleted the report. It moved onto the next report amongst the
many on the form. I put the original report back, restoring it from a
saved RTM file. Same message.

There was also a try where I deleted all the non-DPR and PAS files
for the program name. That just led to being annoyed. Same message.
With the need to reset some things.

Accompanying the message is an admonishment about leaked memory. It
seems a little more pervasive than when I last looked. I was being
charged 12 bytes for the EReadError. There were IdThreadSafeInteger,
IDCriticalSection, CStdCriticalSection and an AnsiString error. For
what that may be worth.

Nothing here in this forum I could find, nothing on the internet.
HELP!!!

Thanks, GM

Comments

  • edited December 2014
    Hi Gary,

    The OpenFile property was added for RB 15. Which version are you
    upgrading from?

    The error generally indicates that you are trying to use an older .dcu
    or package that does not have this property available. The best way to
    resolve an issue like this would be to perform a corrupt install
    clean-up of your entire machine and reinstall ReportBuilder from scratch.

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2014
    Nico Cizik (Digital Metaphors) wrote:


    Nico,

    I had forgotten I had installed the v15 trial while waiting for the
    purchase order for what turned out to be v16 go through. It was such a
    short period of time.

    I followed the instructions for de-RBing of my computer and was
    shocked to find so many remnants of the trial AND of v12 left over, in
    addition to what v16 had added. Really, REALLY shocked. I had become
    used to just installing over-top over the years. Bad form on my part.

    So bad, that I am looking into wiping Delphi 7 completely out and
    installing it al back from scratch, maybe into a VM, but probably on
    the main machine. I've now successfully isolated XE7 into a VM.

    All of this self-inflicted.Thanks for pointing me in the right way.

    GM
This discussion has been closed.