Crystal Report takes long time to load every time in VS2010 - crystal-reports-2010

I am working in a window project in asp.net4.0. I am using Visual Studio 2010. I have create an Invoice report in Crystal Report . Problem is that It takes1 minute to load every time. I have searched on google and also unchecked the option "Save Data in Report". But it does not effect report loading time.
So please help me. provide any idea or solution of my problem...

Hi I have found the solution to my Problem:
Open Crystal Report in Design Mode then Goes To Properties of Crystal Report
Crystal Report -> Design -> Page Set Up -> Check "No Printer" property.
and then My Report Take 2-3 seconds to load every time on my machine as well as in client machine.

Open Crystal Report in Design Mode then Goes To Properties of Crystal Report
Crystal Report -> Design -> Page Set Up -> Check "No Printer" property.
and then My Report Take 2-3 seconds to load every time on my machine as well as in client machine.
I support for the above answer, really it shows a lot of difference.
Thank you guys.

Goto Project > click (Winform)properties... > click Build and select platform target choose x86 and

When Loading home page or some page just run empty Crystel Report(only solution for initial start slow), I think that time take ready for some DLL files.
code examples
reports.ReportSource = null;
this.Close();
hope this will help you!

I have solution for this. (this works for me!)
From the report > right click> page setup > uncheck "no printer" for optimization.
If it is still slow, go to Start > Devices and Printers. Remove all the printers that are connected to the network. You won't need printers in developing crystal reports unless you want to print the report.

Related

Unable to run all values from csv file while doing a performance test

Im using VS Web Performance Test Tool.
My Application has a login and few functionalities but doesnt have a logout . I one closes the browser and opens , it asks for login .
Now, i have 5 rows in excel , but only the first is run and it stops.
Please let me know if anyone knows how to make all rows run.
Thanks,
SK
By default, running a Web Performance Test (WPT) only does one execution of the test. A WPT can be called from a Visual Studio Load Test to run it many times by many virtual (i.e. simulated) users (VUs).
A data driven WPT can easily be run more than once by either of two methods.
After the test has been run once, click the "Edit run settings" on the Web Test results viewer. The modified run settings only apply to runs started by clicking the "Click here to run again" and are lost when the Web Test results viewer is closed. See here for more details.
The default can be changed in a .testsettings file. If no such file is already in the solution, then use the context (right click) menu of the solution in Solution Explorer and select Add => New item then follow the prompts to add a Test settings file. The Web test section of the file controls how WPTs are executed. See here for more details.

Crystal Reports delay shows old data when using MS Access

Here is in interesting one.
I have a Crystal Report that uses a single Microsoft Access 2007 table. The data in the table is updated at run time based on criteria from a list box.
If I select one entry from my list it updates the data and shows in the report. If I select and different entry is shows the data the old data. If i select that report enough times it will eventually show the new data.
The data in the access data base is updated as I checked manually
My problem is that there seems to be a delay in between the data updating and the report showing the new data.
Is there anyway to reduce this delay or get my program to wait until access has finished updating ?
Here's some ideas:
If you're mixing cr-xi with VS2010, and have no real reason to do so, then uninstall xi and install the new libraries for VS2010. I had issues mixing cr-xi with VS2010.
There's an option to save data with report. Make sure that's turned off. If it already was, turn it on, run the report, then turn it off again.
You can try rpt.Refresh(), right before crystalReportViewer1.ReportSource = rpt.
This page had some ideas, including the last one I listed.

Query runs fast but report renders slow: how to debug this?

