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)

Error loading Deployment Manager after setting up Test-Environment

(0) ShareShare
ReportReport
Posted on by 202

Hello there,

I've got a small challenge to deal with. I want to set up a copy of our production enviroment to test the Update to Dynamics 365 On-Prem. So I've created a new SQL-Server (same Version) and another CRM Server with different hostnames, same network and same domain, backuped and restored the database of the production environment to the test systems and now I want to import the organization within the Deployment Manager but I always get a strange error, so I'm not able to load the Deployment Manager. I am using the same account to install CRM on the server.

Error:

Unhandled Exeption in Managed Code Snap-in

FX:{1ac9de3e-24ae-480d-9e15-65386b76e433}

Type is not resolved for member 'Microsoft.Crm.CrmException,Microsoft.Crm.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=xyz'.

Exception type: 

System.Runtime.Serialization.SerializationException

Exeption stack trace: 

at Microsoft.ManagementConsole.Internal.IMessageClient.ProcessRequest(Request request)
at Microsoft.ManagementConsole.Executive.RequestStatus.BeginRequest(IMessageClient messageClient, RequestInfo requestInfo)
at Microsoft.ManagementConsole.Executive.SnapInRequestOperation.ProcessRequest()
at Microsoft.ManagementConsole.Executive.Operation.OnThreadTransfer(SimpleOperationCallback callback)

The eventviewer always throws a MSCRMMonitoringRuntime Error with ID 18690:

Monitoring runtime failed: Machine: CRMSERVER: Exception: Cannot open database "MSCRM_CONFIG" requested by the login. The login failed.
Login failed for user 'DOMAIN\CRMSERVER$'.

Monitoring runtime failed: Machine: CRMSERVER: Exception: SmokeTests failed with exception : System.TypeInitializationException: The type initializer for 'Microsoft.Crm.Monitoring.MonitoringSettings' threw an exception. ---> System.Data.SqlClient.SqlException: Cannot open database "MSCRM_CONFIG" requested by the login. The login failed.

I've already checked that the CRM Server is part of the SQLAccess Group.+

Do you have any experience with that error?

Thank you very much!

Best regards,

Maurice

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    If I am not wrong you are not able to browse the vanilla instance as well. I would suggest to setup vanilla envirmoment first then do the organization import.

    Cannot open database "MSCRM_CONFIG" requested by the login. The login failed. Which means  when you open deployment manager it's basically accessing MSCRM_CONFIG database to retrieve server and organization details ,  with the user which you  logged in into the server and it's unable to access.

    Try to login sql server with same user see you are able to access or not.

    Also make sure the user which you are trying to open deployment manager having deployment administrator access and having following user group with full control.

    - Reporting Group

    - PrivReporting Group

    - SQLAccess Group

    - PrivUser Group

    In addition go to AD user group for above group and add the user over there. Also you need to add the logged in user into above sql group as well by opening the sql server.

    You can take a look below reference-

    dzone.com/.../how-to-solve-dynamics-crm-deployment-and-permissio

  • maurice.renz Profile Picture
    202 on at

    Hi Goutam,

    thanks for your reply. I've checked that my user is currently part of these security groups and also capable to access the databases, everything looks fine but I still get the above error when I try to connect within the deployment manager. :/

    Best regards,

    Maurice

  • jdalske Profile Picture
    547 on at

    Did you find a solution to this issue?

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