Report with Subreport very slow from SharePoint

HI,
 I have a report with a sub-report that runs in about 9 seconds from my PC using the Report Designer with SQL Server 2008R2.
When I run the deployed report from SharePoint it takes 4 minutes. If I remove the sub-report it again runs fine from SharePoint.
The sub-report is pretty simple and links to the main report using 3 parameters.
What would cause this?
Any ideas would be appreciated.
Thanks,
Trish
Trish Leppa

Hello Trish,
I have found similar thread with some good suggestion for optimizing the report in sharepoint.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/c140d26e-1c02-4f8d-bc61-f6ac75706556/reporting-services-very-slow-in-sharepoint?forum=sqlreportingservices
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help

Similar Messages

  • Changing database server on a report with subreports = formula error

    Good morning,
    I currently have several reports that print out, and were developed attached to our development database. However, I need to be able to dynamically change the server that the report uses according to the server configured in our application. Each of these reports contains one or more subreports, which point to the same server and database as the main report. All reports, both the main and subreports, are based on manual SQL commands.
    I'm running into some significant issues. So significant, in fact, that we were forced to deploy our application with reports that had been switched to our production environment in the designer in order to get them functional. This is, obviously, not an acceptable or long-term solution.
    I've gone round and round a couple of times I get different results with different methods of changing this information. I'll outline them below. First, my current code:
    ConnectionInfo connectionInfo = new ConnectionInfo();
                    TableLogOnInfo logOnInfo = new TableLogOnInfo();
                    Console.WriteLine("Report \"{0}\"", report.Name);
                    foreach (Table table in report.Database.Tables)
                        logOnInfo = table.LogOnInfo;
                        connectionInfo = new ConnectionInfo(logOnInfo.ConnectionInfo);
                        connectionInfo.ServerName = "panthers-dev";
                        connectionInfo.DatabaseName = "Prosys";
                        logOnInfo.ConnectionInfo = connectionInfo;
                        //table.Location = "Prosys.dbo." + table.Location.Substring(table.Location.LastIndexOf(".") + 1);
                        table.ApplyLogOnInfo(logOnInfo);
                        table.LogOnInfo.ConnectionInfo = connectionInfo;
                        Console.WriteLine("\t\"{0}\": \"{1}\", \"{2}\", \"{3}\", {4}", table.Name, table.LogOnInfo.ConnectionInfo.ServerName, table.LogOnInfo.ConnectionInfo.DatabaseName, table.Location, table.TestConnectivity());
                    foreach (Section section in report.ReportDefinition.Sections)
                        foreach (ReportObject ro in section.ReportObjects)
                            if (ro.Kind == ReportObjectKind.SubreportObject)
                                SubreportObject sro = (SubreportObject)ro;
                                ReportDocument subreport = report.OpenSubreport(sro.SubreportName);
                                Console.WriteLine("\tSubreport \"{0}\"", subreport.Name);
                                foreach (Table table in subreport.Database.Tables)
                                    logOnInfo = table.LogOnInfo;
                                    connectionInfo = new ConnectionInfo(logOnInfo.ConnectionInfo);
                                    connectionInfo.ServerName = "panthers-dev";
                                    connectionInfo.DatabaseName = "Prosys";
                                    logOnInfo.ConnectionInfo = connectionInfo;
                                    //table.Location = "Prosys.dbo." + table.Location.Substring(table.Location.LastIndexOf(".") + 1);
                                    table.ApplyLogOnInfo(logOnInfo);
                                    table.LogOnInfo.ConnectionInfo = connectionInfo;
                                    Console.WriteLine("\t\t\"{0}\": \"{1}\", \"{2}\", \"{3}\", {4}", table.Name, table.LogOnInfo.ConnectionInfo.ServerName, table.LogOnInfo.ConnectionInfo.DatabaseName, table.Location, table.TestConnectivity());
    Using this approach, my console output prints what I expect and want to see: the correct server and database information, and True for TestConnectivity for all reports and subreports. The two reports I have that have no subreports print out correctly, with data from the proper server. However, all of the reports with subreports fail with formula errors. If this procedure is not run, they work just fine on either server.
    I had to place the assignment of table.LogOnInfo.ConnectionInfo = connectionInfo after the call to ApplyLogOnInfo, as that function did not behave as expected. If I perform the assignment first (or not at all), then calling ApplyLogOnInfo on the outer report's table did NOT affect the values of its ConnectionInfo object, but it DID affect the values of the ConnectionInfo object's of its subreports!
    In any event, if anyone could post a code sample of changing database connection information on a report containing subreports, I would appreciate it.
    Any help is greatly appreciated and anxiously awaited!

    Hi Adam,
    Code for changing database connection information on a report containing subreports :
    private ReportDocument northwindCustomersReport;
        private void ConfigureCrystalReports()
            northwindCustomersReport = new ReportDocument();
            string reportPath = Server.MapPath("NorthwindCustomers.rpt");
            northwindCustomersReport.Load(reportPath);
            ConnectionInfo connectionInfo = new ConnectionInfo();
            connectionInfo.ServerName = "localhost";
            connectionInfo.DatabaseName = "Northwind";
            connectionInfo.IntegratedSecurity = false;
            SetDBLogonForReport(connectionInfo, northwindCustomersReport);
            SetDBLogonForSubreports(connectionInfo, northwindCustomersReport);
            crystalReportViewer.ReportSource = northwindCustomersReport;
        private void Page_Init(object sender, EventArgs e)
            ConfigureCrystalReports();
        private void SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument)
            Tables tables = reportDocument.Database.Tables;
            foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
                TableLogOnInfo tableLogonInfo = table.LogOnInfo;
                tableLogonInfo.ConnectionInfo = connectionInfo;
                table.ApplyLogOnInfo(tableLogonInfo);
        private void SetDBLogonForSubreports(ConnectionInfo connectionInfo, ReportDocument reportDocument)
            Sections sections = reportDocument.ReportDefinition.Sections;
            foreach (Section section in sections)
                ReportObjects reportObjects = section.ReportObjects;
                foreach (ReportObject reportObject in reportObjects)
                    if (reportObject.Kind == ReportObjectKind.SubreportObject)
                        SubreportObject subreportObject = (SubreportObject)reportObject;
                        ReportDocument subReportDocument = subreportObject.OpenSubreport(subreportObject.SubreportName);
                        SetDBLogonForReport(connectionInfo, subReportDocument);
    Hope this helps!!
    Regards,
    Shweta

  • My all reports are running very slow now, I am using Reports 6i?

    Dear Friends,
    My all reports are running very slow now, I am using Reports 6i. A few months ago there speed is better. Please suggest me the solution of this problem.
    Best regards,
    Shahzad

    Get statspack/AWR running against your database and analyze the reports. 15 minutes interval between snaps should be enough.
    That should give you a clue as to what is going wrong in your database.
    Since you are saying that the reports speed was better a few months ago, it is possible that you are suffering from "data growth".

  • All programs run very slow from dock

    programs run very slow from dock sometimes does not open at all

    Try doing a Dock restart using the following Terminal command:
    killall Dock
    Log out/in and test. If that doesn’t work, you need to look in your user Library/Applications Support/Dock for the .db. Use the Finder “Go To Folder” command. Enter ~/ Library/Applications Support/Dock.  Move the .db to your desktop.
    Then try a dock reset.
    Applications/Utilities/Terminal enter the command
    killall Dock
    Log out/in test. If it works okay, delete the .db from the desktop.
    If the Dock is the same, return the .db to where you got them from, overwriting the newer ones.

  • Crystal Report 10.5 very slow (30 minutes) to display

    crystal report 10.5 in vs 2008 display at extremely very slow speed in development server and production server. i have loaded a dataset as the datasource for the report. i also checked the code in debugging mode to know where the delay is but found out it is not from the code as the code executes to the end in less than a minute but the browser keeps loading for several minute before display.
    please kindly help to resolve this issue.

    With CR 2008:
    For OLE DB then use:
    MS SQL 2005 - OLE DB Provider
    MS SQL 2008 - SQL Native 10
    For ODBC then use:
    MS SQL 2005 - SQL Native
    MS SQL 2008 - SQL Native 10
    Once you have a report created, you can use the following code at runtime:
    Public Sub New()
            'This call is required by the Windows Form Designer.
            InitializeComponent()
            'Add any initialization after the InitializeComponent() call
            'Create an instance of the strongly-typed report object
            crReportDocument = New CrystalReport1()
            'Setup the connection information structure to be used
            'to log onto the datasource for the report.
            crConnectionInfo = New ConnectionInfo()
            With crConnectionInfo
                .ServerName = "escalade"    'physical server name
                .DatabaseName = "Pubs"
                .UserID = "sa"
                .Password = "admin"
            End With
            'Get the table information from the report
            crDatabase = crReportDocument.Database
            crTables = crDatabase.Tables
            'Loop through all tables in the report and apply the connection
            'information for each table.
            For Each crTable In crTables
                crTableLogOnInfo = crTable.LogOnInfo
                crTableLogOnInfo.ConnectionInfo = crConnectionInfo
                crTable.ApplyLogOnInfo(crTableLogOnInfo)
            Next
            'Set the viewer to the report object to be previewed.
            CrystalReportViewer1.ReportSource = crReportDocument
    End Sub
    And be careful with subreports. If you use the same connection type as for the main report the subreport should piggy back on the main connection. If you use a different connection, you'll have to use code to connect the subreports:
    //loop through all the sections to find all the report objects
    foreach (CrystalDecisions.CrystalReports.Engine.Section crSection in crSections)
        crReportObjects = crSection.ReportObjects;
        //loop through all the report objects to find all the subreports
        foreach (CrystalDecisions.CrystalReports.Engine.ReportObject crReportObject in crReportObjects)
            if (crReportObject.Kind == ReportObjectKind.SubreportObject)
                //you will need to typecast the reportobject to a subreport
                //object once you find it
                crSubreportObject = (CrystalDecisions.CrystalReports.Engine.SubreportObject)crReportObject;
                string mysubname = crSubreportObject.SubreportName.ToString();
                //open the subreport object
                crSubreportDocument = crSubreportObject.OpenSubreport(crSubreportObject.SubreportName);
                //set the database and tables objects to work with the subreport
                crDatabase = crSubreportDocument.Database;
                crTables = crDatabase.Tables;
                tableIndex = 0;
                bool SecureDB;
                //loop through all the tables in the subreport and
                //set up the connection info and apply it to the tables
                foreach (CrystalDecisions.CrystalReports.Engine.Table crTable in crTables)
                {   // check if integrated security is enabled
                    SecureDB = crSubreportDocument.Database.Tables[tableIndex].LogOnInfo.ConnectionInfo.IntegratedSecurity;
                    string TableName = crTable.Name.ToString();
                    tableIndex++;
                    crConnectioninfo.ServerName = "VMW2K8CRSE2K8";
                    //if (!SecureDB)
                        crConnectioninfo.UserID = "sa";
                        crConnectioninfo.Password = "PW";
                        crConnectioninfo.DatabaseName = "QTYLTD";
                        crTableLogOnInfo = crTable.LogOnInfo;
                        crTableLogOnInfo.ConnectionInfo = crConnectioninfo;
                        crTable.ApplyLogOnInfo(crTableLogOnInfo);
    rpt.VerifyDatabase();
    For more info:
    SAP Crystal Reports .NET SDK Developer Guide
    SAP Crystal Reports .NET API Guide
    http://scn.sap.com/docs/DOC-21967
    http://scn.sap.com/docs/DOC-21953
    (Not sure if I gave you the last two links already.
    - Ludek

  • Report region runs very slow, but its sql runs fast

    We have a page with a report region Type :SQL Query (plsq function body returning sql query) which runs very slow, pegging the tach on our db box for almost a minute before returning report rows. However, if we run the generated sql from sql plus, it returns all the rows in under 10 seconds with nary a blip on the box. Any idas how what could be causing this or how to debug?
    Thanks,
    Steve

    OK, here is the bad boy, shortly after our code that returns the data.
    declare
    rc__ number;
    simple_list__ owa_util.vc_arr;
    complex_list__ owa_util.vc_arr;
    begin
    owa.init_cgi_env(:n__,:nm__,:v__);
    htp.HTBUF_LEN := 63;
    null;
    null;
    simple_list__(1) := 'sys.%';
    simple_list__(2) := 'dbms\_%';
    simple_list__(3) := 'utl\_%';
    simple_list__(4) := 'owa\_%';
    simple_list__(5) := 'owa.%';
    simple_list__(6) := 'htp.%';
    simple_list__(7) := 'htf.%';
    simple_list__(8) := 'wpg_docload.%';
    if ((owa_match.match_pattern(p_string =>
    'f'
    /* */,p_simple_pattern =>
    simple_list__
    ,p_complex_pattern =>
    complex_list__
    ,p_use_special_chars =>
    false)))
    then
    rc__ := 2;
    else
    null;
    null;
    f(p=>:p);
    if (wpg_docload.is_file_download) then
    rc__ := 1;
    wpg_docload.get_download_file(:doc_info);
    null;
    null;
    null;
    commit;
    else
    rc__ := 0;
    null;
    null;
    null;
    commit;
    owa.get_page(:data__,:ndata__);
    end if;
    end if;
    :rc__ := rc__;
    end;
    call count cpu elapsed disk query current rows
    Parse 0 0.00 0.00 0 0 0 0
    Execute 1 25.53 26.59 4492 20992 60 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 1 25.53 26.59 4492 20992 60 1

  • My 2012 Macbook pro is running very slow from this week

    Started from the day before yesterday, my Macbook runs very slow. A single click on anything can cause me to wait its finish running. Even when typing
    Here is the result
    EtreCheck version: 2.1 (101)
    Report generated December 4, 2014 at 11:02:03 AM EST
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Mid 2012) (Verified)
      MacBook Pro - model: MacBookPro9,2
      1 2.9 GHz Intel Core i7 CPU: 2-core
      8 GB RAM Upgradeable
      BANK 0/DIMM0
      4 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      4 GB DDR3 1600 MHz ok
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 4000 -
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Uptime: 1:16:59
    Disk Information: ℹ️
      TOSHIBA MK7559GSXF disk0 : (750.16 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      Macintosh HD (disk1) / : 748.93 GB (377.07 GB free)
      Encrypted AES-XTS Unlocked
      Core Storage: disk0s2 749.30 GB Online
      MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Computer, Inc. IR Receiver
      Apple Inc. FaceTime HD Camera (Built-in)
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Launch Agents: ℹ️
      [loaded] com.google.keystone.agent.plist [Support]
      [loaded] com.oracle.java.Java-Updater.plist [Support]
      [loaded] org.macosforge.xquartz.startx.plist [Support]
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
      [loaded] com.google.keystone.daemon.plist [Support]
      [loaded] com.microsoft.office.licensing.helper.plist [Support]
      [loaded] com.oracle.java.Helper-Tool.plist [Support]
      [loaded] com.oracle.java.JavaUpdateHelper.plist [Support]
      [loaded] org.macosforge.xquartz.privileged_startx.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist [Support]
      [loaded] com.facebook.videochat.[redacted].plist [Support]
    User Login Items: ℹ️
      iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
      有道词典  Application (/Applications/有道词典.app)
    Internet Plug-ins: ℹ️
      o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
      Default Browser: Version: 600 - SDK 10.10
      AdobePDFViewerNPAPI: Version: 10.1.12 [Support]
      FlashPlayer-10.6: Version: 15.0.0.239 - SDK 10.6 [Support]
      Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Support]
      Flash Player: Version: 15.0.0.239 - SDK 10.6 [Support]
      QuickTime Plugin: Version: 7.7.3
      googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
      SharePointBrowserPlugin: Version: 14.4.6 - SDK 10.6 [Support]
      AdobePDFViewer: Version: 10.1.12 [Support]
      Mathematica: Version: 9.0.1.4092152 [Support]
      JavaAppletPlugin: Version: Java 8 Update 25 Check version
    userinternetplugins ℹ️
      RealPlayer Plugin: Version: Unknown [Support]
      aliedit: Version: 1.0 - SDK 10.6 [Support]
      aThunderPlugIn: Version: Unknown
    Safari Extensions: ℹ️
      Extensions: No such file or directory
    3rd Party Preference Panes: ℹ️
      Flash Player  [Support]
      Java  [Support]
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          5% WindowServer
          2% hidd
          1% M-fM^\M^IM-iM^AM^SM-hM-/M^MM-eM^EM-8
          0% Finder
          0% Dock
    Top Processes by Memory: ℹ️
      172 MB softwareupdated
      112 MB ocspd
      103 MB com.apple.WebKit.WebContent
      86 MB Safari
      86 MB Finder
    Virtual Memory Information: ℹ️
      3.51 GB Free RAM
      3.52 GB Active RAM
      597 MB Inactive RAM
      965 MB Wired RAM
      1.50 GB Page-ins
      0 B Page-outs
    Diagnostics Information: ℹ️
      Dec 4, 2014, 10:21:17 AM QQ_2014-12-04-102117_JIAYIs-MacBook-Pro.hang
      Dec 4, 2014, 09:47:29 AM Self test - passed
      Dec 3, 2014, 11:23:25 AM com.apple.WebKit.WebContent_2014-12-03-112325_JIAYIs-MacBook-Pro.crash

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen. Click the Clear Display icon in the toolbar. Then take one of the actions that you're having trouble with. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Report with subreports. Web Service/XML problem. Please help!

    Hi,
    I have a composite report (main report with 9 subreports). The report uses web service as datasorce and is provided with single xml file containing the schema and all the tables for the main reports and its subreports.
    The problem I encounter is that i have to establish a connection for each subreport in order to get it work and it is the same connection. Moreover, I have observed that each time a subreport is drilled there is distinct call to the web service.
    So, i end up having a single .rpt file which makes up to 10 unnecessary calls over http just get the same xml data ???
    I've tried everything to solve this problem without any success.
    Option 1: Removing subreports. Not posible because main report can not handle multiple detail section separately.
    Option 2: Using multiple detail section in main report and conditionally suppress rows. Not possible
    Option 3: Removing datasource from subreports and pass array variables instead. Not posible
    Option 4: Remove subreports and use crosstabs in main report. Not posible
    Any ideas?
    Please I would greatly appreciate any input, I am getting quite desperate about this.
    Thank you very much.

    Subreports make their own data connection, the reason why subreports are used for other data sources.
    Post to the Report Design forum to help on redesigning the report

  • Paint performance with JScrollPane very slow in jdk 1.4?

    I got a simple program that overrides paintComponent on a JPanel. Then draws lots of lines, rectangles and some strings. The panel is then added to a scrollpane.
    The scrolling is very smooth in java 1.3.1, but very slow in 1.4.2
    the paintComponent takes between 16ms and 30ms with java 1.3.1 but 70-200ms with java 1.4.2.
    I tried turning of antialising etc.. but no help. Whats the "improvement" they made in jdk 1.4?

    Ok I made a simple example, which draws around 5000 elements.
    Sourcecode is here: http://www.mcmadsen.dk/files/ScrollPaneTest.java
    I did several testruns on java 1.4.2 and java 1.3.1, heres the "avarage" result:
    Java 1.4.2:
         Current: 140ms High: 203ms Avg: 144ms Low: 125ms
    Java 1.3.1:
         Current: 62ms High: 219ms Avg: 68ms Low: 47ms
    The paintComponent() looks like this:
    public void paintComponent(Graphics g)
    super.paintComponent(g);
    long offset=System.currentTimeMillis();
    PaintElement paintElementTmp;
    for(int i=0;i<paintElements.size();i++)
    paintElementTmp=(PaintElement)paintElements.elementAt(i);
    g.setColor(paintElementTmp.getBackground());
    g.fillRect(paintElementTmp.getX(),paintElementTmp.getY(),paintElementTmp.getWidth(),paintElementTmp.getHeight());
    g.setColor(paintElementTmp.getForeground());
    g.drawString(paintElementTmp.getText(),paintElementTmp.getX(),paintElementTmp.getY());
    long done=System.currentTimeMillis();
    long current=done-offset;
    sum+=current;
    if(current>high)high=current;
    if(low>current)low=current;
    count++;
    System.out.println("Current: "+current+"ms High: "+high+"ms Avg: "+(sum/count)+"ms Low: "+low+"ms");
    I tried all the renderinghints, but no difference (from the default settings). Also the scrolling is very slow and stops all the time in java 1.4.
    Any ideas on how to get java 1.4 to perform as java 1.3.1?
    Thanks

  • Report Viewer is very slow at first time

    Hi,
    We are facing very slow when loading the reports.For any search it is taking more time to load the reports.We are thinking issue is due to report viewer control and we are using report viewer control version 10.0.0.0.Could you please let us know how to resolve
    this issue.
    Thanks,
    Vijay

    How big id the query?  How much memory does the server have? It is possible that an execution plan/data pages of the query was thrown from the cache and SQL Server needs to compile/read the data from disk again.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Report with Subreport - Summary Table On First or Last Page

    Post Author: andbort
    CA Forum: General
    All-
    My apologies in advance for the long post. I would like to know if something can be done in a single report instead of having to spread it across two reports. I will use generic (Xtreme sample database) field names to explain my dilemma. I currently have the following report:
    Main Report
    Customer ID, Customer Name
    Subreport
    Order ID, Order Amount, Customer ID
    Each Customer and its associated subreport are displayed on a separate page. So it looks like this:
    (first page)
    1 City Cyclists
    100    $200    1
    101    $5000  1
    102    $350    1
    (second page)
    2 Pathfinders
    103    $760    2
    104    $20      2
    (third page)
    3 Bike-A-Holics Anonymous
    105    $120    3
    106    $270    3
    107    $400    3
    And so on. This report often has numerous customers (i.e. ~10 or more customers, thus ~10 or more pages). The business users would like to have a "summary" page at the beginning of the report. This summary page would be in basic tabular format, with one row per customer, but each row would contain values from the subreport. So the updated report would look like this:
    (first page)
    Customer ID       Customer Name                        Most Recent Order Amount
    1                       City Cyclists                             $350
    2                        Pathfinders                              $20
    3                        Bike-A-Holics Anonymous        $400
    (second page)
    1 City Cyclists
    100    $200    1
    101    $5000  1
    102    $350    1
    (third page)
    2 Pathfinders
    103    $760    2
    104    $20      2
    (fourth page)
    3 Bike-A-Holics Anonymous
    105    $120    3
    106    $270    3
    107    $400    3
    Is this possible in Crystal Reports 10?
    Additional Background: The application in question is ASP.Net 1.1 (Visual Studio 2003) which displays reports designed in Crystal Reports 10. The actual report displays customer records in the detail section Da. There are 5 subreports, one in each section Da, Db, Dc, Dd, and De. The summary page could be rendered either at the beginning of the report (e.g. report header) or at the end (e.g. report footer), but will ultimately need to contain Customer table field values, as well as field values from two of the five subreports. I am hoping that this requirement can be addressed in a single report, instead of having to spread it across two reports (each displayed in its own CrystaReportViewer control on the web page). I am assuming that a solution to the generic example above will be applicable to my specific report.
    Thanks,
    Andrew Bort
    National Grid
    [email protected]

    Post Author: Guy
    CA Forum: General
    Hi,
    If I understand you correctly, you could simply use a crosstab at the begginning of your report to summarize all customers.  If you put it alone in its section you'll be able to specify that you want a page break after.
    The remaining of the report should be a simple report where you group on your customer and the detail line showing a sale.
    finally, if I was wrong above and you still need subreports, you can use a shared variable (or a parameter) to allow the main report to receive the total from the subreport.
    Good luck!

  • Can anyone help with a very slow iMac?

    I'm getting increasingly frustrated by this computer, it takes an age to start up and then the processor makes it's noise for quite some time before allowing me to do anything.  Often the beachball is whirling around too.  I'm pretty useless when it comes to computers.  I ran the etrecheck software and have this info from it.  Can anyone offer any suggestions please?
    Problem description:
    very slow start up and slow to respond.  Processor seems to be working a lot
    EtreCheck version: 2.0.11 (98)
    Report generated 24 November 2014 19:11:43 GMT
    Hardware Information: ℹ️
      iMac (20-inch, Early 2008) (Verified)
      iMac - model: iMac8,1
      1 2.66 GHz Intel Core 2 Duo CPU: 2-core
      2 GB RAM Upgradeable
      BANK 0/DIMM0
      1 GB DDR2 SDRAM 800 MHz ok
      BANK 1/DIMM1
      1 GB DDR2 SDRAM 800 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      ATI Radeon HD 2600 Pro - VRAM: 256 MB
      iMac 1680 x 1050
    System Software: ℹ️
      OS X 10.10 (14A389) - Uptime: 16 days 11:58:6
    Disk Information: ℹ️
      WDC WD3200AAJS-40VWA1 disk0 : (320.07 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) /  [Startup]: 319.21 GB (29.23 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
      Apple, Inc. Keyboard Hub
      Apple, Inc Apple Keyboard
      HP Photosmart C5200 series
      Apple Inc. Built-in iSight
      Samsung M3 Portable Samsung M3 Portable 500.11 GB
      S.M.A.R.T. Status: Verified
      Timmy Teabags (disk1s1) <not mounted> : 500.11 GB
      Apple Inc. BRCM2046 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Computer, Inc. IR Receiver
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [loaded] com.Cycling74.driver.Soundflower (1.5.1) Support
      [not loaded] com.maudio.usb.keystudio49i.driver (1.8.1) Support
    Startup Items: ℹ️
      M-Audio Firmware Loader: Path: /Library/StartupItems/M-Audio Firmware Loader
      Startup items are obsolete and will not work in future versions of OS X
    Problem System Launch Agents: ℹ️
      [failed] com.apple.AirPlayUIAgent.plist
      [failed] com.apple.bird.plist
      [failed] com.apple.CallHistoryPluginHelper.plist
      [failed] com.apple.CallHistorySyncHelper.plist
      [failed] com.apple.cmfsyncagent.plist
      [failed] com.apple.EscrowSecurityAlert.plist
      [failed] com.apple.pluginkit.pkd.plist
      [failed] com.apple.printtool.agent.plist
      [failed] com.apple.sbd.plist
      [failed] com.apple.scopedbookmarkagent.xpc.plist
      [failed] com.apple.security.cloudkeychainproxy.plist
      [failed] com.apple.spindump_agent.plist
      [failed] com.apple.telephonyutilities.callservicesd.plist
    Problem System Launch Daemons: ℹ️
      [failed] com.apple.AssetCacheLocatorService.plist
      [failed] com.apple.awdd.plist
      [failed] com.apple.coresymbolicationd.plist
      [failed] com.apple.ctkd.plist
      [failed] com.apple.diagnosticd.plist
      [failed] com.apple.icloud.findmydeviced.plist
      [failed] com.apple.ifdreader.plist
      [failed] com.apple.nehelper.plist
      [failed] com.apple.periodic-daily.plist
      [failed] com.apple.periodic-monthly.plist
      [failed] com.apple.periodic-weekly.plist
      [failed] com.apple.sandboxd.plist
      [failed] com.apple.softwareupdate_download_service.plist
      [failed] com.apple.spindump.plist
      [failed] com.apple.tccd.system.plist
      [failed] com.apple.wdhelper.plist
      [failed] org.cups.cupsd.plist
    Launch Agents: ℹ️
      [running] com.m-audio.keystudio49i.helper.plist Support
      [invalid?] com.maintain.CocktailSystemEvents.plist Support
      [invalid?] com.maintain.PurgeInactiveMemory.plist Support
      [invalid?] com.maintain.Restart.plist Support
      [invalid?] com.maintain.ShutDown.plist Support
      [running] com.maintain.SystemEvents.plist Support
      [loaded] com.oracle.java.Java-Updater.plist Support
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [invalid?] com.maintain.HideSpotlightMenuBarIcon.plist Support
      [loaded] com.oracle.java.Helper-Tool.plist Support
      [loaded] com.oracle.java.JavaUpdateHelper.plist Support
      [loaded] com.rogueamoeba.hermes.plist Support
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist Support
      [loaded] com.google.keystone.agent.plist Support
      [running] com.spotify.webhelper.plist Support
    User Login Items: ℹ️
      iTunesHelper UNKNOWNHidden (missing value)
      Spotify Application (/Applications/Spotify.app)
      Google Drive Application (/Applications/Google Drive.app)
    Internet Plug-ins: ℹ️
      JavaAppletPlugin: Version: Java 7 Update 71 Check version
      FlashPlayer-10.6: Version: 15.0.0.223 - SDK 10.6 Support
      Default Browser: Version: 600 - SDK 10.10
      AdobePDFViewerNPAPI: Version: 10.1.12 Support
      AdobePDFViewer: Version: 10.1.12 Support
      Flash Player: Version: 15.0.0.223 - SDK 10.6 Support
      QuickTime Plugin: Version: 7.7.3
      Musicnotes: Version: 1.17.3 Support
      iPhotoPhotocast: Version: 7.0
    3rd Party Preference Panes: ℹ️
      Flash Player  Support
      Java  Support
      M-Audio KeyStudio49i  Support
    Time Machine: ℹ️
      Skip System Files: NO
      Auto backup: YES
      Volumes being backed up:
      Macintosh HD: Disk size: 319.21 GB Disk used: 289.98 GB
      Destinations:
      Studio External [Local]
      Total size: 0 B
      Total number of backups: 0
      Oldest backup: -
      Last backup: -
      Size of backup disk: Too small
      Backup size 0 B < (Disk used 289.98 GB X 3)
    Top Processes by CPU: ℹ️
          3% WindowServer
          0% AppleSpell
          0% fontd
          0% notifyd
          0% Google Drive
    Top Processes by Memory: ℹ️
      88 MB Mail
      43 MB Spotify
      30 MB mds
      28 MB mds_stores
      28 MB iTunes
    Virtual Memory Information: ℹ️
      271 MB Free RAM
      456 MB Active RAM
      500 MB Inactive RAM
      400 MB Wired RAM
      34.73 GB Page-ins
      1.65 GB Page-outs

    You only have 2GB of RAM, which is not enough to run OS X 10.10 smoothly (it's the bare minimum requirement to run it at all). Consider buying more at http://eshop.macsales.com (there are other vendors as well). Find the correct RAM for your model by searching for your iMac's model identifier - iMac8,1. Also look at their installation videos.
    You have several failed Apple launch agents, you may need to re-install OS X to fix that. Boot the computer while holding down the Command ⌘ and R keys at the same time. This will boot to the Recovery partition. Choose the reinstall OS X option.

  • Crystal Report with subreports breaks when running on different databases.

    HI there
    I have a report with 5 subreports on that only works on the database I am designing it on. As soon as I run the report through my application on a database different to the one I design on, it seems to have lost all the parameter fields I created in one of the subreports (the one I have just added, the other 4 work fine) used to link to the main report.
    It then pops up with the Parameter Value box and asks for values for 2 parameters that I do not use to link to the subreport, nor have added to the subreport in design time, and in code when I step through the parameterfields list property, the parameters I added in design time to the subreport are not in the list but somehow these 2 parameter fields have been added to the subreport? These 2 parameters have the same names as some main report parameters which have been set already, but as mentioned these somehow now belong to the subreport.
    When I run the report through my app on the database I design on all parameters are present and the report works fine.
    The parameters in the subreport are all command parameters, linking to a command field, a formula field and another non-command parameter in the main report. All these are set and work fine in the main report.
    I set all the parameter values in code to the main report, and the subreports all use those to link to.
    I am using CR v10.2 with VB2008 using .NET 2.0 framework (although I had similar problems in VB2005), where the report links directly to a SQL databse via commands. There are 4 commands in the main report and one in the problematic subreport. The subreports command incudes a SQL "IF" statement based on one of the parameters I am linking from the main report.
    Please let me know if more info is required.
    Thanks.

    Hello, Eugen;
    I understand you are using Visual Studio .NET 2008 with bundled Crystal Reports Basic for 2008 (10.5). Do you have a full version of Crystal Reports you use to design reports with or are you designing inside Visual Studio .NET?
    I would like to suggest some ways to test and narrow down the issue.
    One subreport appears to be changing the parameters used when the underlying database changes. Is there a change in the Command it is based on?
    Create a simple report using the same command and the same database as is used in the problem subreport. Run it to confirm you get the same data as in the original.
    Now in design, go into Database|Set Datasource location and change to the new datasource. Do a Database|Verify database. Do you see the change in parameter fields you are seeing at runtime? Has the Command changed? Does it run through the application?
    If you see the same change there, it will have to be addressed in the designer first. If it runs well there, let us look further at the application.
    What is the order of your code?
       Open main report
       Logon to database
       Pass parameters
       Open each subreport
       Logon to the database
       Pass parameters
       View the report.
    Do you set all database locations before passing parameters?
    Were any of the parameters created as "NULL" in the designer?
    Once I have the answers to these questions we can look a little further.
    Elaine

  • Login error with report viewer when opening Crystal report with subreport

    Hi
    I have a problem with a login error (database vendor code 18456) when I try to open a crystal report to view it.
    The report uses data from an external payroll database but I'm running it via our Accounts system (it's a convenient front end for users to run the report from). This works fine for another report that doesn't have any subreports. However when I run the Crystal report that has subreports, the report generation process works but when the crystal reports viewer tries to open the report I get the login error. It doesn't seem to be passing the login details for the payroll database down to the subreport.
    I'm using Crystal Reports version 11.0.0.1282. The Accounts system is Technology One. Tech One have provided a report template that has several formulas designed to allow Tech One to play nicely with Crystal. One of these formulas allows me to enter the nickname of the external database that the report needs to use. The external database's connection details are fully specified in the Tech One configuration section (server console). So in this case the report says use database U1 & the server console identifies U1 as being the payroll database, specifies the connection path  & has the username & password required to logon to the payroll database/server.
    The report is running ok & retrieving data, but for some reason the viewer is erroring. If anyone has any ideas for how I can get the login details used to run the main report to flow through to the subreport it would be much appreciated.
    Thanks
    Sue

    I understand your  frustration. We can do a few things. But really, it should be Technology One contacting us. To use an analogy (which you are free to share with Technology One). They built a car and sealed the hood. You bought the car, but he engine does not quite run as it should. You bring the car to the mechanic and all he can do is look at the car as he can not even open the hood.
    In any case, here is what I would do if I could open the hood (e.g.; if I was dealing with Technology One):
    1) Look up database vendor code 18456. This is simply the error our print engine is receiving from the database client and it simply passes it through relatively unhandled. This you should be able to do your self or ask Technology One to tell you what that means.
    2) Break out the subreport and see if it runs on it's own in the application (if this is a permissions issue - which I doubt -  it should come up here too). Unfortunately, this is for Technology One to do...
    3) Run the report (with the subreport) in the CR designer. Does it work there? If this is a win app and it works, we again eliminated permission issues. And we also confirmed that the report is good. Again, Technology One should do this for you.
    BTW.; CR 11.0 is out of support - not sure if you or Technology One are aware of this...
    4) Can the developer duplicate the issue on his development computer?
    Now, there are couple of instances where you say something like; "the report works and gets data, but the viewer errors out":
    +The report is running ok & retrieving data, but for some reason the viewer is erroring.
    However when I run the Crystal report that has subreports, the report generation process works but when the crystal reports viewer tries to open the report I get the login error.  +
    How do you know the report is retrieving data? From the error I would say the report never connects, thus the error / request for a logon...
    So, the short of all of this is; get Technology One to contact us. They can do it over the forums or obtain a phone case here;
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100
    Now, here is a warning. As CR 11.0 is out of support Technology One will have to upgrade to CR 11.5, before that can create a phone case, which for them and you brings up another bunch of issues...
    If you do not get any joy from the support person at you are talking to at Technology One, get him to escalate the issue. They are the ones that should be talking to us...
    Ludek

  • Online RPD access very slow from the server

    Hi Experts,
    When we try to access RPD from the production it was very slow.
    Is there any setting to make it fast.
    Thanks in advance for your ideas.
    Regards,
    RMD

    Yes,
    Install a bi server component in windows box(which is there in same network of your production machine). This is dedicated box for rpd changes...
    Now, point AnalyticsWeb(which comes default) machine name to: the linux box (production) where online rpd is there...
    this machine name should be mentioned in Server field while configuring AnalyticsWeb DSN.
    this way, you can make online changes for prod rpd.. This is because, we can't open rpd in linux box as there with windows..
    Thanks for making me to recollect this valuable information... :)

Maybe you are looking for