Hi All,
I have an active passive Clustered environment in SQL 2012. While running scheduled jobs I am getting the following error.
Description: "Cannot generate SSPI context". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "SQL Server Network Interfaces: The target principal name is incorrect. "
This will disappear for a short while if we restart or attempt a failover. But will show the same error after the job have executed around 6-7 time continiuously. I have checked SPN and its registered successfully. The command setspn -L Domain\Account returns the following.
MSSQLSvc/EDW.USTDEV.COM:1433
MSSQLSvc/EDW.USTDEV.COM:EDW
MSSQLSvc/ODS.USTDEV.COM:52860
MSSQLSvc/ODS.USTDEV.COM:ODS
Kindly post a resolution for the same. SQL Job full error message is as follows.
Description: "SQL Server Network Interfaces: The target principal name is incorrect. ". End Error Error: 2014-04-06 16:19:46.04 Code: 0xC0202009 Source: SSIS_PKG_HOLIDAY_CALENDAR_DATA Connection manager "CONN_OLED_CONFIG" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Cannot generate SSPI context". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description:"SQL Server Network Interfaces: The target principal name is incorrect. ". End Error Error: 2014-04-06 16:19:46.06 Code: 0xC001404B Source: SSIS_PKG_HOLIDAY_CALENDAR_DATA Log provider"SSIS log provider for Text files" Description: The SSIS logging provider has failed to open the log. Error code: 0x80070003. The system cannot find the path specified. End Error Error: 2014-04-06 16:19:46.08 Code: 0xC0202009 Source: SSIS_PKG_HOLIDAY_CALENDAR_DATA Connection manager "CONN_OLED_CONFIG" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Cannot generate SSPI context". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "SQL Server Network Interfaces: The target principal name is incorrect. ". End Error Error: 2014-04-06 16:19:46.10 Code: 0xC0202009 Source: SSIS_PKG_HOLIDAY_CALENDAR_DATA Connection manager "CONN_OLED_CONFIG" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Cannot generate SSPI context". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "SQL Server Network Interfaces: The target principal name is incorrect. ". End Error Error: 2014-04-06 16:19:46.12 Code: 0xC0202009 Source: SSIS_PKG_HOLIDAY_CALENDAR_DATA Connection manager "CONN_OLED_CONFIG" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Cannot generate SSPI context". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description:"SQL Server Network Interfaces: The target principal name is incorrect. ". End Error Error: 2014-04-06 16:19:46.14 Code: 0xC0202009 Source: SSIS_PKG_HOLIDAY_CALENDAR_DATA Connection manager "CONN_OLED_CONFIG" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Cannot generate SSPI context". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "SQL Server Network Interfaces: The target principal name is incorrect. ". End Error Error: 2014-04-06 16:19:46.16 Code: 0xC0202009 Source: SSIS_PKG_HOLIDAY_CALENDAR_DATA Connection manager"CONN_OLED_CONFIG" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Cannot generate SSPI context". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "SQL Server Network Interfac... The package execution fa... The step failed.