500内部服务器错误 [英] 500 - Internal server error

查看:135
本文介绍了500内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



完成我的网站上传后,在godaddy上我发现这个错误,当我尝试预览我的网站时

我该如何解决这个错误?我尝试添加此代码





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>


web.config中的


获取有关错误的详细信息,但错误消息仍然相同! !!

如何解决?


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

推荐答案

HTTP 500 - 内部服务器错误 [ ^ ]


在web.config文件中尝试此操作。



Try this in web.config file.

<system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
</system.webServer>


如果只是在godaddy服务器上看到500内部服务器错误,请不要尝试修改默认的web.config。在godaddy的共享服务器上大多数情况下,它确实显示500内部服务器错误 - 原因是服务器过载,它面临停机时间。如果这是问题,您可以看到您的网站在几个小时后正常工作。它可以是1小时,2小时-5小时...只需要取决于godaddy服务器。
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.


这篇关于500内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