title: asp.net mvc publish with database
body: <p>I want to publish one of my sites to my host.
  the site was published successfully by VS and FTP method.
  but the thing is the database side.
  I have used Entity Framework in this project. I changed the connection string after publishing and i have created the tables  in my online database.</p>
  
  <p>first i want to know how to make my site to show complete error message as it shows when i am debugging in local mode.</p>
  
  <p>and the second is that is there any thing else i should do for my DB?</p>
  
  <p>after i added this line to web.config:</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;system.web&gt;
      &lt;customErrors mode="off"&gt;
      &lt;/customErrors&gt;
      .
      .
      .
    &lt;/system.web&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>now the error is this: </p>
  
  <p><img src="https://i.stack.imgur.com/x76wh.png" alt="Internal Server Error"></p>