diff --git a/DBADashServiceConfig/ServiceConfig.cs b/DBADashServiceConfig/ServiceConfig.cs index 40a3246c..84cfa375 100644 --- a/DBADashServiceConfig/ServiceConfig.cs +++ b/DBADashServiceConfig/ServiceConfig.cs @@ -1541,7 +1541,7 @@ private void ChkEnableMessaging_CheckedChanged(object sender, EventArgs e) collectionConfig.EnableMessaging = chkEnableMessaging.Checked; SetJson(); - if (chkEnableMessaging.Checked && collectionConfig.SourceConnections.Exists(src => string.IsNullOrEmpty(src.ConnectionID))) + if (chkEnableMessaging.Checked && collectionConfig.SourceConnections.Exists(src => string.IsNullOrEmpty(src.ConnectionID) && src.SourceConnection.Type == ConnectionType.SQL)) { if (MessageBox.Show( "Messaging requires an explicit ConnectionID to be defined in the config file. One or more connections do not have a ConnectionID defined.\nWould you like to automatically populate this now?\n\nNote:This might take a while depending on the number of connections and their availability.",