XenApp SSPI handshake failed with error code 0x8009030c, state 14


To totally unlock this section you need to Log-in


Login

During a routine check of the event logs on an SQL server that is being used for a XenApp 6.5 database, the following errors are noticed in the event logs:

Error: Event 17806, MSSQL$CITRIX_METAFRAME

SSPI handshake failed with error code 0x8009030c, state 14 while establishing a connection with integrated security; the connection has been closed. Reason: AcceptSecurityContext failed.

The Windows error code indicates the cause of the failure. The login attempt failed:

Information: Event 18452, MSSQL$CITRIX

Login failed. The login is from an untrusted domain and cannot be used with Windows authentication [Client: x.x.x.x]

In this scenario, there was no communication being shown between the XenApp server and the SQL Server with the service account that had been created for the XenApp server database.

To remedy, on the XenApp servers that were having trouble communicating, the IMA service has to be stopped, the following command has to be executed and then the IMA service has to be restarted.

dsmaint config /user:serviceaccount /pwd:password /dsn:"C:\Program Files (x86)\Citrix\Independent Management Architecture\mf20.dsn"

XenApp SSPI handshake failed with error code 0x8009030c, state 14

XenApp SSPI handshake failed with error code 0x8009030c, state 14

After this, the XenApp server communication could be seen in Activity monitor on the SQL server and the Event Logs Viewer should stop showing any errors about CITRIX_METAFRAME database instance communication or failed logons between Citrix servers.