Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

DB import error

(0) ShareShare
ReportReport
Posted on by 2,397

Hi, I am trying to import prod copy db through deployment manager, and the below error occurred, please advise. I have V8.2 on-premise set up.

Error while updating organization information: Microsoft.Crm.CrmException: ValidateClosed - Db GetCreateConnection() should be closed on End

  • RE: DB import error

    Ok sdnd2000,

    Share more details about the snapin log.

  • sdnd2000 Profile Picture
    sdnd2000 2,397 on at
    RE: DB import error

    Hi, Gustavo,

    I tried this scripts, and I still got the same error.

  • Suggested answer
    RE: DB import error

    Hello sdnd2000,

    Hope you are well and safe.

    Make sure you are proceeding with a backup/restore of the current database organization and later apply this script to guarantee only one connection to database:

    USE [master]

    GO

    ALTER DATABASE [BD] SET  SINGLE_USER WITH ROLLBACK IMMEDIATE

    ALTER DATABASE [BD] SET  MULTI_USER

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans