[英]Azure Data Factory On-Premises Copy Error
I am trying to schedule an on-premises copy job that contains a SQL Server. 我正在尝试安排一个包含SQL Server的本地复制作业。 However I am getting a different kind of error when trying to enter the sql server credentials. 但是,尝试输入sql服务器凭据时出现另一种错误。
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... Type = Microsoft.Data.Mashup.InternalMashupException.Message..sorry,在评估期间发生错误。Source= Microsoft.Data.Mashup“ Type = Microsoft.Mas..data保护操作未成功。这可能是由于具有为当前线程的用户上下文加载的用户配置文件,这可能是线程冒名时的情况。来源,“ Type = Microsoft.Mashup.Evaluation.Inter ...
I have provisioned the gateway onto the server where the sql server is hosted but getting this error. 我已将网关调配到托管sql服务器的服务器上,但收到此错误。
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. 打开Microsoft集成运行时配置管理器,转到“诊断”并填写每个字段,然后单击“测试”。 If everything is correct, a green check should appear. 如果一切正确,则应显示绿色对勾。 You are trying to impersonate a user, so choose Windows instead of Basic. 您试图模拟用户,所以选择Windows而不是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. 您也可以尝试创建数据库用户并授予其进行所需查询的权限,然后将链接服务更改为使用数据库用户而不是Windows用户。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.