简体   繁体   English

SSIS Package 脚本组件不会显示

[英]SSIS Package Script Component Won't Show

I have a strange bug, I have a loop in my control flow, amongst other things in the loop I have two data flow tasks, each of these has a script component in it.我有一个奇怪的错误,我的控制流中有一个循环,在循环中我有两个数据流任务,每个任务都有一个脚本组件。 When I use the Edit Script button the new window opens but the Solution Explorer is blank and no script ever shows, nothing is frozen it just doesn't appear.当我使用编辑脚本按钮时,新的 window 会打开,但解决方案资源管理器是空白的,并且没有任何脚本显示,没有任何内容被冻结,只是没有出现。 There are other script components within this same package and within the other packages we use and the scripts for them all seem to open fine.在同一个 package 和我们使用的其他包中还有其他脚本组件,它们的脚本似乎都可以正常打开。 I was having this issue initially with VS 2017. I had no luck fixing the issue so I uninstalled/reinstalled, but no luck.我最初在 VS 2017 中遇到了这个问题。我没有运气解决这个问题,所以我卸载/重新安装了,但没有运气。 I downloaded 2019 and those two scripts still will not appear for me in it.我下载了 2019 年,这两个脚本仍然不会出现在其中。 I've had several co-workers open these and everyone else sees these scripts fine regardless of the VS version.我已经让几个同事打开了这些脚本,其他人都认为这些脚本很好,无论 VS 版本如何。

Because you reinstalled VS 2019 I guess that you downloaded the newest version (16.9) of Visual Studio.因为您重新安装了 VS 2019,我猜您下载了 Visual Studio 的最新版本(16.9)。 Version 16.9 have a big problem with script component and everybody trying to fix this bug.版本 16.9 的script component有一个大问题,每个人都试图修复这个错误。 Unfortunately, you can only downgrade VS to version 16.8 or wait for 16.10.不幸的是,您只能将 VS降级到 16.8 版本或等待 16.10。 On link below, you can read that "issue has been fixed in 16.10 which will be released soon", as developers said.正如开发人员所说,在下面的链接中,您可以看到“问题已在 16.10 中修复,即将发布”。

Read common issues here: https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects在此处阅读常见问题: https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects

From my experiences (I had same issues), the easiest way is to downgrade version.根据我的经验(我有同样的问题),最简单的方法是降级版本。 Maybe version 16.10 will bring some other issues.也许版本 16.10 会带来一些其他问题。

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

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