Asp.net blogs

Saturday, 13 July 2013

Godaddy 500 Internal Server Errors


 Godaddy 500 Internal Server Error-: When your Website code working properly in your local system and when i'll upload the same website code over the server hosting then some times it gives 500 Internal Server Error.
So you will do that as paste and replace the following your code in your web.confing that exists on your live server :

<?xml version="1.0" encoding="UTF8"?>
<configuration>
  <system.web>
    <customErrors mode="Off" />
  </system.web>
  <connectionStrings>
    <remove name="LocalSqlServer" />
    <remove name="LocalMySqlServer" />


  </connectionStrings>
</configuration>