Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

Last post 06-22-2010, 11:47 AM by aspose.notifier. 17 replies.
Page 1 of 2 (18 items)   1 2 Next >
Sort Posts: Previous Next
  •  01-04-2010, 10:14 AM 215463

    Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

    Hello,

    I followed all the steps from here: http://www.aspose.com/documentation/ssrs-rendering-extensions/aspose.pdf-for-reporting-services/integrate-with-microsoft-report-viewer-in-local-mode.html
     to integrate the aspose pdf renderer with the local report viwer. I wnat to use the extension for local mode reports (.rdlc).

    When I try to export as Aspose PDF I get the following exception:

    Unable to cast object of type 'Aspose.Pdf.ReportingServices.Renderer' to type 'Microsoft.ReportingServices.ReportRendering.IRenderingExtension'.

     Please let me know if there is a workaround for this.

    This message was posted using Page2Forum from Integrate with Microsoft Report Viewer in Local Mode - Aspose.Pdf for Reporting Services
     
  •  01-04-2010, 11:24 AM 215474 in reply to 215463

    Re: Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

    Hi,

    Thanks for considering Aspose.

    Can you please share the resource .RDL file so that we can test the scenario at our end. We apologize for your inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  01-05-2010, 8:53 AM 215638 in reply to 215474

    Re: Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

    Attachment: Present (inaccessible)
    Hello,

    In the attachement you can find my .rdlc file.

    In the mean time, as it was not working in local mode, I converted my report to .rdl and deployed on a report server 2008.
    Now I can export to PDF via Aspose's Renderer, the html formating works and the repeater text is nicely split by page breaks(no more white spaces in the pdf document).

    But another feature that we would use from the Aspose.PDF.ReportingServices library is the Table Of Contents. Initially this was the mai purpose for which we wanted to buy the library.

    I added the Aspose.Pdf.ListSectionStyle.xml file to the /bin of the Reporting Services 2008 installation folder. It contains the following:

       <ListSection ListType="TableOfContents">
             <Title Alignment="Center">
                 <Segment IsTrueTypeFontBold="true"
                     FontSize="30"> TableOfContents </Segment>
             </Title>
             <ListLevelFormat Level="1" LeftMargin="0">
                 <TextInfo IsTrueTypeFontBold="true"
                     IsTrueTypeFontItalic="true">
                 </TextInfo>
             </ListLevelFormat>
             <ListLevelFormat Level="2" LeftMargin="10">
                 <TextInfo IsUnderline="true" FontSize="10">
                 </TextInfo>
             </ListLevelFormat>
             <ListLevelFormat Level="3" LeftMargin="20">
                 <TextInfo IsTrueTypeFontBold="true">
                 </TextInfo>
             </ListLevelFormat>
             <ListLevelFormat Level="4" LeftMargin="30">
                 <TextInfo IsTrueTypeFontBold="true">
                 </TextInfo>
             </ListLevelFormat>
         </ListSection>    

    When I export to PDF via aspose, the title "Atable Of Contents" but it does not contain any items.

    I added the custom properties to the textbox that I want to appear in the TOC, but same result.
    I will also attach the rdl as a reference.

    I'm now busy with a proof of concept regarding these features, and only if the proof of concept is successfull we will purchase the library.

    Thank you very much for your help.

    Filed under: Reporting Services
     
  •  01-06-2010, 6:30 AM 215818 in reply to 215638

    Re: Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

    Hello voicu,

    Sorry for replying you late.

    I've tried testing the scenario at my end but I'm afraid I couldn't test it because your report is using some date source Data Source=brain41;Initial Catalog=Eamonnbates_EUTracker can you please share the resource database containing Eamonnbates_EUTracker catalog or is it possible that you can share another report showing the same behavior but prepared using AdventureWorks database. Because, until or unless we test the scenario, we might not be able to share the exact information regarding the resolution of this problem.

    We apologize for your inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  01-27-2010, 4:37 AM 219312 in reply to 215818

    Re: Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

    Attachment: Present (inaccessible)
    Hello,

    Happy new year!

    I finally found some time to put together a report example using the AdventureWorks 2008 db.
    The Table of contents still does not appear in the exported PDF. All I can see is the title of the TOC.
    I attached the redl report, the generated pdf and the backup of the database that I used for testing.

    If the TOC works we will buy the library right away. We need it for a project for one of our clients and the TOC feature(with correct page numbers and so) of the report is essential for him.

    Please let me know what might be the solution for this issue.
    Thank you!

     
  •  01-28-2010, 3:17 AM 219532 in reply to 219312

    Re: Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

    Hello voicu,

    Thanks for sharing the resource files. I've tested the scenario and I'm able to notice the problem. We're looking into the details of this problem and will keep you updated with the status of correction.

    We apologize for your inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  02-01-2010, 7:33 AM 220034 in reply to 219532

    Re: Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

    Thanks a lot!
     
  •  02-03-2010, 10:45 AM 220555 in reply to 220034

    Re: Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

    Dear Nayye,

    Do you have any news for us on that?
    The TOC feature is already included in the planning for a client project and the deadline is getting closer.

    Thank you.
     
  •  02-09-2010, 3:11 AM 221378 in reply to 219532

    Re: Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

    Hello,

    I'm currently trying to implement the SSRS 2008 report that will be exported to PDF  using the Aspose.Pdf.ReportingServices renderer but I encountered some new issues besides the TOC issue:
    For instance if I have some element that I only want to appear on the odd numbered pages and not on the even numbered pages, the Apose PDF renderer simply ignored these rules. The standard PDF renderer from Microsoft does this correctly.

    Please let me know if it is possible to fix these issues (TOC and page numebr related conditions) in a timely manner.
    Otherwise we will look into other libraries.  These 2 features are essential for us as the deadline is getting very close. We would like to buy the library, but before, ofcourse, we would like to have it working the way it is promomoted on the website - which is not the case now.

    Please contact me if you have news.

    Respectfully yours,

    Voicu Matei





     
  •  02-09-2010, 6:31 AM 221420 in reply to 221378

    Re: Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

    Hello voicu,

    Thanks for your interest in our products.

    Our development team is looking into the details of TOC problem. I know you've been facing an inconvenience due to this problem but still I would request you to spare us little more time and I hope, soon we would be able to share some definite news regarding its resolution.

    Regarding the other issue, "Elements to be displayed over particular pages", please share the resource .RDL file so that we can test the scenario at our end. We are really sorry for the inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  02-11-2010, 10:42 AM 221988 in reply to 221420

    Re: Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

    Attachment: Present (inaccessible)
    Dear Nayyer,

    I attached the updated rdl contaning the issue that I was saying about (items that need to be shown dirrerently on odd and even pages - header with logo in my example for a booklet like pdf).

    While I was building the example I noticed other more serious issues of the Aspose PDF renderer.

    In the attachment there are 3 files:
    1. rdl
    2. pdf exported with the standard pdf renderer from ssrs 2008
    3. pdf exported with the Aspose pdf renderer
    Please take a  look at the differences between the two pdfs.

    For it's becoming clear that, unless the issues will be fixed in a timely manner, we can not use your component in it's current state.

    Looking forward to hearing from you.

    Respectfully yours,

    Voicu Matei.



     
  •  02-15-2010, 3:32 PM 222418 in reply to 221988

    Re: Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

    Hello Voicu,

    Sorry for replying you late.

    I'm pleased to inform you that the issue reported earlier has been resolved and the hotfix will be in next few days. Whereas concerning to your requirement "items that need to be shown differently on odd and even pages” we hope it can be supported by the end of this month, but still it’s not a promise. We'll try our level best to support it ASAP and will keep you updated with the status of correction.

    Your patience and understanding is greatly appreciated in this regard. We apologize for your inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  03-26-2010, 5:17 PM 229393 in reply to 215463

    Re: Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

    I am having the same issue as the first poster, regarding the error
    Unable to cast object of type 'Aspose.Pdf.ReportingServices.Renderer' to type 'Microsoft.ReportingServices.ReportRendering.IRenderingExtension'.

    I am trying to use the ReportViewer control in LocalReport mode, using a .rdlc definition and displaying it inside an aspx webpage.  I have included the dll in the Bin and followed all other instructions...

    I receive the error with ANY report that I may try to export to pdf via Aspose.Pdf.  Exporting to pdf via the built-in control works fine.  Moreover, exporting to MS Word via Aspose.Words works fine. 

    Could I be missing something?

    Thanks in advance for your response.
     
  •  03-29-2010, 2:36 AM 229522 in reply to 229393

    Re: Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

    Hi,

    Sorry for replying you late.

    Can you please convert your .RDLC document into .RDL format and try using it in the project ? I hope it would resolve your problem. In case you still face any problem or you've any further query, please feel free to contact.

    We apologize for your inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  03-29-2010, 9:29 AM 229610 in reply to 229522

    Re: Integrating Aspose.Pdf.ReportingServices with Microsoft Report Viewer in Local Mode does not work

    Thank you for your response.  Unfortunately, converting to the rdlc to an rdl file did not help.  I am still receiving the same error.

    Also, please let me repeat/emphasize:
    I am attempting to use aspose.pdf with MS Report Viewer in Local Mode, from an aspx website.  I use code-behind to pass parameters and bind data to the report, as our clients will be accessing this report from a browser and my code will be forwarding them to their appropriate database, depending on credentials.
    Just as the first poster of this thread, I followed the instructions at
    http://www.aspose.com/documentation/ssrs-rendering-extensions/aspose.pdf-for-reporting-services/integrate-with-microsoft-report-viewer-in-local-mode.html
    Two more notes:
    a) following similar instructions for Aspose.Words worked fine, directly with the .rdlc files. 
    b) Trying the same with a winforms sample from Microsoft (in this case their VB sample), I got exactly the same results: The export works for Aspose.Words but not for Aspose.Pdf.  If you need to check it out yourselves, you may download the ReportViewer Sample from MS's website:  http://www.microsoft.com/downloads/details.aspx?familyid=8AF004BD-EE06-43FA-A5B6-955689A66C84&displaylang=en

    Actually, I am wondering if I perhaps just downloaded the wrong dll?  I am currently using this one:  ...Aspose\Aspose.Pdf for Reporting Services\Bin\ReportViewer2008\Aspose.Pdf.ReportingServices.dll
    My project is developed in VS2008 and I'm using ReportViewer 9.

    Thank you again.
     
Page 1 of 2 (18 items)   1 2 Next >
View as RSS news feed in XML