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..?
Thank you..
0
Answers
You probably need to re-register the DLL/OCX for Office (possibly either OWC10.DLL or OWC11.DLL?).
Hope this helps
Thanks
Regards,
Steven
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).
I guess it will work for all others after install.
Now its smoking-time for five mins.
\:D/
=D> to you
E-mail: info@rainerbay.dk
Skype: rainerbaydk