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

"Canvas does not allow drawing" on requesting PDF from webtier

edited October 2005 in Server
I'm writing an ASP.NET application using the webtier to create Report
Builder reports.I'm using the webtier COM sample from this newsgroups.

I managed to get the parameters from my ASP.NET webform to the report
server, the report is created as expected. I'm using the rsWebAdapterPDF to
create a print button, the report server is using the ppPDFDevice unit. But
when I click this button I get an error "Canvas does not allow drawing".

The PDF is created in the cache folder (see below) but Adobe Reader is
unable to open the document because it's an empty PDF. The report itself
was created fine. When I take the URL to create the report and change the
"content=pdf" part to "content=viewer" I get my report back as expected, so
my URL resolves OK.

I'm using Delphi 2005 ASP.NET for the web part and Delphi 2005 Win32 for
the COM DLL and the report server. Report Builder version is 9.02.

Am I missing something?

Regards,

Marcel van Beuzekom



The created PDF:

%PDF-1.3
1 0 obj
[/PDF /Text /ImageB /ImageC]
endobj
2 0 obj
<< /Type /ExtGState
/SA true
endobj
3 0 obj
<< /Creator (ReportBuilder)
/CreationDate (D:20051027135222)
/Title ()
/Author ()
/Producer (ReportBuilder)
/Keywords ()
/Subject () >>
endobj
4 0 obj
<< /Type /Catalog
/Pages 5 0 R
endobj
6 0 obj
<< /Length
/Filter /FlateDecode
stream
5 0 obj
<< /Type /Pages
/Kids[
]
/Count 0
endobj
xref
0 7
0000000000 65535 f
0000000010 00000 n
0000000057 00000 n
0000000109 00000 n
0000000269 00000 n
0000000388 00000 n
0000000323 00000 n
trailer
<< /Size 7
/Info 3 0 R
/Root 4 0 R
startxref
447
%%EOF

Comments

  • edited October 2005

    Contact info@digital-metaphors.com with your serial number and registration
    information and request an update to RB 9.03.



    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited October 2005
    Op Thu, 27 Oct 2005 10:39:53 -0500 schreef Nard Moseley (Digital
    Metaphors):


    Upgrading to 9.03 solved my PDF problem, thanks!

    Regards,

    Marcel
This discussion has been closed.