Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > CrystalReports Response Time

Reply
Thread Tools

CrystalReports Response Time

 
 
=?Utf-8?B?T2JqZWN0aUZseQ==?=
Guest
Posts: n/a
 
      01-10-2005
Using CrystalReports in a Windows Form - I use the PrintDialog to get the
printer name - then set the PrintOptions.PrinterName to the PrinterName
returned. I'm using a DataSet that's returned from a server that I hit via
..Net Remoting.

When I do this in my office - the response time is instant. The response
time to get the DataSet back from the server and then start printing is less
than a second.

When I do this at the customer's site - the response time is about a minute.
I get the DataSet back from the server instantly - but then the following
four statements take about a minute. I'm guessing the SetDataSource is the
major hang up.

SalesReport salesReport = new SalesReport();
salesReport.SetDataSource(viewDS);
salesReport.PrintOptions.PrinterName = printerName;
salesReport.PrintToPrinter(copies, true, 1, 500);

It seems that the SetDataSource is trying to authenticate the user or
something that takes a long time. Any ideas on how I can get this to print
instantly at the customer's site - like it does in my office?

Help is greatly appreciated. Thanks in advance.
 
Reply With Quote
 
 
 
 
Curt_C [MVP]
Guest
Posts: n/a
 
      01-10-2005
I dont know for certain but I'm betting it's getting the printers from the
server not the client?
Check this.... otherwise I would maybe hit up the crystal site and see if
their forum has specifics since it's really a crystal setup issue.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


"ObjectiFly" <> wrote in message
news:0FD30F22-5A0C-4081-9FFE-...
> Using CrystalReports in a Windows Form - I use the PrintDialog to get the
> printer name - then set the PrintOptions.PrinterName to the PrinterName
> returned. I'm using a DataSet that's returned from a server that I hit
> via
> .Net Remoting.
>
> When I do this in my office - the response time is instant. The response
> time to get the DataSet back from the server and then start printing is
> less
> than a second.
>
> When I do this at the customer's site - the response time is about a
> minute.
> I get the DataSet back from the server instantly - but then the following
> four statements take about a minute. I'm guessing the SetDataSource is
> the
> major hang up.
>
> SalesReport salesReport = new SalesReport();
> salesReport.SetDataSource(viewDS);
> salesReport.PrintOptions.PrinterName = printerName;
> salesReport.PrintToPrinter(copies, true, 1, 500);
>
> It seems that the SetDataSource is trying to authenticate the user or
> something that takes a long time. Any ideas on how I can get this to
> print
> instantly at the customer's site - like it does in my office?
>
> Help is greatly appreciated. Thanks in advance.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed. HoChun ASP .Net 0 11-10-2003 03:40 AM
CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed. Rajesh ASP .Net 0 08-28-2003 06:30 PM
Re: CrystalReports runtime (at client's place) license issue JohnFol ASP .Net 0 08-06-2003 01:01 PM
CrystalReports report file access denied error. Ivan Fernandez ASP .Net 0 07-11-2003 09:42 AM
Exception Details: CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed. What's wrong ????? cw ASP .Net 0 06-30-2003 10:43 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57