排查 Azure 数据工厂中“复制数据”工具的问题Troubleshoot Copy Data tool in Azure Data Factory

适用于:是 Azure 数据工厂是 Azure Synapse Analytics(预览版)APPLIES TO: yesAzure Data Factory yesAzure Synapse Analytics (Preview)

本文探讨排查 Azure 数据工厂中“复制数据”工具的问题的常用方法。This article explores common troubleshooting methods for Copy Data tool in Azure Data Factory.

常见错误和消息Common errors and messages

错误代码:无法在“复制数据”工具中验证Error code: Unable to validate in Copy Data tool

  • 症状:在“复制数据”工具的第一步中,遇到了“无法验证”的警告消息。Symptoms: In the first step of Copy Data tool, you encounter the warning message of "Unable to Validate".
  • 原因:禁用所有第三方 Cookie 时可能会发生这种情况。Causes: This could happen when all third-party cookies are disabled.
  • 解决方法Resolution:
    • 使用 Internet Explorer 或 Microsoft Edge 浏览器。Use Internet Explorer or Microsoft Edge browser.
    • 如果使用的是 Chrome 浏览器,请按照以下说明为 microsoftonline.com 和 windows.net 添加 Cookie 例外 。If you are using Chrome browser, follow instructions below to add Cookies exception for microsoftonline.com and windows.net.
      1. 打开 Chrome 浏览器。Open the Chrome browser.
      2. 单击右侧的扳手或三条线(自定义并控制 Google Chrome)。Click the wrench or three lines on the right (Customize and control Google Chrome).
      3. 单击“设置”。Click Settings.
      4. 在“高级设置”下搜索 Cookie 或转到“隐私” 。Search Cookies or go to Privacy under Advanced Settings.
      5. 选择“内容设置”。Select Content Settings.
      6. Cookie 应设置为“允许设置本地数据(推荐)”。Cookies should be set to allow local data to be set (recommended).
      7. 单击“管理例外”。Click Manage exceptions. 在“主机名模式”下输入以下内容,并确保已设置为“允许” 。Under hostname pattern enter the following, and make sure Allow is the behavior set.
        • login.partner.microsoftonline.cnlogin.partner.microsoftonline.cn
        • login.chinacloudapi.cnlogin.chinacloudapi.cn
      8. 关闭浏览器并重新启动。Close the browser and relaunch.
    • 如果使用的是 Firefox 浏览器,请按照以下说明添加 Cookie 例外。If you are using Firefox browser, follow instructions below to add Cookies exception.
      1. 从 Firefox 菜单中转到“工具” > “选项” 。From the Firefox menu, go to Tools > Options.
      2. 在“隐私” > “历史记录”下,可能会看到当前设置为“对历史记录使用自定义设置” 。Under Privacy > History, your may see that the current setting is Use Custom settings for history.
      3. 在“接受第三方 Cookie”中,当前设置可能为“从不”,则应在右侧单击“例外”以添加以下站点 。In Accept third-party cookies, your current setting might be Never, then you should click Exceptions on the right to add the following sites.
      4. 关闭浏览器并重新启动。Close the browser and relaunch.

错误代码:无法打开登录页并输入密码Error code: Unable to open login page and enter password

  • 症状:“复制数据”工具会将你重定向到登录页,但登录页不会成功显示。Symptoms: Copy Data tool redirects you to login page, but login page doesn't show up successfully.
  • 原因:如果将网络环境从办公室网络更改为家庭网络,则可能会发生此问题。Causes: This issue could happen if you changed the network environment from office network to home network. 浏览器中有一些缓存。There are some caches in browsers.
  • 解决方法Resolution:
    1. 请关闭浏览器并重试。Close the browser and try again. 如果问题仍然存在,请继续执行下一步。Go to the next step if the issue still exists.
    2. 如果使用的是 Internet Explorer 浏览器,请尝试以隐私模式打开它(按 Ctrl+Shift+P)。If you are using Internet Explorer browser, try to open it in private mode (Press "Ctrl" + "Shift" + "P"). 如果使用的是 Chrome 浏览器,请尝试以无痕模式打开它(按 Ctrl+Shift+N)。If you are using Chrome browser, try to open it in incognito mode (Press "Ctrl" + "shift" + "N"). 如果问题仍然存在,请继续执行下一步。Go to the next step if the issue still exists.
    3. 尝试使用其他浏览器。Try to use another browser.

后续步骤Next steps

尝试通过以下资源获得故障排除方面的更多帮助:For more troubleshooting help, try these resources: