Log Name: AD FS 2.0/Admin Source: AD FS 2.0 Date: 6/7/2013 8:58:13 AM Event ID: 102 Task Category: None Level: Error Keywords: User: S-1-5-21-2075080465-1328441772-1012356993-42445 Computer: ADFS.CONTOSO.COM The following information was included with the event: System.InvalidOperationException: Metadata contains a reference that cannot be resolved: 'http://localhost/adfs/services/trust/mex'. ---> System.InvalidOperationException: <?xml version="1.0" encoding="utf-16"?><Fault xmlns="Receiverhttp://www.w3.org/2003/05/soap-envelope"><Code><Value>Receiver</Value><Subcode><Value xmlns:a="a:InternalServiceFaulthttp://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</Value></Subcode></Code><Reason><Text xml:lang="en-US">The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.</Text></Reason></Fault> at System.ServiceModel.Description.MetadataExchangeClient.MetadataReferenceRetriever.DownloadMetadata(TimeoutHelper timeoutHelper) at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper) --- End of inner exception stack trace --- at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper) at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState) at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever) at Microsoft.IdentityServer.Service.SecurityTokenService.MexServiceHost.RetrieveEndpointList(Dictionary`2 proxyVisibleEndpoints, Uri mexAddress) at Microsoft.IdentityServer.Service.SecurityTokenService.MexServiceHost.RetrieveMetadata(ServiceHost wsTrustServiceHost, Boolean proxy) at Microsoft.IdentityServer.Service.SecurityTokenService.MexServiceHost.Create(ServiceHost wsTrustServiceHost, Uri serviceAddress, Boolean proxy) at Microsoft.IdentityServer.Service.SecurityTokenService.STSService.StartSTSService(ServiceHostManager serviceHostManager, ServiceState serviceState) and Log Name: AD FS 2.0/Admin Source: AD FS 2.0 Date: 6/7/2013 8:58:09 AM Event ID: 277 Task Category: None Level: Error Keywords: User: S-1-5-21-2075080465-1328441772-1012356993-42445 Computer: ADFS.CONTOSO.COM The following information was included with the event: System.TypeInitializationException: The type initializer for 'TraceUtil' threw an exception. ---> System.ArgumentException: Requested value 'verbose' was not found. at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase) at System.Diagnostics.TraceSource.Initialize() at System.Diagnostics.TraceSource.get_Switch() at Microsoft.IdentityModel.DiagnosticUtil.TraceUtil.InitializeTraceEnabled() at Microsoft.IdentityModel.DiagnosticUtil.TraceUtil..cctor() --- End of inner exception stack trace --- at Microsoft.IdentityModel.DiagnosticUtil.TraceUtil.ShutdownTracing()
Log Name: AD FS 2.0/Admin Source: AD FS 2.0 Date: 6/7/2013 8:58:13 AM Event ID: 102 Task Category: None Level: Error Keywords: User: S-1-5-21-2075080465-1328441772-1012356993-42445 Computer: ADFS.CONTOSO.COM
The following information was included with the event:
System.InvalidOperationException: Metadata contains a reference that cannot be resolved: 'http://localhost/adfs/services/trust/mex'. ---> System.InvalidOperationException: <?xml version="1.0" encoding="utf-16"?><Fault xmlns="Receiverhttp://www.w3.org/2003/05/soap-envelope"><Code><Value>Receiver</Value><Subcode><Value xmlns:a="a:InternalServiceFaulthttp://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</Value></Subcode></Code><Reason><Text xml:lang="en-US">The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.</Text></Reason></Fault> at System.ServiceModel.Description.MetadataExchangeClient.MetadataReferenceRetriever.DownloadMetadata(TimeoutHelper timeoutHelper) at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper) --- End of inner exception stack trace --- at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper) at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState) at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever) at Microsoft.IdentityServer.Service.SecurityTokenService.MexServiceHost.RetrieveEndpointList(Dictionary`2 proxyVisibleEndpoints, Uri mexAddress) at Microsoft.IdentityServer.Service.SecurityTokenService.MexServiceHost.RetrieveMetadata(ServiceHost wsTrustServiceHost, Boolean proxy) at Microsoft.IdentityServer.Service.SecurityTokenService.MexServiceHost.Create(ServiceHost wsTrustServiceHost, Uri serviceAddress, Boolean proxy) at Microsoft.IdentityServer.Service.SecurityTokenService.STSService.StartSTSService(ServiceHostManager serviceHostManager, ServiceState serviceState)
Receiverhttp://www.w3.org/2003/05/soap-envelope"><Code><Value>Receiver</Value><Subcode><Value
xmlns:a="a:InternalServiceFault
and
Log Name: AD FS 2.0/Admin Source: AD FS 2.0 Date: 6/7/2013 8:58:09 AM Event ID: 277 Task Category: None Level: Error Keywords: User: S-1-5-21-2075080465-1328441772-1012356993-42445 Computer: ADFS.CONTOSO.COM
System.TypeInitializationException: The type initializer for 'TraceUtil' threw an exception. ---> System.ArgumentException: Requested value 'verbose' was not found. at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase) at System.Diagnostics.TraceSource.Initialize() at System.Diagnostics.TraceSource.get_Switch() at Microsoft.IdentityModel.DiagnosticUtil.TraceUtil.InitializeTraceEnabled() at Microsoft.IdentityModel.DiagnosticUtil.TraceUtil..cctor() --- End of inner exception stack trace --- at Microsoft.IdentityModel.DiagnosticUtil.TraceUtil.ShutdownTracing()
Learn about configuring debug tracing for AD FS 2.x servers here.
Maheshkumar S Tiwari edited Original. Comment: Added Tag and minor edit