繁体   English   中英

无法从SSIS包文件加载XML

[英]Failed to load XML from SSIS package file

我不得不将SSIS 2008程序包向后转换为2005,包括将所有C#脚本任务转换为VB。 完成此操作并使其从Visual Studio正常运行后,我将其部署到服务器,但是当我通过SSIS将包导入“文件系统”时,出现以下错误:

Failed to load XML from package file "C:\filePath\packageName.dtsx" due to error 
0xC00CE513 "Whitespace is not allowed at this location. Line 7595, Column 82".  
This happens when loading a package and the file cannot be opened or 
loaded correctly into an XML document. This can be the result of either providing 
an incorrect file name to the LoadPackage method or the XML file specified having 
an incorrect format. ({EBEB7947-B9DA-4715-B7F7-D1E9CC8DAD6E})

现在,当我打开打包文件并转到该行时,这就是我所拥有的:

Dim logFilePath As String = Dts.Variables("LogFolder").Value.ToString() & "\LOG.txt"

我在过去一个小时内尝试使用谷歌搜索,但找不到任何东西,将不胜感激。

现在已经解决了。 问题在于通过剪贴板通过RDP会话复制软件包,由于某种原因,这导致文件损坏。 我通过映射驱动器并通过这种方式进行复制来解决此问题,相反,已编译包中的原始XML格式正确

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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