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>
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>
No comments:
Post a Comment