Skip to main content

Notifications

Microsoft Dynamics RMS (Archived)

Trying to upgrade database to 2.06 from 2.05 in store ops

Posted on by 500

Hello,

I previously posted a question which has not been answered, so I thought I would try another way.

One of our store databases will not upgrade to version 2.06 from 2.05 (it is on sql server 2014)

When attempting the upgrade, I get the following error

An error occurred while attempting to upgrade the database: Invalid object name 'dbo.tr_ComputeQuantity'.

This particular object (trigger) is not present in the database. A little investigation showed that the other 5 store databases do indeed have this trigger present under the InventoryTransferLog table. In fact, all of the other databases have a total of 55 different triggers present, while the offending database does not have any at all. I'm not sure how this happened, but I sure would like to know how to fix it!!

Can anyone help?

*This post is locked for comments

  • Suggested answer
    Antonijo Todorovik Profile Picture
    Antonijo Todorovik 4,025 on at
    RE: Trying to upgrade database to 2.06 from 2.05 in store ops

    Hi Roger,

    And thanks for the update. Good to know you have fixed the problem and even more that Microsoft guys helped You. My only worrie is if the database was in use and with missing the trigger, maybe some data was not inserted, updated or deleter... or whatever the trigger is doing...

    Best regards, A.

  • Roger Oakes Profile Picture
    Roger Oakes 500 on at
    RE: Trying to upgrade database to 2.06 from 2.05 in store ops

    Hi Antonijo,

    I did this and it would have worked, but we ended up calling Microsoft to fix the problem and they were able to add 3 triggers to the database that were not, for some reason, created when the database was set up. This solved the problem and saved having to manually enter several days worth of data. Thank you so much for your answer!

  • Roger Oakes Profile Picture
    Roger Oakes 500 on at
    RE: Trying to upgrade database to 2.06 from 2.05 in store ops

    Thank you.

  • Suggested answer
    Antonijo Todorovik Profile Picture
    Antonijo Todorovik 4,025 on at
    RE: Trying to upgrade database to 2.06 from 2.05 in store ops

    Hi Roger.

    It's obvious something happend with that store database, it will be dificult to recreate them all, all the triggers, maybe something else is missing, etc.,...

    What I would do, if your store is syncronized with HQ (sales, inventory, etc...), I would recreate / export it from HQ again, and then update it. When exporting it should create all the needed SQL components...

    Do this in testing environment first, just export this store again, restored on different PC and try to update the database...

    Kind regards, A.

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans