Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing Enumerator in Foreach Loop Editor

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.

like image 901
Tim Peters Avatar asked Dec 24 '22 18:12

Tim Peters


2 Answers

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

like image 194
Tim Peters Avatar answered Dec 27 '22 06:12

Tim Peters


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

like image 20
Sudhir Menon Avatar answered Dec 27 '22 06:12

Sudhir Menon