Page 1 of 1
Unable to install TRichView wrapper for ReportBuilder
Posted: Mon Dec 28, 2009 4:35 pm
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?
Posted: Tue Dec 29, 2009 10:11 am
by Sergey Tkachenko
1) Is there enough free disk space on C: ?
2) Try recompiling RVPkgD2009 before rvrb11D2009.
Posted: Tue Dec 29, 2009 10:41 am
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.
Posted: Tue Dec 29, 2009 12:56 pm
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.
Posted: Wed Dec 30, 2009 1:30 pm
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!
Posted: Wed Dec 30, 2009 7:06 pm
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.
Posted: Thu Dec 31, 2009 3:13 pm
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).
Posted: Sun Jan 03, 2010 5:48 pm
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.