简体   繁体   中英

Azure Data Factory On-Premises Copy Error

I am trying to schedule an on-premises copy job that contains a SQL Server. However I am getting a different kind of error when trying to enter the sql server credentials.

Type=Microsoft.Data.Mashup.InternalMashupException.Message..sorry,en error occurred during evaluation.,Source=Microsoft.Data.Mashup"Type=Microsoft.Mas..data protection operation was unsuccessful. This may have been caused by not having the user profile loaded for the current thread's user context which may be the case when the thread is impersonanting.Sources, "Type=Microsoft.Mashup.Evaluation.Inter...

I have provisioned the gateway onto the server where the sql server is hosted but getting this error.

Also I am using the Copy Preview feature to get this working.

I may be wrong here, but it looks like an authentication issue. Have you tried connecting to the server from the gateway? Open the Microsoft Integration Runtime Configuration Manager, go to Diagnostics and fill every field, then click test. If everything is correct, a green check should appear. You are trying to impersonate a user, so choose Windows instead of Basic.

Try with it until you get the green check, then make sure that the linked service you are using has the same info you used and it should work.

You can also try creating a database user and give it permissions to make the query you want, then changing the linked service to use the database user instead of the windows user.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM