Hello
I have started working on Azure SQL DWH in last 2 days, requirement is to sync On Premise SQL Server and SQL DWH using Azure Data Factory.
I have a table with 98 columns and around 4600 rows but the ADF Copy activity is failing regularly with below error.
------------------------------------------------------------------------------------------------------------------------------------
Database operation failed on server 'tcp:smm.database.windows.net,1433' with SQL Error Number '110802'. Error message from database execution : 110802;An internal DMS error occurred that caused this operation to fail. Details: Exception: Microsoft.SqlServer.DataWarehouse.DataMovement.Workers.DmsSqlNativeException, Message: SqlNativeBufferBufferBulkCopy.WriteTdsDataToServer, error in OdbcDone: SqlState: , NativeError: 0, 'Error calling: bcp_done(this->GetHdbc()) | SQL Error Info: SrvrMsgState: 0, SrvrSeverity: 0, | Error calling: pConn->Done() | state: FFFF, number: 1115, active connections: 6', Connection String: Driver={pdwodbc};APP=TypeC01-DmsNativeWriter:DB182\mpdwsvc (12112)-ODBC;Trusted_Connection=yes;AutoTranslate=no;Server=\\.\pipe\DB.182-e5e0f2b60758\sql\query.
-----------------------------------------------------------------------------------------------------------------------------------
Tried different ways to resolve it but non worked till now.
On querying SQL DWH [sys].[dm_pdw_exec_requests] it was observed that INSERT BULK... query failed with error id. Error details from [sys].[dm_pwd_errors] is below:
---------------------------------------------------------------------------------------------------
110802;An internal DMS error occurred that caused this operation to fail. Details: Exception: Microsoft.SqlServer.DataWarehouse.DataMovement.Workers.DmsSqlNativeException, Message: SqlNativeBufferBufferBulkCopy.WriteTdsDataToServer, error in OdbcDone: SqlState:
, NativeError: 0, 'Error calling: bcp_done(this->GetHdbc()) | SQL Error Info: SrvrMsgState: 0, SrvrSeverity: 0, | Error calling: pConn->Done() | state: FFFF, number: 1803, active connections: 60', Connection String: Driver={pdwodbc};APP=TypeC01-DmsNativeWriter:DB150\mpdwsvc
(44512)-ODBC;Trusted_Connection=yes;AutoTranslate=no;Server=\\.\pipe\DB.150-e5e0f2b60758\sql\query
Microsoft.SqlServer.DataWarehouse.Common.ErrorHandling.MppSqlException: 110802;An internal DMS error occurred that caused this operation to fail. Details: Exception: Microsoft.SqlServer.DataWarehouse.DataMovement.Workers.DmsSqlNativeException, Message: SqlNativeBufferBufferBulkCopy.WriteTdsDataToServer,
error in OdbcDone: SqlState: , NativeError: 0, 'Error calling: bcp_done(this->GetHdbc()) | SQL Error Info: SrvrMsgState: 0, SrvrSeverity: 0, | Error calling: pConn->Done() | state: FFFF, number: 1803, active connections: 60', Connection String:
Driver={pdwodbc};APP=TypeC01-DmsNativeWriter:DB150\mpdwsvc (44512)-ODBC;Trusted_Connection=yes;AutoTranslate=no;Server=\\.\pipe\DB.150-e5e0f2b60758\sql\query
at Microsoft.SqlServer.DataWarehouse.Engine.Session.SessionContext.OnFinalizeTransaction(Exception error, IQueryContext queryCtx)
at Microsoft.SqlServer.DataWarehouse.Engine.Session.SessionContext.FinalizeTransaction(Exception error, IQueryContext queryCtx)
at Microsoft.SqlServer.DataWarehouse.Engine.Processors.AbstractProcessor.FinalizeExecute(Exception error)
at Microsoft.SqlServer.DataWarehouse.Engine.Processors.AbstractProcessor.OnExecute()
at Microsoft.SqlServer.DataWarehouse.Engine.Utils.EventUtils.PublishApplicationEventAndExecute(ApplicationEventTrigger beginTrigger, ApplicationEventTrigger endTrigger, ApplicationEventTrigger errorTrigger, ApplicationEventTrigger cancelTrigger,
PublishedEventPayloadDelegate payload, Action callback)
at Microsoft.SqlServer.DataWarehouse.Engine.Processors.AbstractProcessor.Execute()
at Microsoft.SqlServer.DataWarehouse.Engine.Server.ServerInterface.ProcessorWorker.ExecuteProcessor()
---------------------------------------------------------------------------------------------------------------------------------------
For debugging please find Activity ID below.
297b048c-b501-43f2-a637-3951c578f982_635864256000000000_635865120000000000_Azure_SQLDataWareHouseSMM_Incident
Please suggest remedy for this problem.
Thanks
Shirshank
Shirshank Deepankar v-shide@microsoft.com