在asp.net 3.5 500内部服务器错误 [英] 500 internal server error in asp.net 3.5

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

问题描述

我已经创建使用ASP.Net 3.5的应用程序。但是,当我上传到我的服务器我得到一个500内部服务器错误的信息。

I have created an application using ASP.Net 3.5. But when I uploaded it to my server I get a "500 internal server error" message.

推荐答案

ASP.Net将显示一个500,如果你不具备自定义错误属性设置为任何东西,或将它设置为上的执行

ASP.Net will display a 500 if you don't have the custom errors property set to anything or it is set to On.

这添加到web.config中看到实际的错误是什么:

Add this to the web.config to see what the actual error is :

<customErrors mode="Off" />

一旦你知道实际的错误是什么,就可以进行修复。

Once you know what the actual error is, you can proceed to fix it.

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

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