I'm running SSRS 08. My query has four parameters (all varchars). I can run the query through management studio and it runs in under 10sec. I get the same performance if I run the query in Visual Studio's query designer.
However...if I try to preview the report or actually run the report once it's deployed the actual report sometimes takes more than 5 minutes. I ran a trace and the query seems to be in/out of the SQL server side quickly. How can I find where/why I'm loosing this performance? I've tried/checked so far the following:
No images are referenced in the report
No grouping/sorting outside of the stored procedure
Since it's a straight forward report I rebuilt it with same result (to check if it's not an issue of a corrupted report).
ran SQL trace when I executed the report to make sure the query did not have issues
Based on some suggestions before I rewrote the query to use variables instead of parameters like so
-- ...
-- Note: #Parameter is a varchar(40)
-- ...
declare #Var as varchar(40)
set #var=#parameter
select * from table where fieldvalue=#var
Ran the trace and it's not an issue on the query side.
I had the report html output trouble on report retrieving 32000 lines. In my case I had to activate “Interactive Paging” to allow user see first page and able to generate Excel file. The pro is that first page appears fast and user can generate export to Excel or PDF, the cons is that user can scroll only current page. If user wants to see more content he\she must use navigation buttons above the grid. In my case user accepted this behavior because the export to Excel was more important.
To activate “Interactive Paging” you must click on the free area in the report pane and change property “InteractiveSize”\ “Height” on the report level in Properties pane. Set this property to different from 0. I set to 8.5 inches in my case. Also ensure that you unchecked “Keep together on one page if possible” property on the Tablix level (right click on the Tablix, then “Tablix Properties”, then “General”\ “Page Break Options”).
I was troubleshooting a similar issue a while ago and it turned out to be related to the browser I was using to view the report. If the report returns a lot of data to the screen consider splitting it into multiple pages if it is not already configured that way.
Why Does Business Intelligence Studio Load Reports Faster than the Report Server
I think I may have found my answer on a social.msdn.microsoft.com thread
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/1e34dc76-4d78-4376-89b0-7c381ed82726/
I unchecked the "Keep together" setting and it now actually previews coming from the server and I can export the report. Much improvement

No data in the Test Plan Progress Report in TFS

I'm having some problems with the Test Plan Progress Report in TFS. It is not showing any data in there, even when i have several test cases and in different states, and also have assigned a Configuration (Windows 7 and IE9) to each test case. Do you know what else could be causing this annoying issue with the report?
The Test Case Readiness Report is working fine, but only this one is not working.
I met the same problem. After taking a lot of time in google or microsoft's website , there is still no answer be found. I decide to research the report design. It still take a lot of time since this is my first time to use SQL Server Report Builder.
I found the solution to this problem.
Open this report in report builder
go to DataSet > dsTestData
right click mouse > dataset properties
select field in left column
click 'fx' button of Passed_Cumulative_Count
change expression's variable :
change OutcomeCaption.Value="Passed" to Outcome_Id.Value="2"
change other fields as step 6
Outcome_Id :
1 Other
2 Passed
3 Failed
7 Blocked
255 Never Run
Save your report
You should see test plan progress data now .
My TFS is in Traditional Chinese OS , the OutcomeCaption will be chinese word. This is why the orginal report has no data.
Hope this gives others some help.
I had a similar issue and it turned out it was because I didn't have Test Plans defined. Since I wasn't using a version of Visual Studio that had Microsoft Test Manager licensed, I wasn't able to define a Test Plan for my Test Cases.

Save information from MS crash reporter?

On Windows XP when a process crashes, we get a dialog box with a link:
"To view technical information about the error report, click here."
The "click here" link brings up a whole lot of information in a window, but no obvious way to save it to a file. Is there a way? It would be very nice to be able to send that data to several different external vendors we're working with.
The only other option I see in the dialog box is to send it to Microsoft, but this crash is likely not Microsoft's fault and there is no reason to send it to them.
If you are a company, you can register with Microsoft to be able to download WER reports.
As of when you see this dialog box, you should still be able to manually attach a debugger (e.g. Visual Studio) to the crashing process and take a look at any available exception records. Alternatively, I believe you should be able to register Visual Studio to handle these crashes instead of the normal error reporting mechanism. This article seems to have more information about that option:
http://msdn.microsoft.com/en-us/library/5hs4b7a6.aspx
Hope this helps...
Maybe a bit late for '08 question, but anyway, you may use Error Report Grabber software for this task

Resources