ReportBuilder and user priviliges
Hi,
we are having trouble with ReportBuilder at one of our customers.
When opening the PrintPreview or the ReportDesigner an AV is thrown.
This only happens for users without "Administrator" privileges.
We have tested this on 2 machines:
Windows 2003 Server: AV is thrown
Windows Server 2008 R2: The PrintPreview opens with a blank page.
On both machines everything works fine when being logged in as "Administrator".
We recently upgraded ReportBuilder from Version 6.?? -> 12.03, the old
version worked fine.
Thanks,
Steve
Posted by NewsLook (Trial Licence) from http://www.ghytred.com/NewsLook/about.aspx
we are having trouble with ReportBuilder at one of our customers.
When opening the PrintPreview or the ReportDesigner an AV is thrown.
This only happens for users without "Administrator" privileges.
We have tested this on 2 machines:
Windows 2003 Server: AV is thrown
Windows Server 2008 R2: The PrintPreview opens with a blank page.
On both machines everything works fine when being logged in as "Administrator".
We recently upgraded ReportBuilder from Version 6.?? -> 12.03, the old
version worked fine.
Thanks,
Steve
Posted by NewsLook (Trial Licence) from http://www.ghytred.com/NewsLook/about.aspx
This discussion has been closed.
Comments
Do you have any events tied to the preview that may affect this? You may
also get more clues if you use madExcept or ... (there is another product
that provides exception information).
Ed Dressel
Team DM
we did have the same problem.
With madExcept we found out that the problem is, that RBuilder.ini
cann't be created (lack of user rights).
An exception seems to be absorbed and afterwards there comes the AV.
In our case it works if report runs once with admin rights. Then
reports work also for non admins.
Regards,
Josef
Does this happen with every report/project using a Report Designer? Are you
able to recreate this with a simple example?
If the RBuilder.ini is the problem, you can use the IniStorageType property
of the designer to define how you want this information to be stored.
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
If the Delphi project does not use ppEndUsr (the unit which contains
TppDesigner), then no RBuilder.ini will be saved.
If the Delphi project contains TppDesigner, then the IniStorageType and
IniStorageName properties are used. The new default location is the user's
local application data folder - ($LocalAppData)\RBuilder\RBuilder.ini -
which does not require admin privileges. To prevent RBuilder.ini from being
saved, set IniStorageName to IniNone.
If upgrading old applications. check the above mentioned properties and
update them as needed.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
we had the problem after updating from version 10 to 12.
Our project contains TppDesigner.
The default location for RBuilder.ini was set --> ($LocalAppData).
The problem occured on a "Windows XP Service Pack 3 build 2600" system.
Before the AV occured the following errormessage poped up using
madExept (without madExcept this error is swallowed and just the AV
occures).
exception class : EFCreateError
exception message : Datei "C:\WINNT\system32\RBuilder.ini" kann nicht
erstellt werden. Zugriff verweigert.
This German text says that RBuilder.ini cann't be created.
I donn't know why RBuilder.ini is placed in "C:\WINNT\system32" ?
Regards,
Josef Gschwendtner
would like to create a simple example project that we can build and run
here, you can send to support@. Please use standard Delphi components and
RB.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com