web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

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

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Suggested answer
    Dynamics365 Rocker Profile Picture
    7,755 on at

    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.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    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
    linu John Profile Picture
    215 on at

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans