Azure Data Factory On-Premises Copy Error

空扰寡人 提交于 2019-12-11 16:54:43

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/48082633/azure-data-factory-on-premises-copy-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!