Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

Header and footer excluded from selected pages not working when exporting to word

Last post 07-09-2009, 11:08 PM by DmitryV. 21 replies.
Page 1 of 2 (22 items)   1 2 Next >
Sort Posts: Previous Next
  •  04-21-2009, 7:49 AM 175780

    Header and footer excluded from selected pages not working when exporting to word Reporting Services

    I'm bought aspose for a client in order to be able to export to word from CRM 4.0. My client has several reports that needs to be exported and each of them has both header and footer included. The header and the footer both include images and should only appered on page 1 when exporting, and on the rest of the pages no header or footer should appear at al.

    I've been using this clause for the images in the properties - visibility-hidden field (=IIF(Globals!PageNumber=1,false,true)

    I've also tried to keep the properties - visibility-hidden field set to 'False' and instead set the PrintOnFirstPage option to 'True' and PrintOnLastPage to 'False'.

    There seemes to be some kind of bug as this somethimes displays no header or no header at all, header and footer on all pages or in some reports it does actually work. I even tried to copy a report that it actually works and upload it to crm again but then the word is printing the header and footer to all pages.

    Nothing of this does make any sense to me, as I have no problems exporting to other formats, like pdf.

    As this feature is critical for my client any help would be very much appreciated.

    regards,

    Gudmundur

    p.s. I'm using visual studio 2005

     
  •  04-21-2009, 8:21 AM 175785 in reply to 175780

    Re: Header and footer excluded from selected pages not working when exporting to word

    Hi

     

    Thanks for your request. Could you please attach your output document for investigating? I will inspect the issue and provide you more information.

     

    Best regards.


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  04-21-2009, 8:27 AM 175787 in reply to 175785

    Re: Header and footer excluded from selected pages not working when exporting to word

    Hi,
    Just for clarification, when you say "output document", are you referring to the word export .doc file?

    regards,
     
  •  04-21-2009, 8:37 AM 175790 in reply to 175787

    Re: Header and footer excluded from selected pages not working when exporting to word

    Yes, you are absolutely right. You can also attach your code you are using to create the document and expected output.

     

    Best regards.


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  04-21-2009, 8:58 AM 175797 in reply to 175790

    Re: Header and footer excluded from selected pages not working when exporting to word

    Attachment: Present (inaccessible)
    I attached the output of the document and also the rdl. file from the visual studio project if that might help.

    regards,
     
  •  04-23-2009, 12:47 AM 176137 in reply to 175797

    Re: Header and footer excluded from selected pages not working when exporting to word

    Hi

     

    Thank you for additional information. I logged your request in our defect database as issue #8607. We will further investigate the problem and answer you shortly.

     

    Best regards.


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  06-15-2009, 6:55 AM 183871 in reply to 176137

    Re: Header and footer excluded from selected pages not working when exporting to word Reporting Services

    Hi,

    I was wondering if you have solved my problem.

     

    Regards,

    Gosi

     
  •  06-17-2009, 12:16 PM 184300 in reply to 183871

    Re: Header and footer excluded from selected pages not working when exporting to word

    Hi,

    Sorry for delayed response.

    I'm working on your issue right at the moment. There are two points I wanted to share.

    1. Try setting the PageBreaks configuration setting to OnEachPage as described here:

    http://www.aspose.com/documentation/ssrs-rendering-extensions/aspose.words-for-reporting-services/page-breaks.html

    2. If #1 doesn't work, please attach a subreport named subreport1 as well. If possible, please provide your data source too. It would greatly simplify reproducing.


    Dmitry Vorobyev
    Fields and Reporting Team Leader
    Aspose Auckland Team
     
  •  07-01-2009, 5:30 AM 186328 in reply to 184300

    Re: Header and footer excluded from selected pages not working when exporting to word

    Attachment: Present (inaccessible)

    Hi,

    Thanks for your reply and sorry for late reply, have been fighting to get this to work but I think I need further assistance.

    I did try to set the PageBreaks to OnEachPage as you mention in #1 but that didn't seemes to make any differance. I also restarted all the SQL Server 2005 services and last, I rebooted the server, but no change at all.

    So I think I need more help with this one, I attach the main and subreport and the datasource is:

    Data Source=SQL01;Initial Catalog=CRMLST_MSCRM

    regards,

     

     
  •  07-01-2009, 8:36 AM 186387 in reply to 186328

    Re: Header and footer excluded from selected pages not working when exporting to word

    I'm afraid we also need the datasource itself, not just a connection string. You can create a backup of the database and then attach the .bak file or export it to an Excel sheet and attach it also.

    By the way, which version of the product are you using? I believe this issue might have been fixed in one of the most recent versions.

    Thanks.


    Dmitry Vorobyev
    Fields and Reporting Team Leader
    Aspose Auckland Team
     
  •  07-01-2009, 8:52 AM 186395 in reply to 186387

    Re: Header and footer excluded from selected pages not working when exporting to word Reporting Services

    How can I check which version is installed? We bought the current version early last year, probably around May/June
     
  •  07-01-2009, 9:03 AM 186397 in reply to 186395

    Re: Header and footer excluded from selected pages not working when exporting to word

    Hi

     

    Thanks for your inquiry. To check version of the library, right click on the dll, select Properties from the context menu, then select Version tab. You will see File version.

     

    Best regards.


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  07-01-2009, 9:07 AM 186399 in reply to 186397

    Re: Header and footer excluded from selected pages not working when exporting to word Reporting Services

    Hi,

    The version is 1.1.1.0

     

    Regards,

     
  •  07-01-2009, 9:11 AM 186401 in reply to 186399

    Re: Header and footer excluded from selected pages not working when exporting to word Reporting Services

    Which dll are you referring to, I can see that there is another dll, "Aspose.Words.ReportingServices.dll"  in my C:\Program Files\Aspose\Aspose.Words for Reporting Services\Bin\SSRS2005 folder with the version 2.2.0.0.

    The other version I was referring to is from the "Aspose.Words.ReportingServices.Installer_1.1.4.0.dll" located in the

    C:\Program Files\Aspose\Aspose.Words for Reporting Services\Installer

     

    Regards

     
  •  07-01-2009, 10:33 AM 186418 in reply to 186401

    Re: Header and footer excluded from selected pages not working when exporting to word

    The dll in question is somewhere in C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer\bin. The MSSQL.3 may vary depending on the instance name.

    Anyway, try upgrading to the latest one. Download the recently released Aspose.Words for Reporting Services 3.1.0 from its dwnload page and replace the dll with the new one from the zip archive.

    Let me know how it goes then.


    Dmitry Vorobyev
    Fields and Reporting Team Leader
    Aspose Auckland Team
     
Page 1 of 2 (22 items)   1 2 Next >
View as RSS news feed in XML