title: Can't connect to database when database has user and password
body: <p>I am developing mvc 4 projects and when I use the following connection string it works:</p>
  
  <pre><code>&lt;add name="name" 
   connectionString="Server=.\sqlexpress;Database=dbname;
   Trusted_Connection=true;" 
   providerName="System.Data.SqlClient"/&gt;
  </code></pre>
  
  <p>But when I add a username and password to this project, I can't connect to my database. I added the user credentials correctly. I have db_owner permission for this database, and in my database everything is correct. The connection string below does not work:</p>
  
  <pre><code>  &lt;add name="DocContext"
     connectionString="Server=.\sqlexpress;Database=DocContext;
     User ID=pooria;Password=19216801;Trusted_Connection=false;"   
     providerName="System.Data.SqlClient"/&gt;
  </code></pre>