A/R and A/P Aged Reports_ print to excel error

tsv
Member Posts: 49
Hi all,
I have installed Nav 2013 and MS office 2010.
when running the "Aged Accounts payable" report from NAV 2013 with print to Excel option the system throws the following error
"Cannot create an instance of microsoft.office.interop.excel,version=14.0.0.0,culture = neutral,publickkeytoken=71e9bce111e9429c, type Micorosft.Office.Interop.excel.ApplicationClass".
this eror occurs when the breakpoint hits at "PreOpenExcel" method of Excel Buffer table at the line
XlApp := XlApp.ApplicationClass;
can anyone help me on this.
I have installed Nav 2013 and MS office 2010.
when running the "Aged Accounts payable" report from NAV 2013 with print to Excel option the system throws the following error
"Cannot create an instance of microsoft.office.interop.excel,version=14.0.0.0,culture = neutral,publickkeytoken=71e9bce111e9429c, type Micorosft.Office.Interop.excel.ApplicationClass".
this eror occurs when the breakpoint hits at "PreOpenExcel" method of Excel Buffer table at the line
XlApp := XlApp.ApplicationClass;
can anyone help me on this.
with regards,
tsv
tsv
0
Comments
-
Did you install Office properly also on the server where the service is running?
I suppose you get the same error with other reports, right?
Please check "XlApp" variable subtype, if the .NET Type List is empty something is missing...* Daniele Rebussi * | * Rebu NAV Diary *0 -
Thanks for the reply.
the office is installed in the server running the service.
and getting this error in all the reports with the "Print to excel" option.
This is my subtype for the variable "XlApp"
Microsoft.Office.Interop.Excel.ApplicationClass.'Microsoft.Office.Interop.Excel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
Am i missing something?with regards,
tsv0 -
i even replaced the Addins folder in the path "C:\Program Files (x86)\Microsoft Dynamics NAV\70\RoleTailored Client\Add-ins" with the folder in the installation setup files "NAV DVD\RoleTailoredClient\program files\Microsoft Dynamics NAV\70\RoleTailored Client\Add-ins"
but no luckwith regards,
tsv0 -
tsv wrote:i even replaced the Addins folder in the path "C:\Program Files (x86)\Microsoft Dynamics NAV\70\RoleTailored Client\Add-ins" with the folder in the installation setup files "NAV DVD\RoleTailoredClient\program files\Microsoft Dynamics NAV\70\RoleTailored Client\Add-ins"
but no luck
In Add-ins directory (of the server running the service) do you have "Microsoft.Dynamics.NAV.Integration.Office.dll" file? Which version is it?
If you can access via RDP to that server I suggest also to run Excel from Windows in order to verify if the installation has been done properly.* Daniele Rebussi * | * Rebu NAV Diary *0 -
The version is 7.0.33781.0.
i have attached the property sheet for the "Microsoft.Dynamics.NAV.Integration.Office.dll"
i didn't understand about running the Excel from Windows? is it from "Start -> All programs" you meanwith regards,
tsv0 -
tsv wrote:i didn't understand about running the Excel from Windows? is it from "Start -> All programs" you mean
I just wanted to ask you running as a "normal" Windows to check possible error in Excel startup...
I don't have many clues left: a silly question, the NAV service user has the right permission to access to Excel installation directory, isn't it?* Daniele Rebussi * | * Rebu NAV Diary *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