Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

issue with email posting to vendors

Posted on by 5

I was wondering if someone could shed some light on this error please.

On a newly installed windows 10 pro machine, Dynamics Nav and the outlook addin has been installed. When posting a PO to a vendor using the outlook addin, this error is produced "A call to microsoft.office.interop.outlook.accounts.item failed with this message: Object does not match target type."

It then aborts. On a previous windows 7 PC, it used to work fine.

Where in Nav do you go to setup the outlook addin settings as I suspect that something hasn't been setup properly.

Thank you.

  • Verified answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: issue with email posting to vendors

    Great to hear that this is working. The Outlook Add-In was designed to synch contacts, to-do's and meetings. If you are able to use it for other things, great to hear.

    Thanks.

  • Suggested answer
    Troy M Profile Picture
    Troy M 5 on at
    RE: issue with email posting to vendors

    Hi, so during the NAV installation process if you select "custom" you can choose to install the outlook add-in. You can then create a Codeunit using the development tool to customise the add-in to whatever you desire it to do.

    There has been a development on this, it seems it has to do with the outlook add-in DLL file. We added the user to the local admin group and the codeunit was working. then removed from the local admin but gave the NAV folder write permission and again the code worked.

    Then and removed the write permission from the folder to have the PC a typical setup and it still worked. Not sure why though.

    Anyway this is now working, a bit bizarre on how it got there.

    Thanks.

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: issue with email posting to vendors

    Hello,

    What Outlook Add-In are you referring to?

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans