分享

写回答

发帖

[提问] Server Error in '/' Application. GODADDY!

GoDaddy GoDaddy 627 人阅读 | 1 人回复

发表于 2009-11-9 22:53:03 | 显示全部楼层 |阅读模式

Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

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


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>

请原谅,我不知道这个该算是GODADDY数据库的问题还是我网站的ASP.NET程序问题,我本身不是学.NET的,所以出现这个问题我贴到这里来,
希望有懂这个的朋友能帮我解决下。我的网站在国内运行的好好的,搬到GODADDY上就出现这个问题。希望有懂这个的朋友能帮我解决下,很着急!谢谢了!
或者给我指出来是什么原因造成的也行。谢谢!

回答|共 1 个

add.c

发表于 2009-11-10 09:49:25 | 显示全部楼层

你先设置下web.config文件看看是什么错误
参考GoDaddy主机空间500错误
您需要登录后才可以回帖 登录 | 注册

本版积分规则