Import Word Attachment Problem

hansiangbinus
Member Posts: 3
Hi all,
I'm a newbie NAV Consultant. I have a problem. My Client want to attach Ms.Word file in the Item Card so they can put an additional information related to that item. Then.. i code the attachment exactly just like Interaction template.. it works in native DB. but when i imported that object into SQL DB, there's an error.. :
This message is for C/AL programmers :
Could not create an instance of OLE control or Automation server identified by GUID={3c2554fe-2b41-4543-b3e8e64296773da5} 2.0:{D9487004-7ED7-4F2A-A9FC-28C1202992CD}:Unknown automation server.wordhandler.
Check that the OLE Control or automation server is correctly installed and registered.
I've tried to look at Code Unit 5054. Word Management, Change the GUID but still didn't work. Any thoughts..?
I'm a newbie NAV Consultant. I have a problem. My Client want to attach Ms.Word file in the Item Card so they can put an additional information related to that item. Then.. i code the attachment exactly just like Interaction template.. it works in native DB. but when i imported that object into SQL DB, there's an error.. :
This message is for C/AL programmers :
Could not create an instance of OLE control or Automation server identified by GUID={3c2554fe-2b41-4543-b3e8e64296773da5} 2.0:{D9487004-7ED7-4F2A-A9FC-28C1202992CD}:Unknown automation server.wordhandler.
Check that the OLE Control or automation server is correctly installed and registered.
I've tried to look at Code Unit 5054. Word Management, Change the GUID but still didn't work. Any thoughts..?
Thank you..
0
Answers
-
I think you need to re-register the Custom Control in your SQL client. You can do this from the Tools-Customer Controls menu.
You probably need to re-register the DLL/OCX for Office (possibly either OWC10.DLL or OWC11.DLL?).
Hope this helps0 -
I think i have the same problem, could be more specific, because i'm new in this too
Thanks______________
Regards,
Steven0 -
Hi
The DLL you need is called NSAppHandler.dll
Register it and declare again the variables that uses this DLL.
Only is used in Function WordHandler.
Bye0 -
Saalek wrote:Hi
The DLL you need is called NSAppHandler.dll
Register it and declare again the variables that uses this DLL.
Only is used in Function WordHandler.
Bye
Thanks Saalek, ur solution is work.
Just go to tools-Custom Controls. Hit the Control-Browse menu.
Browse for the NSAppHandler.dll (mine is found in C:\Program Files\Common Files\Navision\Application Handler).0 -
I tried on my own client; online at the customer - it works.
I guess it will work for all others after install.
Now its smoking-time for five mins.
\:D/
=D> to you0
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