Error while exporting report data to excel

poppins
Member Posts: 647
Hi everyone,
I am trying to export some report data to excel.
I used the table 370 Excel buffer and specially the function AddColumn
When I run the report, I get the following error:
This message is for C/AL programmers:
What seems to be the problem?
Thanks in advance
I am trying to export some report data to excel.
I used the table 370 Excel buffer and specially the function AddColumn
When I run the report, I get the following error:
This message is for C/AL programmers:
Could not invoke the member Range. The OLE control or Automation server returned an unknown error code.I am using Nav 20009 R2 Classic, SQL Server 2008 R2, Office 2013 Professional.
What seems to be the problem?
Thanks in advance

0
Comments
-
What Office version are you using? With NAV 2009 32-bit Office installation is recommended.
Does a "simple" data export work fine?* Daniele Rebussi * | * Rebu NAV Diary *0 -
Can you compile t370?
I think Excel 2013 has different Automation Server... and if ALL users on Excel 2013 - You should edit t370, find all unknown automation servers - and change for Excel 2013 Automation Server.0 -
KeeperRU wrote:Can you compile t370?
I think Excel 2013 has different Automation Server... and if ALL users on Excel 2013 - You should edit t370, find all unknown automation servers - and change for Excel 2013 Automation Server.
but how can I replace them with Excel 2013 automation server?
I tried to look for it in the list of the different automations (I clicked the button near Unknown Automation Server.Application and accessed the list of automations, no Excel 2013 automation server found)...
I tried to copy the value I found in table 370 in NAV 2013 but it didn't work....
What shall I do????
PS: I used to work with Excel 2013 and NAV 2009 just fine, I don't know what happend0 -
I think you need to find "Microsoft Excel 15.0 Object Library" in list.
It's strange that all work fine earlier... how about another users?
If you change t370 Automation Server it can broke other users Excel Integration (backup t370 object).
Try to reinstall Excel 2013, if there is no "Microsoft Excel Object Library" in Automation list.
Maybe earlier you have Excel 2007\2010 and then install 2013 over it, and all was fine.
And now you uninstall all of it, and install ONLY 2013. That may cause all your trouble.0 -
KeeperRU wrote:I think you need to find "Microsoft Excel 15.0 Object Library" in list.
It's strange that all work fine earlier... how about another users?
If you change t370 Automation Server it can broke other users Excel Integration (backup t370 object).
Try to reinstall Excel 2013, if there is no "Microsoft Excel Object Library" in Automation list.
Maybe earlier you have Excel 2007\2010 and then install 2013 over it, and all was fine.
And now you uninstall all of it, and install ONLY 2013. That may cause all your trouble.
It is not a network installation, I am using a local installation, just on my machine for coding and testing purposes....,so no other user will be affected...
SO, shall I reinstall Excel 2013?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