SSIS script task can't read project variable
Clash Royale CLAN TAG #URR8PPP SSIS script task can't read project variable In my project.params I have variables such as LampUserName of type string. In my script task I'm then trying to read them like so: LampUserName foreach (var name in new string { "ServerName", "InitialCatalog", "UserName", "Password" }) { if (!Dts.Variables.Contains(string.Format("$Project::Lamp{0}", name))) { writer.WriteLine(name); } } string server_name = (string)Dts.Variables["$Project::LampServerName"].Value; string database = (string)Dts.Variables["$Project::LampInitialCatalog"].Value; string username = (string)Dts.Variables["$Project::LampUserName"].Value; string password = (string)Dts.Variables["$Project::LampPassword"].Value; Every one of those prints out that it doesn't exist and then an exception is thrown. Wha...