Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Event ID: 18690 - MSCRMMonitoringRuntime -

Posted on by 1,000

Hi:

We are running CRM 2016 on-prem verion 8.1.0.359 and are seeing the below error frequently in the application log on the CRM Server.  The environment consists of 2 CRM servers (both are full server installs) and a 2 node SQL Cluster using Always-On.

Here is the error:

Source = MSCRMMonitoringTest

EventID = 18690

Monitoring runtime failed: Machine: CRM16-1: Exception: SmokeTests failed with exception : System.TypeInitializationException: The type initializer for 'Microsoft.Crm.Monitoring.MonitoringSettings' threw an exception. ---> System.Data.SqlClient.SqlException: Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.

at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)

at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)

at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)

at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)

at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)

at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)

at System.Data.SqlClient.SqlConnection.Open()

at Microsoft.Crm.CrmDbConnection.InternalOpenWithRetry(IDbConnection connection, String descriptionText)

at Microsoft.Crm.CrmDbConnection.GetCreateAndOpenConnection()

at Microsoft.Crm.CrmDbConnection.Open()

at Microsoft.Crm.SharedDatabase.DatabaseService.ExecuteRetrieveCommand(String[] columns, PropertyBag[] conditions, CrmDbConnection connection, Nullable`1 top, Nullable`1 offset, IList`1 orderBy, QueryHints hints, IDictionary collectionToFill)

at Microsoft.Crm.SharedDatabase.DatabaseService.<>c__DisplayClass2.<RetrieveInternal>b__0()

at Microsoft.Crm.SharedDatabase.DatabaseService.MeasurePerformance(Action executeAction, Boolean readQuery)

at Microsoft.Crm.SharedDatabase.DatabaseService.RetrieveInternal(String tableName, String[] columns, PropertyBag[] conditions, Nullable`1 top, Nullable`1 offset, IList`1 orderBy, QueryHints hints, IDictionary collectionToFill)

at Microsoft.Crm.SharedDatabase.DatabaseService.Retrieve(String tableName, String[] columns, PropertyBag[] conditions)

at Microsoft.Crm.ServerLocatorService.Retrieve(String tableName, String[] columns, PropertyBag[] conditions)

at Microsoft.Crm.Monitoring.MonitoringSettings..cctor()

--- End of inner exception stack trace ---

at Microsoft.Crm.Monitoring.MonitoringSettings.get_StoreResultsInDatabase()

at Microsoft.Crm.SmokeTests.Execute.ExecuteMonitoringTests(ServerRoles targetRoles, TestFrequency testFrequency, Boolean inService)

at Microsoft.Crm.SmokeTests.Execute.Main(String[] args)

at Microsoft.Crm.Monitoring.Service.MonitoringService.ExecuteTestsThreadProc(Object args).

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Event ID: 18690 - MSCRMMonitoringRuntime -

    Any answers to this post ? I am having the same problem

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