RTC - Excel Buffer Slow

lucab
Member Posts: 8
Hi all
I've created a simple codeunit that import data from an excel using excel buffer, and insert data in NAV.
When I run this codeunit from classic client everithing works fine, and excel is readed in 30 sec. (10.000 rows).
But when I try tu run from RTC, read time grows to 30 min.
Is ExcelBuffer the right way to load data from excel in RTC?
Is there any way to load data from excel faster?
Thank you
I've created a simple codeunit that import data from an excel using excel buffer, and insert data in NAV.
When I run this codeunit from classic client everithing works fine, and excel is readed in 30 sec. (10.000 rows).
But when I try tu run from RTC, read time grows to 30 min.
Is ExcelBuffer the right way to load data from excel in RTC?
Is there any way to load data from excel faster?
Thank you
0
Comments
-
Hi,
you can use Automation server also to import and export data to/from excel sheet. it is bit faster than using excel buffer.0 -
I run the Excel buffer code in a report without RDLC layout. This way the C/AL code executed in classic mode and is fast.
If you export to Excel I advise to use a RDLC report with REPORT.SaveAsExcel0 -
It works!
Thank you0 -
I am experiencing this issue as well. Does anyone know if it was improved in R2?Rob Hansen
http://www.epimatic.com0 -
once i have developed import from excel
and it quite fast
now when moving to RTC, it still ok
but the issue is .... very slow...
how to make it better?
any idea?0 -
check whether this blog fit for you
http://blogs.msdn.com/b/nav/archive/2011/08/18/dynamics-nav-export-to-excel-running-on-rtc.aspx0 -
Sorry, I know this is about 2 years old but I have currently the same problem and I'm looking for a good solution without installing any DLLs on the Server.
I tried to used this solution:mohana_cse06 wrote:check whether this blog fit for you
http://blogs.msdn.com/b/nav/archive/2011/08/18/dynamics-nav-export-to-excel-running-on-rtc.aspx
Does anyone tried this blog entry in their system and get it working? I got so many compile errors because of code that could not fit.
Examples:
- The variable RecNo (Integer) from the copied trigger CreateSheet() will be assigned to a Text variable without EVALUATERecNo := xlRowID;
- Comparing Text with IntegerIF xlRowID <> RecNo
- Evaluating integer with an integer variableEVALUATE(CurrXlRow,RecNo);
- Using a CONVERTSTR with a char variable, where a string is neededLine[1] := CONVERTSTR(Line[1],CharsNavision,CharsWindows);
From the last point, I gave up, but to be honest, I can't imagine that a microsoft developer blog entry is defective like this. :-k
Nonetheless, how did you solve the problem with the slow Excel Buffer in the RTC NAV 2009 R2?0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions