Skip to main content

Notifications

Microsoft Dynamics RMS (Archived)

Error upgrading RMS database from 2.0 to 2.06

Posted on by Microsoft Employee

When using RMS administrator and attempting to upgrade the database I'm getting an error message. "BRMain" is the name of the database.

An error occurred while attempting to upgrade the database

Cannot insert the value NULL into column 'ID', table BRMain.dbo.DatabaseMetaData'; column does not allow nulls. INSERT fails.

Any Ideas?

Daniel

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error upgrading RMS database from 2.0 to 2.06

    Daniel, the best method I've found is to do the upgrade in two steps. Go from 2.0 to 2.03 in the first bit and wait for it to finish. Then repeat but this time go from 2.03-2.06. For some reason that always works best for me. The error looks like a trigger that has some unfinished business? Perhaps stop and restart the SQL Server. Then press/start/search/type %TEMP% /Control A/Delete everything (any warnings just skip). Do a MS disk cleanup/Delete everything but restore points (if applicable).Reboot the server/check make sure SQL servers running then try my two step method.

    Hope that helps, error sure looks like a hook or a trigger holding up the works, perhaps this method will allow you to get around it.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error upgrading RMS database from 2.0 to 2.06

    I've tried on a Win7 machine and I'm getting the same results.

  • Jeff @ Check Point Software Profile Picture
    Jeff @ Check Point ... 13,380 on at
    RE: Error upgrading RMS database from 2.0 to 2.06

    Also, run a database check and a re-index on the existing machine before the upgrade.  BACKUP FIRST!!

  • Jeff @ Check Point Software Profile Picture
    Jeff @ Check Point ... 13,380 on at
    RE: Error upgrading RMS database from 2.0 to 2.06

    Try doing it on a Win 7 machine,  Win 10 still kinda wonky.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error upgrading RMS database from 2.0 to 2.06

    SQL 2008 R2, RMS SO, and database 2.00 on a Windows 10 system.

  • Jeff @ Check Point Software Profile Picture
    Jeff @ Check Point ... 13,380 on at
    RE: Error upgrading RMS database from 2.0 to 2.06

    What version of SQL? I never had any luck with 2012.

    Where does the upgrade stop with the error?

    Is this an SO or HQ database?

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