After a Group Policy Object (GPO) update, RightFax services may fail to start and lose connectivity to the SQL Server backend. The Windows Security event log on the RightFax application server will contain a Kerberos error referencing KRB_AP_ERR_MODIFIED, and the RightFax Database Service configuration will return an SSPI error when attempting to look up the SQL Server connection.
Ingenium Software support engineers and technicians are scoped exclusively to the RightFax application and its associated files and configuration. While Ingenium Support can help interpret diagnostic results and advise on next steps, any remediation involving Active Directory, Group Policy, or SQL Server configuration must be carried out by the customer's AD or SQL Server administration team. Ingenium cannot make changes to these systems on the customer's behalf.
The Kerberos client received a KRB_AP_ERR_MODIFIED error from the server <SQLServerName>. The target name used was MSSQLSvc/<SQLServerFQDN>:<port>. This indicates that the target server failed to decrypt the ticket provided by the client. This can occur when the target server principal name (SPN) is registered on an account other than the account the target service is using.
RightFax uses Windows Integrated Security (Kerberos/NTLM) to authenticate to SQL Server. Kerberos relies on Service Principal Names (SPNs) registered in Active Directory for the SQL Server service account. A KRB_AP_ERR_MODIFIED error indicates one of the following conditions on the infrastructure side — outside the RightFax application itself:
Because the root cause lies in Active Directory and SQL Server configuration, Ingenium Support's role in these cases is to assist with diagnosis and advise the appropriate customer team on remediation steps.
Ingenium Support will guide the customer through the following diagnostic steps. All commands should be run from an elevated command prompt on any domain-joined machine by the customer's IT team.
On the RightFax application server, open Event Viewer and check the Security and Application logs around the time the services stopped. Confirm the error references KRB_AP_ERR_MODIFIED and note the exact SPN listed (e.g., MSSQLSvc/VWRFDBT001.bcbsncps.com:8433). This is within the RightFax server environment and Ingenium Support can assist in locating and interpreting these logs.
Ingenium Support can advise on this step. Confirm the RightFax service account has no SPN issues:
setspn -L <RightFaxServiceAccountName>An empty result is normal for the RightFax service account. SPNs are only required on the SQL Server service account. If SPNs need to be added or modified for the RightFax service account, this must be performed by the customer's AD team.
This step must be performed by the customer's AD or SQL Server team. Ingenium Support can advise on what to run and how to interpret the results.
Run both commands, substituting the SQL Server hostname and port from the event log error:
setspn -Q MSSQLSvc/<SQLServerFQDN>:<port>setspn -Q MSSQLSvc/<SQLServerShortName>:<port>Interpret results:
Share the output with Ingenium Support and we can help determine which scenario applies and what to tell your AD or SQL team.
Important: All resolution steps below involve Active Directory and SQL Server and are outside the scope of Ingenium Software support. Ingenium engineers and technicians are scoped to the RightFax application and its associated files and configuration only. We can provide guidance and advise your team on the correct steps, but the actual changes must be made by your AD or SQL Server administrators. If you are unsure who to engage internally, contact your Windows infrastructure or database team.
To be performed by the customer's AD team. Remove the SPN from the incorrect account:
setspn -D MSSQLSvc/<SQLServerFQDN>:<port> <WrongAccountName>Verify it remains registered on the correct SQL service account:
setspn -Q MSSQLSvc/<SQLServerFQDN>:<port>To be performed by the customer's AD team. Remove from the wrong account and re-register on the correct one:
setspn -D MSSQLSvc/<SQLServerFQDN>:<port> <WrongAccountName>
setspn -S MSSQLSvc/<SQLServerFQDN>:<port> <CorrectSQLServiceAccount>
setspn -S MSSQLSvc/<SQLServerShortName>:<port> <CorrectSQLServiceAccount>To be performed by the customer's AD team. Register both FQDN and short-name SPNs on the SQL Server service account:
setspn -S MSSQLSvc/<SQLServerFQDN>:<port> <SQLServiceAccount>
setspn -S MSSQLSvc/<SQLServerShortName>:<port> <SQLServiceAccount>To be performed by the customer's SQL Server team. Restart the SQL Server service to force re-registration of credentials with the KDC:
net stop MSSQLSERVER && net start MSSQLSERVERFor a named instance:
net stop "MSSQL$<InstanceName>" && net start "MSSQL$<InstanceName>"Once the customer's AD or SQL team has completed the remediation steps, Ingenium Support can assist with verifying the RightFax side:
<Drive>:\Program Files (x86)\RightFax\Logs\RFServer.log for residual errors