我遇到了一个错误Script Task
in SSIS package
。我可以找到类似的问题,但它们与我的情况不同。
构建脚本失败并出现以下错误(有关错误列表,请参阅下图):
严重性代码 说明 项目文件行抑制状态
错误 找不到路径的一部分
'C:\Users\name\AppData\Local\Temp\2\Vsta\166f3f6a0a3b4d2b9bce8275652e86c5_out'。
ST_e39a74fadbb04a8088f3dcc732f67cf0 C:\Users\name\AppData\Local\Temp\2\Vsta\SSIS_ST140\VstagyjdfDg98EOThQux2q_T5A\VstaFGRuzNpZdEeMuG1swXzy5g\mscorlib 0
错误列表:
我可以理解这个错误File not found in the path
。好的。我可以更改路径,但它显示line: 0
。当我单击错误时,我收到以下通知。
Message:
所以,现在我的问题是,
这条路径存在于项目中的什么位置?
如何解决这个错误?
Note:
- 我正在使用以下版本的 VS Code。
微软 Visual Studio 社区 2019
版本 16.9.1 VisualStudio.16.Release/16.9.1+31105.61 Microsoft .NET
框架版本4.7.03062
- 文件名
*_out
每次构建时都会更改错误。
Thanks,
Pugal.
Update:
现在 Visual Studio 2019 中已修复,但修复方法是安装最新版本的 Visual Studio for Applications。
https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects
VS 2019 16.9 中存在一个回归,会导致编辑脚本时脚本任务/组件无法正常工作。 VSTA团队发布了一个新版本来解决这个问题。请安装最新版本 3.12.1 来解决该问题,或者您可以保留版本 3.12 并手动下载并安装最新版本的 VSTA 2019here https://www.microsoft.com/en-us/download/details.aspx?id=58317.
Old:
如下所示,这在 Visual Studio 2019 16.9 中被破坏
https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects
VS 2019 16.9 中存在一个回归,会导致编辑脚本时脚本任务/组件无法正常工作。目前请不要升级到 16.9。如果您已经升级到16.9,并且正在使用脚本任务/组件,请回滚到16.8或更早版本。
因此,请尝试使用最新的可用 16.8.x 版本。https://learn.microsoft.com/en-us/visualstudio/releases/2019/history#installing-an-earlier-release https://learn.microsoft.com/en-us/visualstudio/releases/2019/history#installing-an-earlier-release
您也可以为该项目投票
https://developercommunity2.visualstudio.com/t/SSIS-script-task-do-not-build/1354064 https://developercommunity2.visualstudio.com/t/SSIS-script-task-do-not-build/1354064
SSIS脚本任务不构建
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)