Click here to Skip to main content
15,030,320 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
after finishing my website uploading on godaddy i found this error when i try to preview my website
how can i solve this error? i try to add this code


<configuration>
    <system.web>
        <customErrors mode="Off"/>
        <compilation debug="true"/>
    </system.web> 
</configuration>

in web.config
to get details about the error but the error message still the same!!!
how can i solve it?
Posted

Try this in web.config file.

XML
<system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
</system.webServer>
   
Comments
Dena2013 24-Mar-14 7:49am
   
i try it it didn't work
Do not try to modify your default web.config if you done this just by seeing 500 Internal server error on godaddy server. On most of the times on shared servers in godaddy it does show 500 internal server error - reason being the server gets overloaded, it faces the downtime. If that's the problem you can see your site working fine after some hours. It can be 1 hr,2 hrs- 5hrs... just depends on godaddy server.
   
Comments
Dena2013 24-Mar-14 7:50am
   
it takes more than 3 days!!! without any results until now!!!
KumarSundeep 25-Mar-14 2:33am
   
Then check your connection strings and version compatibility with server. Hope that will resolve the issue!
Hi Dena,

If you receive 500 internal server error, you may check full error message on the server. Please ask godaddy team to copy it for you.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900