locked
Error in Report Viewer RRS feed

  • Question

  • User-167240041 posted
    Hi all,

    I am using Visual Studio 2008 to build a web application that generates reports and this reports will be exported to various formats like PDF,Excel,Word etc.... I use crystal embedded in VS 2008. the default report viewer that I was using is version 10.5.3700.0. I installed Crystal Report viewer version XI release 2 for business objects . Hence when I opened the solution my VS 2008 asked for solution to convert. I gave the conversion and the solution was converted to Crystal 2008.

    When I tried to view the report during runtime it showed the following errors:

    1. ClientTarget property cannot be set declaratively.
    2. DisplayGroupTree property cannot be set declaratively.

    So I removed those two properties from my Crystal Reports Viewer tool in the Report Console.aspx page and the reports got displayed. When I click the Export button that is present in default Reports viewer I get a pop up in which when I try to choose the export format option from dropdown, the values come at the end of the page in the Reports.

    Kindly suggest me what can be done to correct this.
    Friday, December 23, 2011 8:43 AM

All replies

  • User1196771204 posted

    hi karthik,

    There are several requirements to run Crystal Report:

    1. Please make sure the CR version installed on the server matches the one you use on your application/website
    2. Please make sure that the assemblies of the CR installed on the server are referenced correctly on your web.config
    3. Please make sure you set the application pool of your application to operate under LOCAL SERVICE permission
    4. Please make sure FULL TRUST mode is enabled on your operating folder
    5. Please make sure crystalreportviewer and aspnet_client folders are copied to your operating folder.

    I have been using Crystal Report for a while. I have also tried the latest Crystal Report for VS 2010 and initially, I experienced the problem like you do now. By following all the steps above, your CR will certainly work fine. Should you still have problems, you can consider hosting it withasphostcentral.com

    Please mark this response as an "answer" if it helps you. Thanks heaps!  

    Thursday, December 29, 2011 1:44 AM