title: My connection string using Windows authentication for SQL Server doesn't work
body: <p>I'm having problems whenever I run my application, it says that the connection is wrong. The error is User '' has failed.</p>
  
  <p>I think I didn't specify the user id and password but I don't know what is the user id and my password.</p>
  
  <p>Here's my connection string</p>
  
  <pre><code>public SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=PayrollDB;Persist Security Info=True;");
  </code></pre>
  
  <p>Thanks in advance!</p>