Import Word Attachment Problem

hansiangbinushansiangbinus 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..?
Thank you..

Answers

  • DatapacDatapac Member Posts: 97
    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 helps
  • selece28selece28 Member Posts: 316
    I think i have the same problem, could be more specific, because i'm new in this too

    Thanks
    ______________

    Regards,
    Steven
  • SaalekSaalek Member Posts: 181
    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
  • amphysvenaamphysvena Member Posts: 113
    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).
  • RainerRainer Member Posts: 103
    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 you
    Kind Regards

    E-mail: info@rainerbay.dk
    Skype: rainerbaydk
Sign In or Register to comment.