public override void Initialize(string name, System.Collections.Specialized.NameValueCollection config) { base.Initialize(name, config); try { FieldInfo connectionStringField = GetType().BaseType.GetField("_sqlConnectionString", BindingFlags.Instance | BindingFlags.NonPublic); connectionStringField.SetValue(this, ConnectionSetting.GetConnectionSecuritySetting()); } catch (Exception ex) { throw ex; } }