title: Insert row issue windows authentication
body: <p>I have created my Database : ETSI and a Table : References (dbo.References in SQL Server 2008 Management Studio).</p>
  
  <p>Here is my App.config file :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;configuration&gt;
  
    &lt;connectionStrings&gt;
      &lt;add name="SQLServerConnection" connectionString="Server=.\SQLExpress;Database=ETSI;Trusted_Connection=True;Persist Security Info=False;Integrated Security=true;"/&gt;
    &lt;/connectionStrings&gt;
  
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Here is my method that catches this exception source: .Net SqlClient Data Provider</p>
  
  <pre><code>static void AddReference(string specification_number, string specification_version)
          {
              using (SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["SQLServerConnection"].ConnectionString))
              {
                  try
                  {
                      SqlCommand cmd = new SqlCommand("INSERT INTO References(specification_number,specification_version) VALUES(@specification_number, @specification_version)", con);
  
                      cmd.Parameters.AddWithValue("@specification_number", specification_number);
                      cmd.Parameters.AddWithValue("@specification_version", specification_version);
                      con.Open();
                      cmd.ExecuteNonQuery();
                      con.Close();
  
                      Console.Write("spec number ) "+specification_number+" spec verison ) "+specification_version);
  
                  }
                  catch (Exception e)
                  {
                      Console.WriteLine("Exception source: {0}", e.Source);
                  }
              }
          }
  </code></pre>
  
  <p>As you can see I use windows authentication with my database but I can't insert a row in it..</p>