NetTalk Central

Author Topic: Report problem ...(maybe some timeout??)  (Read 3511 times)

ralonso2001

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Qúbigo ERP
    • Email
Report problem ...(maybe some timeout??)
« on: April 21, 2015, 07:36:34 PM »
Hi, I have a Webform that generates a report (sometimes is long, about 400 pages).
When the report is not very long its working fine but when the report has more than 70 pages, the web page is showing an error (like the page cannot be shown) but a few minutes later I can see the PDF generation window in my server (background).
Is there somewhere I cant make the page wait a little bit longer so the report can be finished and properly shown?

Thank you!!!
Regards,
Rodrigo Alonso
Mendoza - Argentina

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Report problem ...(maybe some timeout??)
« Reply #1 on: April 21, 2015, 09:57:34 PM »
yes the browser got tired waiting for your report. this will be an even bigger problem for users on a slow internet connection. you might be able to do it with a progress bar which also lets the user know something is happening. I think the progress bar example does exactly that.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Report problem ...(maybe some timeout??)
« Reply #2 on: April 22, 2015, 05:46:30 AM »

yes, the best approach is to use the progress bar / start button approach - then it can take as long as it needs to.

Otherwise during the actual report generation you are ok, but if the conversion to PDF takes more than 30 seconds then the browser will timeout.

which version of NetTalk are you using?

cheers
Bruce

ralonso2001

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Qúbigo ERP
    • Email
Re: Report problem ...(maybe some timeout??)
« Reply #3 on: April 22, 2015, 07:16:18 AM »
Thank you Kevin and Bruce, I solve the problem changing to a form with a progress bar and works very good!!!

Bruce, my NetTalk version is 8.28, should I upgrade to the latest?

As allways thank you for your help!!!!
Regards,
Rodrigo Alonso
Mendoza - Argentina