Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

An error has occurred after moving CRM Applications and DB to new servers

Posted on by

Hi,

I'm currently helping a client to move their on prem dynamics applications to new servers. We have thus far been able to backup and restore the sql db to the new server, and able to point the existing organisations to the new db. Albeit that we needed to change the MSCRM_Config using these steps: 

1. Changed registry to point to new SQL Server

2. Changed all organization rows/records in MSCRM_CONFIG ->Organization table to use new server

    a. Open SQL Server Managment Studio->browse down to MSCRM_CONFIG->Tables-> find dbo.Organization->Right click->Edit top 200 rows

    b. Find "Connection string" column and change "data source=" value to your new SQL server instance name. (in my case was "devsql006" ->new sql server "devsql006\sql2012")

    c. Find "SQLServerName" column and change data to your new SQL Server instance name ("devsql006"->"devsql006\sql2012")

then it worked perfectly, I hope it will help someone.

 

So the applications and the DB are connected.

However, now when we try to navigate to the URL:s, we only get: 

"An error has occurred. Try this action again if the problem continues. Contact MS Dynamics 365 admin for help". 

So we are pretty much stuck and can't really find where the error is. 

We have turned on the event log for the applications, so we will go through that in hopes of finding a clue. 

But has someone been in the same situation, and what was that solution? 

Thanks in advance for all your help! 

*This post is locked for comments

  • Suggested answer
    linu John Profile Picture
    linu John 215 on at
    RE: An error has occurred after moving CRM Applications and DB to new servers

    you need to add new servers  name in Active directory group .  SQL authentication  happens through AD group .

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: An error has occurred after moving CRM Applications and DB to new servers

    Hi,

    Take a look here as well.

    community.dynamics.com/.../changing-a-microsoft-dynamics-crm-2013-sql-server-for-a-deployment

    Hope this helps.

  • Suggested answer
    Dynamics365 Rocker Profile Picture
    Dynamics365 Rocker 7,755 on at
    RE: An error has occurred after moving CRM Applications and DB to new servers

    Why did you need to change MSCRM_config?

    You have to have MSCRM config DB on same server where your CRM db.

    Once you restore CRM db backup then you have to import organization from deployment manager and MSCRM_Config DB will get auto update.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans