Crystal Reports 10 Enterprise Server Issue - Exporting Large Reports to PDF

Weu2019re implementing a Crystal Reports 10 Server for a customer but weu2019re having an issue with exporting large reports to PDF.  The report size that starts to show this issue is roughly 300 pages with 20 records per page.  We use the default Crystal ActiveX viewer. 
Basically what happens is that the user will launch the report in the ActiveX viewer and the large report will take a while to load, as much as 3 to 4 minutes.  The user may then wish to export to PDF.  Once they attempt it with these large reports the viewer will basically hang and possibly be processing but will then time-out after roughly 5 minutes with this error:
u201CProxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /thinqreports/THINQCrystalInterface.asp.
Reason: Error reading from remote server
IBM_HTTP_Server/6.1.0.9 Apache/2.0.47 (Unix) Server at lmsproxy.aurora.org Port 443u201D
We believe this error is coming from a server on our network.  We have a proxy server between users and the Crystal Server that has a 5 minute time-out for connections.  What we want to know is:
- Is there a way to speed up this export to PDF process?
- Should the Crystal Viewer be keeping an http connection alive to the Crystal Report Server while its doing this export process?
- If not, what port does Crystal Viewer use to communicate with the Crystal Report Server? 
- Is there something we can set in Crystal to keep an http connection open? 
- What is actually occurring during this export process? 
Occasionally, we may get the above error when simply launching a report, not just attempting to export to PDF.  We presume that is because loading the report into the Crystal Viewer from the Crystal Report Server is taking longer than 5 min.
Anyone have any thoughts?  Thanks.
Scott

Scott,
As this is happening within Enteprise (and I am assuming the report does not time out in the Crystal Reports Designer) I would suggest posting this to the BusinessObjects Enterprise Administration
forum.
My limited Enterprise knowledge would be to suggest scheduling the report as PDF but I don't know if that is a viable option for you.

Similar Messages

  • Any ideas on how to merge 2 reports on page to export to Excel or PDF?

    This is for OBIEE 11g (we are currently running 11.1.1.6.8). We have a user requirement to put the prompt selections on each report that is exported to Excel or exported to PDF. This requirement has to do with auditors. We cannot use the Filter Criteria view because we have saved filters that contain other saved filters so not all of the filters are shown. What the users want is to just have the ability to Export to Excel or PDF for one report and add the prompt criteria so that it also shows in Excel or PDF. We know we can use presentation variables and create a narrative view to show all of the prompt criteria. But we don't want to have this in a view in the compound layout of every report on the page (we have many pages with many reports on them). What we would like to do is have the Export (to Excel or PDF) download the prompt criteria (like when you use the printable HTML and printable PDF functionality only we want this for one report). So think of merging the report that is being Exported to Excel or PDF with another report that is built to show the prompt criteria. Is anyone else doing this kind of functionality? Any ideas on how to do this with javascript?
    We created an SR on this to find out if Oracle had some ideas but they did not and said that this is already an enhancement request ( Bug 8242921: ALLOW PROMPTS TO BE DISPLAYED WHEN DOWNLOAD TO EXCEL)
    Any help would be appreciated. Marybeth

    Did u tried the first method? i.e directly exporting the analysis to excel?
    Thanks.

  • Financial Reporting Web Server can't find report server.

    Hi all,
    I've installed Financial reporting print server, report server, and scheduler on a separate server from the Web Server installed with Workspace. I can create and run a report with FR Studio and have saved it to the Workspace server.
    When I run the report on the Workspace server I get the following error:
    Your Financial Reporting Web Server is unable to locate the report server server1.na.ds.monsanto.com:8299. Please contact your administrator.
    (5514)
    I have the same configuration on two other servers and things are working fine. How do I tell the Web Server (server1) where the report server is. Why is it looking on the server1 server?
    Thanks.

    Thanks for your responses.
    I've run the configuration utility on the server where I have installed the report server and compared it to the report server that works. I looks like logically I have things set up correctly.
    The "Configure Financial Reporting" asks me where the "Workspace Web Application" is and that is set correctly and is working because I can get into studio and connect to the report server it lets me design and run and save the report. Studio saves the report to the correct workspace server so I know FR knows about the workspace server.
    I ran the config utility on the Workspace web server and selected "Configure Web Server". The second screen lists all of the components and "Financial Reporting" is one of the components. This is also set up logically identically to the server pair that is working. All of the components are set up on the web server to point at the web server.
    So I still don't understand how to tell workspace to look at the report server. The report server is finding the workspaces web server just fine.
    All services are up and running.
    Keith

  • Crystal Reports 2008 Server Error when viewing report

    Hello All,
       I have loaded a CR 2008 report onto the CR 2008 Server. When I view the report from InfoView or CMC, I get the following error message:
    Error in File <report name>: Unknown Database Connector Error .
    I setup the ODBC datasources on the server as they are on my client PC where the Report originally worked. Are the ODBC datasource connections supposed to copy over with the report? Or do I have to manually enter them into the "Database Configuration" section?
    Thank you in advance.

    1212487 - Error: "CRAXDRT Error Occured on Server. Error Number:-2147221005"
    Symptom
    A report is called through the Active Server Pages (ASP) Report Server to be displayed in the Report Viewer for ActiveX. However, the report is displayed with blank pages and when the viewer is switched to the Report Viewer for HTML the following error is displayed:
    "CRAXDRT Error Occurred on Server. Error Number:-2147221005 Error Description: 006ASP 0177 Server.CreateObject Failed~Invalid Class String"
    The same ASP application returns the report correctly when it is called from a client computer with the full version of Crystal Report 8 Developer Edition installed.
    Resolution
    It was found that the file, Emfgen.dll, was not installed and registered on the web server computer during the installation of the Crystal Reports ASP Reports Server. The report could be displayed correctly on the client computer, without Crystal Reports Developer Edition installed, after this file had been installed on the web server computer.
    For more information on installing the Crystal Reports web components please search for and download Scr8_WebManualInstall.zip from our website at:

  • Exporting large report to Excel format (90K lines)

    Hi,
    I am trying to export a 90K line report to excel format and I get that error messsage:
    Description : Une erreur d'application s'est produite sur le serveur. Les paramètres d'erreur personnalisés actuels pour cette application empêchent l'affichage à distance des détails de l'erreur de l'application (pour des raisons de sécurité). Cependant, ils peuvent être affichés par les navigateurs qui s'exécutent sur l'ordinateur serveur local.
    Détails: Pour permettre l'affichage des détails de ce message d'erreur spécifique sur les ordinateurs distants, créez une balise <customErrors> dans un fichier de configuration "web.config" situé dans le répertoire racine de l'application Web en cours. Attribuez ensuite la valeur "off" à l'attribut "mode" de cette balise <customErrors>.
    <!-- Fichier de configuration Web.Config -->
    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>
    Remarques: La page d'erreurs actuellement affichée peut être remplacée par une page d'erreurs personnalisée. Pour ce faire, modifiez l'attribut "defaultRedirect" de la balise de configuration <customErrors> de l'application, de sorte qu'il pointe vers une URL de la page d'erreurs personnalisée.
    <!-- Fichier de configuration Web.Config -->
    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
    </configuration>
    I believe it is a timeout problem. Any idea how work around this?
    Thanks,

    I don't have the right to create reports. With those datas, I need grouping them filtering them, commenting them, creating TCD and distributing it. I believe it is easier exporting it and handle it. Also I don't want the data changing from day to day.
    Then you are foobar'ed.
    there is nothing more you can do it the SSRS export feature is not working for you, and you don't have access to the CM12 db and you can't create report. There are no other option to access the data.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Newbie issue: export a report and/or email

    The application in question is a patch management system. I would like to create a report with charts, basically design a special pages of statistics, that could be emailed out to a group of individuals on a daily or weekly basis, or, alternatively, have the page send to an external web site which auto-updates daily.
    The purpose of this is to provide an easy overview of critical information to upper management without them having to wade through all of the additional reports and information the whole application provides.
    Does anyone know of a fairly simple way to accomplish this?
    Thanks.

    polite bump

  • Error creating custom reports. Permissions issue with custom reports

    I am having permission issues with reports. I am building a new Configuration Manager  2012 infrastructure and I have configured the Site server on Server1 and the DB is on Server2. Server2 also hosts the Reporting Point and SSRS roles/features. If
    I look in Monitoring at the Site Status and Component Status are all green no issues with the setup.
    Running SQL 2008 SP2 (no CUs). I have a service account that I used to install Configuration Manager and SQL. This service account is running the SQL service on Server2 and i am using the same account as the Reporting Services Point Account.
    I log into the SCCM console with a different user account, lets call it Admin1. This account is a member of the Full Administrator role. I can run any built in report.
    When I open the SSRS website and try to create a custom report I connect the DataSource using Windows Authentication. So the Datasource is connecting using the logged in users account. In this case Admin1. I test the connection and it connects fine.
    I test this query. (Select * from v_R_System) I only have about 10 workstations discovered so the report shouldn’t be very big. I get an error “The Select permission was denied on the object ‘v_R_System’, Database ‘CM_XXX’, schema ‘dbo’. (Microsoft sql server,
    Error: 229)”
    I have fixed the SELECT permission error by going into the database (using SQL Management studio) and granting Admin1 Select rights to the Configuration Manager database. I can now run the above query and make custom reports.
    My 2<sup>nd</sup> problem is that other members of the Full Administrator role cannot run these custom reports unless I go into the database and grant them the SELECT permission.
    Question:
    Should I have to manually go into the database to add SELECT permissions(i could use a group)? shouldnt Configuration Manager take care of this for me?
    Maybe the built in reports use the SQL service account rights and the custom ones do not? Am I doing something wrong with the Datasource when I create these custom reports?
    What is the correct process for creating custom reports?

    I think i am getting closer to a solution. After the Custom report is created. i can go back into the report. Delete the DataSource. Then browse for a dataSource. there is a datasource located in http://server2/reportserver/ConfigMgr_XXX/
    That datasource is used by all builtin reports. if you view the properties on the Credentials tab it is set to "do not use credentials" and the option is greyed out / cannot be changed.
    it looks like i still need the SELECT permissions on the database to create the report initially but at least i have solved the problem with viewing these reports.
    Can anyone confirm that what i did is correct?

  • Exporting large banner to pdf in InDesign - awkward way

    Some new colleague has just asked me today to help her with exporting a large banner from InDesign CS5 for print.
    The  banner is quite huge but InDesign - as well known to most except to  apparently her as a so called "Graphic Designer" - isn't suited for the  production of large banners rather being a text program with the  limitation of 5486,4 mm for each of the two axis.
    The  banner that she has to print exceeds this length by far thus she asked  me for help today to figure out a way to export it and send it to the  print shop. It contains two blocks with black color, three text blocks  and a background image covering the whole banner. Resolution is fine for  the purpose of the banner print/material so don't mind this for now.
    The important part and question is this...
    I  have before had a similar job in my company doing a similar banner with  similar dimensions. However knowing that this would prove impossible to  create in neither InDesign nor Illustrator in those dimensions I decided to basically create it in Illustrator with only  vector graphics and outlined text with half the dimensions in either  axis direction of the real physical dimensions needed. In other words  50% of the physically requested banner size for the final print. I then  exported the Illustrator file to pdf and made an agreement with the  print-shop that they would upscale it to double  the size or in other words back to 100% of the size needed.
    This little maneuver was a quick and easy solution of mine to a large banner request.
    However  as mentioned the present banner was firstly created using InDesign -  which I think was a bad idea in the first place since I would have  personally recommended and preferred Illustrator - and secondly it  wasn't done with the right physical size for output in mind.
    Now  while discussing how to upscale this banner my colleague begun going  into the print-dialogue in InDesign, chosing the "Post Script" option  (of the Post Script driver installed I guess),  then proceeded somehow to Adobe Distiller and started distilling a  version of the banner. The whole thing happened so fast that I can only  roughly recall this much but after the process took place the outcome  wasn't neither satisfying to her (somehow, don't ask me why) nor did it  seem to upscale the file.
    I  then paused and looked confused for a second after which I asked her  what exactly she was trying to achieve with this action. The explanation  was - apparently - that this was "a standard procedure in a print shop"  where she had previously worked and that this "somehow was the best way  to export" in a situation like that. I am guessing here whether she  meant the pdf or the solving the actual problem with the banner size.
    Anyhow  I then asked how this would make the banner or quality of it (or both  if taking it exactly) LARGER so the banner would resize to - say - 200%  if she was using half of the correct dimension size.
    Now  I am always willing to learn something new and I admit that I don't  know everything (who does) but unless something really new has happened  in the last ten years that has given InDesign the ability of upscaling a  banner with the described content (and me having slept a long  beauty-sleep without my knowledge) I don't EVER recall having heard that  a procedure like THIS or ANY procedure in this situation would be  solving the problem UNLESS the banner's image has the double resolution which the  final banner print requires and is subsequently upscaled from 50% to a 100% in the  print shop.
    I also guess that the export  -  Ctrl+E for InDesign or Illustrator - which I used the last time generates a  perfectly working pdf in this connection that any print shop would luckily  accept if just the rest is meeting their technical requirements for printing.
    Now tell me that I am right because this really sounds odd to me...
    Thanks for any input in advance.

    Okay, thanks for the input.
    So I do understand the answers correctly when I say that my solution and proposal fully works and that distilling is unnecessary when exporting to pdf from either of the two applications since it a) is a perfectly working solution in regards to the print shop and b) holds - largely - the same export settings as when accessing the Adobe PDF printer or Adobe Distiller. Could anybody confirm this with a "correct" or "incorrect"?
    If this is correctly understood why all the different pdf export solutions? Is it just to make the options look a bit "bigger" and giving people more options to access the pdf-export settings?
    I remember that when a colleague in our previous CS1 suite created a pdf with the Adobe PDF printer and I did the same using the Ctrl+E export pdf option (which were both done from within InDesign) we got two different pdf file sizes (in i.e. kB). Her's was actually smaller than mine. I don't know if this has changed in the newer Adobe CS versions in particular the latter CS5 and honestly I don't know why - except for the settings - there should be any difference. I am not 100% sure anymore since it's been about half a year ago or so but I think to be able to remember that our export settings were similar if not the same (most likely some of the standard settings).
    Any thoughts on this one...?

  • Crystal Reports Viewer Kerning issue

    Hello, I am using the Crystal Reports Viewer and the .NET ReportDocument object to either display a Crystal Report or print it to PDF. I have one paragraph that is a disclaimer and appears in Times New Roman Italics. In this case, the word "of" appears with the letter o and the letter f almost overlapping. This only appears when using the viewer, if I use Crystal Reports to view or export the report, it works fine. If there is a way to upload images or supporting documents, I can provide an example.
    Thanks, Steve

    Hi Ludek,
    - My default printer driver is Adobe PDF, installed with Adobe Acrobat 8 Professional. All reports will be printed to the Adobe Printer (not exported to PDF). I get better results this way.
    - I tried without a printer selected as recommended with no effect.
    - The problem is noticeable in both the viewer and the exported PDF.
    - I have tried both a database field and a static text field. If you want I can create a text field in the report I supply to you that will be identical to the database field, so you can see that it occurs in both cases.
    - Please note that this occurs in italicized text only. I'm using Times New Roman.
    Let me know where I can provide you with the report file.
    Thanks, Steve
    P.S. I'm new to this forum so could you provide me with a link or an explanation on how to award points, what is appropriate, etc...

  • From report server database how to know reporting services server

    from report server database how to know reporting services server
    Thanks

    Hi Ajay,
    If I understand correctly, you want to know
    Reporting Services server name based on report server database. Based on my research, I find that the Reporting Services server name is the computer name which install the report server. So we can try to click Start button, right-clicking Computer,
    and then clicking Properties. Under Computer name, domain, and workgroup settings, you can find your computer name.
    Besides, the report server database is a SQL Server database that stores the following content:
    Items, Subscription and schedule definitions, Report snapshots and report history, System properties and system-level security settings, Report execution log data, Symmetric keys and encrypted connection and credentials for report data sources.
    For more information about report
    server database, please refer to the following link:
    http://technet.microsoft.com/en-us/library/ms156016.aspx
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine xiong
    Katherine Xiong
    TechNet Community Support

  • Problem while exporting a report using CSV

    Dear friends / experts ,
    after successful genration of report my end users want to export that report i.e
    while exporting a report in portal using " Export CSV" option , am getting CSV file as semicolon ( seperated instead coma(,)
    please help me where can i change those settings to achive this CSV file with coma separated.
    thanks in advance..
    regards
    anand

    Check the below link
    http://help.sap.com/saphelp_smehp1/helpdata/en/d2/11a28fc26d4042a6d230a9783152f2/content.htm
    [Steps to change the delimiter in csv export WAD or portal|http://forums.sdn.sap.com/thread.jspa?threadID=1988651]
    To set the field separator, go to SPRO and choose
    -> SAP Reference IMG
        -> SAP Customizing Implementation Guide
             -> SAP NetWeaver
                  -> Business Intelligence
                       -> Links to Other Source Systems
                            -> Connection Between Flatfile and BI System
                                     -> Set options for uploading flat files
    Regards
    KP
    Edited by: Konduru Prashanth. on Feb 29, 2012 3:13 PM

  • Crystal Reports Server 2008 (Linux) - Crystal Reports/MySQL/ODBC Issue

    Hello,
    I have successfully installed CRS '08 on a Red Hat Enterprise Linux 4 server.  All services run fine.
    In the CMC, I have uploaded a Crystal Report that connect to a remote MySQL server. 
    I have installed the My SQL ODBC 3.51.11 and .12 Drivers as a System DSN.
    I have proven that the reports run fine in Crystal Reports 2008 directly against the remote MySQL DB server.
    (in Windows but with the same 3.51 ODBC Drivers)
    I have also proven that the database connection works okay from the CRS '08 Red Hat server to the remote MySQL DB server, when also creating a system DSN (using bash ./ODBCConfig)
    The problem is that when I log into the CMC or InfoView, and when I run the Crystal Reports from there, I get an error message:
    "Error in File <MyCrystalReport>: Failed to load database information"
    Is there something wrong with my specific Crystal Reports' Database Configuration? (Right click- Database Configuration)
    I see the driver was registered correctly in the /etc/odbc.ini file
    Am I supposed to set any other ODBC environment variables?
    Is there are firewall issue (port 3306 is already open)?
    In summary, the install was successful, and Crystal Reports can be uploaded and viewed via CMC or InfoView, but I cannot run the Crystal Reports against the database.
    Please advise, Thanks!

    Hi, I'm facing a similar problem. My ODBC DSN never works with CRS. Here are the details:<br><br>
    (1) I  installed the CRS 2008 in /opt/crystalreportsserver_2008_v1/ on a Linux platform. The CRS works well. I created a report with Crystal Reports 2008. This report directly connects to a MySQL server. After I published the report and manually modify its database configuration, I can browse it from InfoView. I'm sure that CRS, MySQL, and a report connecting to MySQL are all good.<br><br>
    (2) Then, I created an ODBC DSN on a Windows platform. This DSN connects to a MySQL server. I created another report with Crystal Reports using this DSN. The report can show the data within Crystal Reports.<br><br>
    (3) Then, I published the second report to CRS, but when I try to browse it, I always get such a message: Failed to open the connection.<br><br>
    I have configured the ODBC for CRS on the Linux server and I think the configuration is correct. This is how I do that: I edited the /opt/crystalreportsserver_2008_v1/bobje/odbc.ini file. In the file I added a data source called ods_telstar. Following is the content of the file:<br><br>
    [ODBC Data Sources]<br><
    CRSQLServerWP=DataDirect 5.3 SQLServer Wire Protocol Driver<br>
    CRSybaseWP=DataDirect 5.3 Sybase Wire Protocol Driver<br>
    CRText=DataDirect 5.3 Text Driver<br>
    %SYBASEDSN%=DataDirect 5.3 Sybase Wire Protocol Driver<br>
    ods_telstar = MySQL<br>
    <br>
    ... <br>
    <br>
    [ods_telstar]<br>
    Description     = ODS on telstar<br>
    Trace       = Off<br>
    TraceFile   = stderr<br>
    Driver      = /opt/crystalreportsserver_2008_v1/bobje/enterprise120/linux_x86/odbc/lib/libmyodbc5.so<br>
    SERVER      = xxx<br>
    USER        = xxx<br>
    PASSWORD    = xxx<br>
    PORT        = 3306<br>
    DATABASE    = ods<br>
    <br>
    In the middle I removed some data source definitions that are by default in the file. Note that I use "xxx" to replace the server name, user, and password. Such information is for internal use and I'm sure the original information is correct. The MySQL ODBC driver file has been put in the correct location. Correct access permissions has been assigned to the file.<br><br>
    I've tried to restart the CRS server, but still the report using ODBC DSN cannot be viewed.<br><br>
    The reason that we want to user ODBC DSN is that we may have many reports to publish. When we design the reports, we specify that they get data through an ODBC DSN such as ods_telstar. If we configure the same DSN on CRS, then we don't need manually modify each report's configuration after we publish them. If these reports are directly connecting to MySQL, then we have to manually modify each one's database configuration after we publish them.<br><br>
    I've no idea what's wrong with all the setup. Any suggestions and comments are appreciated!<br>

  • Crystal Report 9 performance issue wehn we move old DB to new DB server

    We are using Crystal Reports 9 version, recently we move to new database server and reports data source are pointing to Old database server and old database server is no longer in the network.
    , Now we have issue with the performance, if the we call the reports from web application, it is talking long to retrieve the report at least 1 min.. , if we manually update the report data source pointing to new server and the reports are pulling in 1 second, Is there any easy solution to update all the report pointing to new server, we have 3000 reports, we can not use manual process, it will take long time and it is also issue with the future if we change the server.
    Thanks!
    Ram

    The 1 minute timeout is due to ODBC driver trying to connect, it's the default timeout you are seeing. There is not tool Cr has to migrate/update database connection info. You can develop your own though or search the web for a third party tool, I'm sure there are lots out there.

  • Issues in exporting SSRS report to PDF format in Report Server - Blank spaces are deleted

    Hi Gurus,
    I have a problem in exporting SSRS report to PDF format. It deletes all the blank spaces when I use bullet in a Text box and try to export to PDF formt in Report Server . For example
    •             Project submitted to the TRC
    Result in PDF format:
         • ProjectsubmittedtotheTRC
    I also noted that when I try to export to PDF in Visual Stuio 2005 (Business Intelligence development studio), it does not delete any blank spaces and shows the correct aligned Data in PDF format.
    Please help me as it is frustrating a lot
    I would highly appreciate for your quick response 

    Was there ever a solution found for this as i have the same issue.
    When bullet point is entered in a field all the spaces are removed when exported to PDF
    i tried exporting to excel and it does not remove spaces, however this is no use to me as it needs to be in PDF
    Using IE 7 (Don't think the browser has anything to do with it as this happened via a subscription)
    Didn't know SSRS had specific Service Packs, i though they came as patches to SQL Server (SQL Server is on Service Pack 3)
    This should be easy to replicate all you need to do is copy text containing a bullet point into a sql server database field and then add this field to a report export to pdf and the spaces are gone
    Thanks in advance,
    Mark Brunton
    brunzire

  • Crystal Reports prompt issue on export: "The report you requested requires further information"

    I have searched through forums for a solution but none seem to work for me.
    I have an ASP Webform/MySql application which displays Crystal Reports.
    The ones which do not require a user to enter a parameter display fine and I am able to click on export on the CR toolbar and download, e.g. .pdf format.
    On the report that require a user to enter a parameter, the report renders fine but when I click on the export button, i get the prompt:
    "The report you requested requires further information"
    asking for DB login credentials. How can I avoid this?
    My Code:
    Aspx page:
    <%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
    <div>
              <CR:CrystalReportViewer Width="960px" ID="CrystalReportViewer1" runat="server" AutoDataBind="true" />
    </div>
    protected void Page_Load(object sender, EventArgs e)
             if (Request.QueryString["report"] != null)
                    string reportToGet = Convert.ToString(Request.QueryString["report"]);
                    switch (reportToGet)
                            case "payslip":
                            PaySlip();
                            break;
                            case "pastpayslip":
                            PanelPastPaySlip.Visible = true;
                            break;  
                           default:
                           break;
    protected void btnSearch_Click(object sender, EventArgs e)
          if (txtDate.Text != null || txtDate.Text != string.Empty)
          if (DateTime.TryParseExact(txtDate.Text, "yyyy-MM-dd", CultureInfo.InvariantCulture,
          DateTimeStyles.None, out date))
          PastPaySlip();
    private void PastPaySlip()
                // Some code....
                PayMasterDataSetTableAdapters.pastpayslipcasualviewTableAdapter ta =
                    new PayMasterDataSetTableAdapters.pastpayslipcasualviewTableAdapter();
                PayMasterDataSet.pastpayslipcasualviewDataTable dt = new PayMasterDataSet.pastpayslipcasualviewDataTable();
                ta.FillBy(dt, userId, businessId);
                cReport = new ReportDocument();
                string reportPath = Server.MapPath("~/Views/CasualLabour/Reports/PastPaySlip.rpt");
                cReport.Load(reportPath);
                cReport.SetDataSource((DataTable)dt);
                cReport.SetParameterValue("Date", date);
                cReport.SetDatabaseLogon("userID", "password", "server", "database");
                CrystalReportViewer1.ReportSource = cReport;
                CrystalReportViewer1.ReuseParameterValuesOnRefresh = true;
    I am using CR V. 13.0.9 and VS 2013 Update 2

    This is because almost any action on the viewer result sin a postback. This includes paging, zooming, drilling exporting and printing. E.g.; you will have to place the report in session. See the following KB for how to:
    1985571 - How to use sessions in web applications using the Crystal Reports viewer (the complete code)
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for

  • Paint Bucket Pattern Tool has stopped working!

    It seem I can't fill anything with a pattern, the tool just refuses to work. The best I get with it is being able to fill the document with the background colour! I can fill with the forground colour but as soon as I switch it over to the pattern too

  • How do I transfer data from an IOS 7 iPhone 5 to an IOS 6 iPhone 5?

    I missed the cutoff for reverting to IOS 6 via iTunes, so in desperation I just bought an iPhone 5 with IOS 6 on it. (I have a vestibular disorder that leads to feeling very carsick when I use the phone, even with Reduce Motion on.) My last iTune bac

  • How do you remove and get a new Apple ID on an iPod Touch?

    How do I remove and get a new Apple ID on my daughter's iPod Touch instead of my Apple ID that I use for my iPhone?  She is now able to get everything that I download and even see some text messages and all my contacts....and she is only 9!  I though

  • Indesign CS3 AHHHHHHH!

    I am having a few issues to say the least with Indesign CS3. I have intel mac with the dual x 2 2.66 with 2g ram. running leopard. I have been running CS3 for about a month now, and tried quite a few things to sort the problems. I have downloaded all

  • HT1222 i cant up date my ipod 4th gen HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    can somone help me ...........i cant update my ipod4gen i cant see anywhere that says update x