ADFS Error 250 \ 1020 \ 1021

Restart Windows Internal Database then ADFS Services

Expiration of the artifact failed. 

Additional Data 
Exception message: 
MSIS3115: Cannot connect to ArtifactStorage in the configuration database. 

User Action 
Ensure that the artifact storage server is configured properly. Troubleshoot network connectivity to the artifact storage server. 
Encountered error during OAuth token request. 

Additional Data 

Exception details: 
Microsoft.IdentityServer.Web.Protocols.OAuth.Exceptions.OAuthAccessTokenMissingAuthorizationCodeException: MSIS9246: Received invalid OAuth access token request. The 'code' parameter is missing or found empty.
   at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthToken.OAuthAccessTokenRequestContext.ValidateCodeAndThrowOnError()
   at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthToken.OAuthAccessTokenRequestContext.ValidateCore()

Encountered error during OAuth authorization request. 

Additional Data 

Exception details: 
Microsoft.IdentityServer.Service.ArtifactResolutionService.ArtifactServiceStorageConnectionException: MSIS3115: Cannot connect to ArtifactStorage in the configuration database. ---> System.Data.SqlClient.SqlException: Cannot open database "AdfsArtifactStore" requested by the login. The login failed.
Login failed for user ''.
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   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.IdentityServer.Service.ArtifactResolutionService.SqlArtifactStorage.GetSqlConnection(Boolean useCommonArtifactDb)
   --- End of inner exception stack trace ---
   at Microsoft.IdentityServer.Service.ArtifactResolutionService.SqlArtifactStorage.GetSqlConnection(Boolean useCommonArtifactDb)
   at Microsoft.IdentityServer.Service.ArtifactResolutionService.SqlArtifactStorage.CreateSqlCommand(ActionType commandType, Boolean useCommonArtifactDb)
   at Microsoft.IdentityServer.Service.ArtifactResolutionService.SqlArtifactStorage.BeginAdd(Artifact artifact, AsyncCallback callback, Object state, Boolean useCommonArtifactDb)
   at Microsoft.IdentityServer.Service.ArtifactResolutionService.ArtifactService.BeginAdd(Artifact artifact, AsyncCallback callback, Object state, Boolean useCommonArtifactDb)
   at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthAuthorization.OAuthAuthorizationProtocolHandler.SaveOAuthArtifact(OAuthAuthorizationRequestContext authContext, SecurityTokenElement ssoTokenElement, ArtifactSecurityTokenType tokenType, OAuthAccessTokenResponseMessage tokenResponseMessage)
   at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthAuthorization.OAuthAuthorizationProtocolHandler.BuildOAuthStandardAuthorizationResponse(OAuthAuthorizationRequestContext authContext, WrappedHttpListenerContext context, SecurityTokenElement signOnTokenElement, ArtifactSecurityTokenType artifactTokenType, Boolean isSSOSignInAttempt, OAuthAccessTokenResponseMessage tokenResponseMessage)
   at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthAuthorization.OAuthAuthorizationProtocolHandler.BuildOAuthAuthorizationResponse(OAuthAuthorizationRequestContext authContext, WrappedHttpListenerContext context, SecurityTokenElement signOnTokenElement, ArtifactSecurityTokenType artifactTokenType, Boolean isSSOSignInAttempt, OAuthAccessTokenResponseMessage tokenResponseMessage)
   at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthAuthorization.OAuthAuthorizationProtocolHandler.CreateAuthorizationResponseMessage(OAuthAuthorizationRequestContext authorizationContext, SecurityToken ssoSecurityToken, Boolean ssoSignInAttempted)

System.Data.SqlClient.SqlException (0x80131904): Cannot open database "AdfsArtifactStore" requested by the login. The login failed.
Login failed for user 'PA\svc_crmadfs'.
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   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.IdentityServer.Service.ArtifactResolutionService.SqlArtifactStorage.GetSqlConnection(Boolean useCommonArtifactDb)
ClientConnectionId:0a102b4d-a4b6-47bc-8abd-1467be4bb4d5
Error Number:4060,State:1,Class:11

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...