Unable to install TRichView wrapper for ReportBuilder

General TRichView support forum. Please post your questions here
Post Reply
cwig
Posts: 34
Joined: Tue Oct 11, 2005 7:43 pm

Unable to install TRichView wrapper for ReportBuilder

Post by cwig »

When I try to install rvrb11D2009 in Delphi 2009 I get this error:

"[DCC Error] rvrb11D2009.dpk(33): E2042 Write error on 'C:\Documents and Settings\All Users\Documents\RAD Studio\6.0\Bpl\RVPkgD2009.bpl"

and then

"[DCC Fatal Error] rvrb11D2009.dpk(33): E2202 Required package 'RVPkgD2009' not found"

Anyone know what is wrong?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

1) Is there enough free disk space on C: ?
2) Try recompiling RVPkgD2009 before rvrb11D2009.
cwig
Posts: 34
Joined: Tue Oct 11, 2005 7:43 pm

Post by cwig »

Sergey Tkachenko wrote:1) Is there enough free disk space on C: ?
More than 20 GB.

2) Try recompiling RVPkgD2009 before rvrb11D2009.
Unfortunately, that did not help.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Unfortunately, I do not know why it happens.
All RichView packages are marked as "explicit rebuild", so compiling rvrb11D2009 must in no way recreate RVPkgD2009.bpl.

Try adding files from rvrb11D2009 directly in RVPkgD2009, and recompile RVPkgD2009, instead of installing rvrb11D2009.
cwig
Posts: 34
Joined: Tue Oct 11, 2005 7:43 pm

Post by cwig »

Sergey Tkachenko wrote:Unfortunately, I do not know why it happens.
All RichView packages are marked as "explicit rebuild", so compiling rvrb11D2009 must in no way recreate RVPkgD2009.bpl.

Try adding files from rvrb11D2009 directly in RVPkgD2009, and recompile RVPkgD2009, instead of installing rvrb11D2009.
Tried that, and it worked, UNTIL I closed Delphi. Then I get an access violation error in rtl120.bpl. And the next time I start Delphi, TppRichView does not appear on the toolbar in Report Builder.

If I now try to recompile RVPkgD2009, I get an "Unable to install package" error. I restart Delphi, are able to compile/install RVPkgD2009, TppRichView appear on the RB toolbar, etc. But then I get the access violation error again when closing Delphi, and TppRichView does no longer appear on the RB toolbar!
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Very strange errors.
Please check that you do not have duplicate versions of RVPkgD2009 and rvrb11D2009 packages (bpl, dcp files) in different directories.
cwig
Posts: 34
Joined: Tue Oct 11, 2005 7:43 pm

Post by cwig »

Sergey Tkachenko wrote:Very strange errors.
Please check that you do not have duplicate versions of RVPkgD2009 and rvrb11D2009 packages (bpl, dcp files) in different directories.
I don't, but for some strange reason, the DCP folder for D2007 had been added to the library path in D2009. Once I fix that, I was able to compile/install RVPkgD2009.

However, I still get the access violation error when shutting down Delphi, and after that, TppRichView does not appear on the RB toolbar. Very strange indeed (no problems with RB 11.06 and TRichView in Delphi 2007).
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Try to remove all temporal TRichView files and recompile TRichView packages and all packages using them.
I believe the problem is in misconfiguration of RAD Studio.
Post Reply