title: Getting web.config file error and 500 error in godaddy after uploading my web files to the server
body: <pre><code>&lt;configuration&gt;
  
  &lt;system.net&gt;
  
  &lt;mailsettings&gt;
  
  &lt;smtp deliverymethod="Network" from="gdkpavan@gmail.com"&gt;
  
  &lt;network defaultcredentials="true" host="smtp.gmail.com" password="nprao@1111" port="587" username="pranayn5@gmail.com"&gt;
  
  &lt;/network&gt;&lt;/smtp&gt;
  
  &lt;/mailsettings&gt;
  
  &lt;/system.net&gt;
  
  &lt;appsettings&gt;
  
  &lt;add key="con" value="Data Source=moviemaster.db.10502677.hostedresource.com; Initial Catalog=picketmaster; User ID=picketmaster; Password=Picket@500;"&gt;
  
  &lt;/add&gt;&lt;/appsettings&gt;
  
  &lt;connectionstrings&gt;
  
  &lt;system.webserver&gt;
  
  &lt;httperrors errormode="Detailed"&gt;
  
  &lt;asp scripterrorsenttobrowser="true"&gt;
  
  &lt;/asp&gt;&lt;/httperrors&gt;&lt;/system.webserver&gt;
  
  &lt;system.web&gt;
  
  &lt;compilation debug="true" targetframework="4.0"&gt;
  
  &lt;assemblies&gt;
  
  &lt;add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"&gt;
  
  &lt;add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"&gt;
  
  &lt;add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"&gt;
  
  &lt;/add&gt;&lt;/add&gt;&lt;/add&gt;&lt;/assemblies&gt;
  
  &lt;/compilation&gt;
  
  &lt;authentication mode="Windows"&gt;
  
  &lt;customerrors mode="Off"&gt;
  
  &lt;compilation debug="true"&gt;
  
  &lt;/compilation&gt;&lt;/customerrors&gt;
  
  &lt;pages clientidmode="AutoID" controlrenderingcompatibilityversion="4.0"&gt;
  
  &lt;/pages&gt;&lt;/authentication&gt;&lt;/system.web&gt;
  
  &lt;system.web&gt;
  
  &lt;sessionstate mode="InProc" timeout="15"&gt;
  
  &lt;/sessionstate&gt;&lt;/system.web&gt;
  
  &lt;/connectionstrings&gt;&lt;/configuration&gt;
  </code></pre>
  
  <p>When I tried to connect the database with this string from my local system the error lies in the connection string.</p>
  
  <p>I tried to change the custom errors content off and added detail error still the error persists. And I am a beginner in asp.net I've developed a website and I've uploaded for the testing purpose, I want to see the error detail clearly what changes need to be done that web page.</p>
  
  <p>After publishing the website I can't see the app code in the folder what would be the reason is that the reason for errors</p>
  
  <p>please check this link <a href="http://www.ticket65.com/test" rel="nofollow">http://www.ticket65.com/test</a></p>
  
  <p>Thanks in Advance</p>