且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在asp.net 3.5 500内部服务器错误

更新时间:2022-05-23 08:53:09

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.