title: Keyword not supported: 'failover partner:sql-failover;initial catalog' in VB.NET
body: <p>We have a SQL Server configured for mirroring.  The initial server failed today and almost all our applications failed over correctly except for a VB.NET application.</p>
  
  <p>When it starts up to set the connection string I get the following error:</p>
  
  <pre><code>"Keyword not supported: 'failover partner:sql-failover;initial catalog'."
  </code></pre>
  
  <p>Here is the code to connect:</p>
  
  <pre><code>    Dim sConnectionString As String
      Dim sServer As String
  
      Try
          'Always connect to production server to get startup environment variables
          If gbIsProduction Then
              If gsProductionServer = "" Then
                  sServer = "PROD-SQL"
              Else : sServer = gsProductionServer
              End If
          Else : sServer = gsDevelopmentServer
          End If
          sConnectionString = "Data Source=" &amp; sServer &amp; ";Failover Partner:SQL-FAILOVER;Initial Catalog=*****;User ID=****;Password=******;"
          cnSystem.ConnectionString = sConnectionString
          cnSystem.Open()
          cmdSystem.Connection = cnSystem
      Catch ex As Exception
          RaiseError("", "modGeneral." &amp; System.Reflection.MethodBase.GetCurrentMethod().Name, Err.Number, Err.Description)
  </code></pre>
  
  <p>Any reason why?  I know Failover Partner is not supported in .NET 1.1 but I am using framework 3.5 SP1.</p>
  
  <p>Thanks!</p>