NAV 2017 Outlook Codeunit 5300

JDVyskaJDVyska Member Posts: 179
edited 2017-07-11 in NAV Three Tier
I'm having all sorts of trouble trying to get CU5300 to compile.
Could not load type 'Microsoft.Dynamics.NAV.OLSync.OLSyncSupplier.OutlookObjectLibrary.'Microsoft.Dynamics.NAV.OLSync.OLSyncSupplier, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35''.

I built a clean VM, put office on the box (so outlook 2016 was installed), then installed NAV with all the Outlook options installed. I still get the above error compiling that object.

I went through and gacutil registered all the Outlook related DLLs I could find for NAV.

Nothing.

Anyone else able to compile that object?

(In a larger scope, trying to setup a NAV 2017 with Outlook Sync, but getting errors, and the inability to compile feels like a symptom of why.)
JEREMY VYSKA
CEO, Spare Brained Ideas, Göteborg, Sweden
New (April 2021) Getting Started with Microsoft Dynamics 365 Business Central Book Available: "Your First 20 Hours with Business Central"

Best Answers

  • JDVyskaJDVyska Member Posts: 179
    Answer ✓
    I did, but oddly the Dev Environ didn't see it.

    I copied the the
    Microsoft.Dynamics.NAV.OLSync.OLSyncSupplier.dll
    
    into
    C:\Program Files (x86)\Microsoft Dynamics NAV\100\OutlookAddin
    
    , then did gacutil to register it manually.

    That seems to have resolved it.

    Weird stuff.
    JEREMY VYSKA
    CEO, Spare Brained Ideas, Göteborg, Sweden
    New (April 2021) Getting Started with Microsoft Dynamics 365 Business Central Book Available: "Your First 20 Hours with Business Central"

Answers

  • JDVyskaJDVyska Member Posts: 179
    Answer ✓
    I did, but oddly the Dev Environ didn't see it.

    I copied the the
    Microsoft.Dynamics.NAV.OLSync.OLSyncSupplier.dll
    
    into
    C:\Program Files (x86)\Microsoft Dynamics NAV\100\OutlookAddin
    
    , then did gacutil to register it manually.

    That seems to have resolved it.

    Weird stuff.
    JEREMY VYSKA
    CEO, Spare Brained Ideas, Göteborg, Sweden
    New (April 2021) Getting Started with Microsoft Dynamics 365 Business Central Book Available: "Your First 20 Hours with Business Central"
  • DolshaDolsha Member Posts: 41
    if Dev Env didn't see .dll try to restart instance, and restart ur dev env =)
Sign In or Register to comment.