I don't much about ADF, but supposedly you are connecting to the wrong server and/or the wrong database.
Azure data factory
ErrorCode SqlOperationFailed Type Microsoft.DataTransfer.Common.Shared HybridDeliveryException Message A database operation failed with the following error: Cannot find the object mytracedb 01 parts because it does not exist or you do not have permissions Source","Type-System.Data.SqlClient.SqlException, Message Cannot find the object "mytracedb_01 parts" because it does not exist or you do not have permissions Source Net SqlClient Data Provider,SqlError Number-1088, Class 16,ErrorCode=-2146232060,State=7,Errors-Class-16Number 1088 State-7,Message-Cannot find the object "mytracedb_01_parts
i am able to truncate the table in sql server but when i am writing pre copy script quesry its throwing error
4 answers
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
-
ShaikMaheer-MSFT 38,401 Reputation points Microsoft Employee
2023-10-20T17:28:09.29+00:00 Hi Shreya Singh,
Thank you for posting query in Microsoft Q&A Platform.
Kindly try below option to resolve above issue.
- Check is your SQL linked service test connection is getting successful.
- If you SQL is on prem network then use selfhosted IR in linked service.
- Make sure you are using the right Database in linked service, in which the
dbo.mytracedb_01_parts
table is present. - Make sure the user name which you are using in the linked service has the proper permissions to query your table.
I hope steps will help to resolve the issue. Please let me know if any further queries.
Please consider hitting
Accept Answer
button. Accepted answers help community as well.