- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在本地 C: 驱动器上有一个包,如果我将其作为 SQL 代理作业的一部分运行,则会失败:
02/20/2013 17:38:45,MyUpload,Error,3,FMF-S3-1507\EOS01,PAM_MyUpload,Run MyUpload SSIS Package,,
Executed as user: MARKETS\SVCSQLDEV.
Microsoft (R) SQL Server Execute Package Utility Version 10.0.5500.0 for 64-bit
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: 17:38:45 Error: 2013-02-20 17:38:45.72
Code: 0xC0011007
Source: {14BE11F5-B737-4A6E-96E6-111635631749}
Description: Unable to load the package as XML because of package does not have a valid XML format. A specific XML parser error will be posted. End Error
Error: 2013-02-20 17:38:45.72
Code: 0xC0011002
Source: {14BE11F5-B737-4A6E-96E6-111635631749}
Description: Failed to open package file "C:\MyFolder\Package.dtsx" due to error 0x80070003 "The system cannot find the path specified.". This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format. End Error
Could not load package "C:\MyFolder\Package.dtsx" because of error 0xC0011002.
Description: Failed to open package file "C:\MyFolder\Package.dtsx" due to error 0x80070003 "The system cannot find the path specified.". This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format.
Source: {14BE11F5-B737-4A6E-96E6-111635631749}
Started: 17:38:45
Finished: 17:38:45
Elapsed: 0.047 seconds.
The package could not be found. The step failed.
,00:00:00,0,0,,,,0
但是,如果我从 SQL 代理作业步骤复制命令行并使用 DTExec.exe
运行它,则会成功:
C:\Program Files\Microsoft SQL Server\100\DTS\Binn>DTExec.exe /FILE "C:\MyFolder\Package.dtsx" /CHECKPOINTING OFF /REPORTING E
Microsoft (R) SQL Server Execute Package Utility
Version 10.50.1600.1 for 32-bit
Copyright (C) Microsoft Corporation 2010. All rights reserved.
Started: 17:44:00
DTExec: The package execution returned DTSER_SUCCESS (0).
Started: 17:44:00
Finished: 17:44:56
Elapsed: 55.266 seconds
我可以在作业步骤中尝试解决什么问题? Commandshell 类型的作业步骤是正确的前进方向吗?
最佳答案
我认为您遇到了权限问题。如果您查看您发布的日志,由于错误 0x80070003“系统找不到指定的路径。”而无法打开包文件“C:\MyFolder\Package.dtsx”。
运行 SQL 代理的帐户无权访问 C:\MyFolder。
您可能需要向该帐户授予文件系统权限。或者,您可以创建授权凭据并更改作业步骤以使用该帐户。
could you advise what you mean by "grant file system to that account"
Windows 在文件夹/对象级别定义权限。如果您右键单击文件夹并选择属性,则会出现一个“安全”选项卡(假设您有权查看它)。其中列出了有权访问该文件夹的组或用户名,然后列出了与该组或用户名关联的权限。
权限选项包括:完全控制、修改、读取和执行、列出文件夹内容、读取、写入和特殊权限。
在这种情况下,运行包 MARKETS\SVCSQLDEV
的用户无权查看/读取 C:\MyFolder\Package.dtsx
用户可能无法列出文件夹内容,或者可以列出内容但无法从那里读取内容。我不是安全人员,因此任何与此相关的建议都应该向您的安全人员提出。
也就是说,我将单击顶部的“编辑”按钮,然后添加用户。您可能需要更改“从此位置”以指向您的域而不是本地计算机。不管怎样,找到该用户并单击“确定”。
然后在“权限”部分中,选中“列出文件夹”和“读取”。单击“确定”关闭该屏幕,然后再次单击“确定”关闭“安全”选项卡。假设您有权执行所有这些操作,则该帐户现在具有对该文件夹的读取/列出访问权限。
关于ssis - 为什么在 dtexec 上运行良好的包在 SQL Server 代理作业下无法运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14986726/
我正在尝试使用以下内容在 SQL 2005 上执行 SSIS 包: dtexec /SQL "\MyPackageName" /SERVER mssql1 /MAXCONCURRENT " -1 "
我正在尝试使用 dtexec 命令行实用程序执行 SSIS 包。 我的 dtexec 语法如下: dtexec /FILE "C:\DirectLoads\RefEDWDirectLoads.dtsx
有没有办法降低运行 DTEXEC 作业时输出的细节级别? 例如在 cmd 窗口中,我有很多... Progress: 2012-05-10 12:24:20.70 Source: Import
我想知道在使用 dtexec 时在命令行上传递连接字符串属性的正确格式是什么: dtexec.exe /Ser IpAddress\Instance /IS "\SSISDB\Data Warehou
当我尝试使用 dtexec 执行在 sql server data tools (vs 2010) 中创建的 SSIS 包时,我收到错误“不是有效的服务器包路径”。文档说使用:dtexec/ISSer
我正在使用存储过程和对 xp_cmdshell 的调用远程调用 SSIS 包: declare @cmd varchar(5000) set @cmd = '"C:\Program Files (x8
我已将 SSIS 配置配置为从 XML 文件加载。当我使用 dtexec 运行包时,我为我正在处理的每个国家/地区指定了不同的配置文件。在 Visual Studio 中,我将其指定为 France.
我想通过PowerShell在ISServer上执行SSIS包。 我使用了Microsoft页面上的脚本。这对我来说行不通。 我想传递一个连接字符串,但不希望分配给connectionmanager,
我正在尝试在 Linux 上运行 SSIS 程序包,但在尝试传递变量时遇到了问题。以下命令在使用 SQL 2017 的 Windows 上运行良好,但在 Linux 上运行错误: dtexec /F
这个问题在这里已经有了答案: Executing SSIS 2012 package that has script components from external application (1
当指向远程 SSIS 包时,有没有办法让 dtexec 工具在包完成运行之前不退出? 我的包运行成功,但 dtexec 报告的运行时间比 SQL Server 上“所有执行”报告中报告的实际持续时间短
我正在使用 dtexec 运行 SSIS 包。该软件包在我的系统上的 BIDS 中运行良好。当我创建 SQL Server 代理作业以按计划运行包时。包运行步骤被安排为 T-SQL 任务,而不是 SS
我在本地 C: 驱动器上有一个包,如果我将其作为 SQL 代理作业的一部分运行,则会失败: 02/20/2013 17:38:45,MyUpload,Error,3,FMF-S3-1507\EOS01
我正在尝试通过任务计划程序使用 dtexec 自动化 SSIS 包(因为我无权通过 SQL 代理创建它)并且需要在我的机器上本地完成。我引用了这篇文章:How to launch cmd.exe to
在 SQL Server 2012 上运行以下命令时: dtexec /isserver "\My Folder\My Package.dtsx" /X86 /SERVER "." /REPORTIN
我知道 Azure SQL 数据库没有 SQL Server 代理来运行 SQL 作业。我可以通过命令提示符运行 SSIS 包。我可以通过 SSDT 创建并运行 SSIS 包,没有任何限制,但如果我想
上周五,我的 PC 进行了大约 2 个月的更新。现在我无法使用批处理脚本启动 SSIS。尝试使用 gacutil.exe 将 Microsoft.sqlserver.manageddts.dll 添加
SQL Server 维护计划如何与 Jobs 和 DTExec 相关联? 我对维护计划的本地连接特别感兴趣,它似乎以某种方式传递给了 dtexec。 我已经阅读了一些文档,但没有一个足够清楚。正如我
我在 ssis 的一个项目中遇到了这个问题。我不得不将原始项目分成不同的包,因为它太大了,有时可能会引起内存问题。因此,为了链接不同的包,我使用“执行包任务”来相互引用。如果我直接从 SSIS 执行该
我最近在尝试运行调用多个子包的主父 SSIS 包时遇到了一个问题。我还没有找到有关此确切问题的帖子,因此我想分享一下我认为如何解决该问题的方法。这是尝试运行包时会发生的错误: 因此,在研究了这个问题之
我是一名优秀的程序员,十分优秀!