Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Error during upgrade of dynamics (NAV) connector v2 to v3

Posted on by 10

Hello, during the installation (upgrade) of the dynamics connector v3.1, the following error occures:
"Error SQL72014" "Cannot insert the value NULL into column 'RetryState', table 'MSDI.Scheduling.RetryTask'.

I updated the currently installed 2 version from v2.0 to v2.3, also used the v3.0 msi instead of the v3.1, same result (error).

Next thing I tried to cleanup the database (all mappings set on inactive) & executed the following SQL statements:
delete from logs
delete from MapDefinitions where DefinitionId not in (select DefinitionId from Maps)
delete from TaskRegister where RegisterId not in (select RegisterId from Maps)
delete from TaskTriggers where TriggerId not in (select TriggerId from Maps)

Same result (error).

Anyone who can point me in the right direction?

 

*This post is locked for comments

  • Verified answer
    VincentP Profile Picture
    VincentP 10 on at
    RE: Error during upgrade of dynamics (NAV) connector v2 to v3

    *SOLVED*

    I found it out myself. Procedure...

    1) export & remove all current integrations (write down last runtime and filters)

    2) run the following queries on the MSDI database

    delete from MapDefinitions

    where DefinitionId not in (select DefinitionId from Maps)

    delete from TaskRegister

    where RegisterId not in (select RegisterId from Maps)

    delete from TaskTriggers

    where TriggerId not in (select TriggerId from Maps)

    3) import integrations (manually edit last runtime and filters)

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