[英]Azure Data Factory fails to execute copy data task to SQL Server
I have an Azure Data Factory pipeline that contains copy data task.我有一个包含复制数据任务的 Azure 数据工厂管道。 The task copies the data from Azure Blob storage to SQL Server Table.该任务将数据从 Azure Blob 存储复制到 SQL 服务器表。 The SQL Server is hosted on-prem and hence is accessed through integration runtime. SQL 服务器托管在本地,因此可以通过集成运行时访问。
I tested the connections to both Azure Blob Storage and SQL Server from Azure Data Factory and they work.我测试了从 Azure 数据工厂到 Azure Blob 存储和 SQL 服务器的连接,它们工作正常。
However, when I try to execute the copy task I get the following error:但是,当我尝试执行复制任务时,出现以下错误:
The object (covered in black for confidentiality) is the name of the table I want to write to in SQL Server. object(为保密而用黑色覆盖)是我要在 SQL 服务器中写入的表的名称。 I can confirm that the table exists.我可以确认该表存在。 I can confirm that the user that is the integration run time is using to access SQL server is having the required permissions to write to the table.我可以确认作为集成运行时用于访问 SQL 服务器的用户具有写入表所需的权限。
This is not an issue with Data factory, as you say your connection is successful it seems to be true.这不是数据工厂的问题,正如您所说的连接成功,这似乎是真的。
It more of seems to an issue with either not using the correct database or you do clearly have no access on the table .更多的问题似乎是没有使用正确的数据库,或者您显然无法访问该表。
Can you use the same database credentials login using SSMS and try running select/update queries?您可以使用 SSMS 使用相同的数据库凭据登录并尝试运行选择/更新查询吗?
Also can you check if the auto increment is true?您还可以检查自动增量是否为真吗?
Please find this link for your reference - > https://support.microsoft.com/en-us/topic/error-message-when-you-try-to-insert-data-into-a-custom-table-in-microsoft-dynamics-nav-cannot-find-the-object-navdbname-dbo-companyname$-tablename-because-it-does-not-exist-or-you-do-not-have-permissions-70dc2a61-c5f7-a85e-ae24-0b4d8931d9ef请找到此链接以供参考 - > https://support.microsoft.com/en-us/topic/error-message-when-you-try-to-insert-data-into-a-custom-table-in -microsoft-dynamics-nav-cannot-find-the-object-navdbname-dbo-companyname$-tablename-because-it-does-not-exist-or-you-do-not-have-permissions-70dc2a61-c5f7- a85e-ae24-0b4d8931d9ef
A few things you can do to further check if the table is accessible.您可以做一些事情来进一步检查该表是否可访问。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.