RBuilder.Ini on Windows XP
I have a customer with a windows xp machine and every time that they
closed the report writer preview form they got an error cannot write
to RBuilder.ini. They did not have an RBuilder.ini file in the Winnt
directory and when a tech person created that file in the c:\winnt
directory the report writer closed fine. Shouldn't the report writer
create this file automatically or was this maybe a rights issue and
the user running our app that originally got the error did not have
rights to this directory? Is there a way to trap for this? The app
in question is using version 5.55 and we cannot update for various
reasons to the current version.
closed the report writer preview form they got an error cannot write
to RBuilder.ini. They did not have an RBuilder.ini file in the Winnt
directory and when a tech person created that file in the c:\winnt
directory the report writer closed fine. Shouldn't the report writer
create this file automatically or was this maybe a rights issue and
the user running our app that originally got the error did not have
rights to this directory? Is there a way to trap for this? The app
in question is using version 5.55 and we cannot update for various
reasons to the current version.
This discussion has been closed.
Comments
yes this is a rights issue. Since ReportBuilder 6 you can define the location or using the registry as storage.
But since you mean that you cannot update to the actual version I would check at startup if the file exists. When this isn't the case try to create it, if it fails show a message that the user need r/w access for that file.
regards,
Chris Ueberall;
directory from?
using the Windows API function is the right decision.
regards,
Chris Ueberall;