When trying to login to CRM I get an error page. Error an error has occurred.
When I access the URL I get the IFD logon page enter my user and password and then get forwarded to CRM which displays the error. I checked the Claims and relay rules on IFD and the are working properly.
Looking at the CRM server windows error logs I have
Monitoring test failed: Test Title: Help Content Server Tests.: Machine: CRMX2: ServerRole: HelpServer
Test Log:
Unable to connect to the remote server
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Crm.Monitoring.WebHelpers.GetWebResponse(String webpage, Boolean setCrmAuth, Boolean useProxy, Byte[] postData, Boolean setUserAgent, Int64 dmzPort)
at Microsoft.Crm.Monitoring.Tests.HelpContent.VerifyHelpContent.TestDefaultHelp(TestResult result)
at Microsoft.Crm.Monitoring.Tests.HelpContent.VerifyHelpContent.Execute()
at Microsoft.Crm.Monitoring.Engine.MonitoringRuntime.ExecuteMonitoringTest(MonitoringTestBase test, Int32 attempts)
InnerException Type:System.Net.WebException
No connection could be made because the target machine actively refused it 127.0.0.1:80
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
InnerException Type:System.Net.Sockets.SocketException
and 2 Warnings
A certificate registered for use by Microsoft Dynamics CRM is nearing its expiration date. Certificate type: TrustedIssuer Certificate Name: http://xxx.xxxx.com/adfs/services/trust Expiration Date: 1/12/2017 5:30:48 PM Store Location: Store Name:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 1/4/2017 10:10:32 AM
Event time (UTC): 1/4/2017 6:10:32 PM
Event ID: e277976791524ce89232f4ab64cae0dd
Event sequence: 62177
Event occurrence: 9
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT-1-131279542668222484
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\
Machine name: CRMX2
Process information:
Process ID: 2348
Process name: w3wp.exe
Account name: CRM\APPSERVICE
Exception information:
Exception type: SecurityTokenException
Exception message: ID4175: The issuer of the security token was not recognized by the IssuerNameRegistry. To accept security tokens from this issuer, configure the IssuerNameRegistry to return a valid name for this issuer.
at System.IdentityModel.Tokens.SamlSecurityTokenHandler.ValidateToken(SecurityToken token)
at System.IdentityModel.Services.TokenReceiver.AuthenticateToken(SecurityToken token, Boolean ensureBearerToken, String endpointUri)
at System.IdentityModel.Services.WSFederationAuthenticationModule.SignInWithResponseMessage(HttpRequestBase request)
at System.IdentityModel.Services.WSFederationAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs args)
at Microsoft.Crm.Authentication.Claims.CrmFederatedAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs args)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information:
Request URL: https://xxx.xxx.com:443/default.aspx
Request path: /default.aspx
User host address: 104.35.xxx.xxx
User:
Is authenticated: False
Authentication Type:
Thread account name: CRM\APPSERVICE
Thread information:
Thread ID: 43
Thread account name: CRM\APPSERVICE
Is impersonating: False
Stack trace: at System.IdentityModel.Tokens.SamlSecurityTokenHandler.ValidateToken(SecurityToken token)
at System.IdentityModel.Services.TokenReceiver.AuthenticateToken(SecurityToken token, Boolean ensureBearerToken, String endpointUri)
at System.IdentityModel.Services.WSFederationAuthenticationModule.SignInWithResponseMessage(HttpRequestBase request)
at System.IdentityModel.Services.WSFederationAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs args)
at Microsoft.Crm.Authentication.Claims.CrmFederatedAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs args)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details:
Monitoring test failed: Test Title: Help Content Server Tests.: Machine: CRMX2: ServerRole: HelpServer
Test Log:
Unable to connect to the remote server
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Crm.Monitoring.WebHelpers.GetWebResponse(String webpage, Boolean setCrmAuth, Boolean useProxy, Byte[] postData, Boolean setUserAgent, Int64 dmzPort)
at Microsoft.Crm.Monitoring.Tests.HelpContent.VerifyHelpContent.TestDefaultHelp(TestResult result)
at Microsoft.Crm.Monitoring.Tests.HelpContent.VerifyHelpContent.Execute()
at Microsoft.Crm.Monitoring.Engine.MonitoringRuntime.ExecuteMonitoringTest(MonitoringTestBase test, Int32 attempts)
InnerException Type:System.Net.WebException
No connection could be made because the target machine actively refused it 127.0.0.1:80
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
InnerException Type:System.Net.Sockets.SocketException