Missing Enumerator in Foreach Loop Editor

2019-05-07 16:34发布

I'm on a new laptop, working in Visual Studio 2015 on a SQL Server Integration Services package.

In previous versions of Visual Studio there are several options in the Enumerator configuration section, like this...

enter image description here

In VS 2015, that section is blank and I cannot populate it with a data set.

enter image description here

I have updated SSDT and rebooted.

3条回答
闹够了就滚
2楼-- · 2019-05-07 16:42

I had the same issue and I resolved the problem by selecting Foreach File Enumerator option under collection. By default under Collections >> Foreach Loop Editor >>> Enumerator was set to foreach Item Enumerator as shown below

Default Config for Foreach Loop Container

Instead of "Foreach Item Container" aka the default value, I clicked on it and selected Foreach File Enumerator option and that resolved my problem. Please see snapshot below

Corrected configuration for Foreach Loop Editor

查看更多
孤傲高冷的网名
3楼-- · 2019-05-07 16:49

The problem was with the Target Server Version in the Project Properties. The new installation of Visual Studio 2015 had it defaulting to vNext. Switching it to SQL Server 2012 caused the configuration to show up.

enter image description here

enter image description here

查看更多
三岁会撩人
4楼-- · 2019-05-07 16:58

You have a problem is your visual studio. (below a screenshot of ADo enumerator from my computer , using visual studio 2015)

enter image description here

  • Try running visual studio in safe mode so if this was caused by an add-on it will be fixed. just run this command

    devenv.exe /safemode
    
  • If not working Try repairing your SQL Server Data Tools installation or Download the Latest release

查看更多
登录 后发表回答