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

Windows permission problem

edited January 2005 in General
Hi there,

I have a Delphi COM object which generates ReportBuilder report as PDF file.
The COM object gets created and called from a ASP page.

I am getting a error: Cannot generate report. Canvas does not allow drawing.
I assigned the anonymous web user IUSR_COMPUTERNAME as
a member of administrator of the local machine, then the report works.

This gives me an impression that it is a permission issue, but the problem
only
occurs to certain report, not all reports.

The question is does RB generate any temp file during report creation? e.g.
to Windows
temp folder which requires write permission?

Thanks a lot for any help!

Regards,
Ian

Comments

  • edited January 2005
    Hi Ian,

    Which version of ReportBuilder are you using?

    The exception 'Canvas does not allow drawing' occurs when RB cannont access
    the printer. Typically this is thrown when there is not a default printer
    installed. However, if you are running as a service, this may mean that the
    service might not have the same security rights as the current user. This
    would also cause a problem.

    In order to deal with these issues, we enhanced RB 6.0+ so you can set the
    printer name to 'Screen' and then ReportBuilder does not need access to an
    actual print driver. My advice is to consider upgrading to our latest
    version of ReportBuilder, version 9.01.


    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2005
    I am using RB version 6.03 Enterprise
  • edited September 2006
    The solution without upgrading to new version:

    Install a printer on the server.
    So RB could get a printer handle while creating PDF file.



This discussion has been closed.