title: Why does my override Initialize not get called?
body: <p>I have a class derived from SqlMembershipProvider with a function Initialize that overrides the original. This function is not being called.</p>
  
  <p>I am using Microsoft membership services. I need to use a dynamically defined connection string. I need to provide an alternative Initialization routine. I define a class and replacement routine but it is never called.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>namespace MyNameSpace
  {
      public class MySqlMembershipProvider : SqlMembershipProvider
      {
          public override void Initialize(string name, NameValueCollection 
             config)
          {
  
              config["connectionStringName"] = 
                   cearDBUtilV10.adminMgt.adminConnString;
              base.Initialize(name, config);
          }
      }
  }
  </code></pre>
  
  <p>Here is the app.config file:</p>
  
  <pre><code>&lt;membership defaultProvider="MySqlMembershipProvider"&gt;
  &lt;providers&gt;
  &lt;clear /&gt;
  &lt;remove name="cearDBUtiulV10.Properties.Settings.cear_admin" /&gt;
  &lt;add name="MySqlMembershipProvider" type= /&gt;
  &lt;/providers&gt;
  &lt;/membership&gt;
  &lt;connectionStrings&gt;
  &lt;add name="xxxxEntities" 
  connectionString="string" /&gt;
  
  &lt;add name="cearDBUtilV10.Properties.
             Settings.cear_adminConnectionString"
             connectionString="conn string" /&gt;
  &lt;/connectionStrings&gt;
  </code></pre>