开发者

Error 500 in a ASP.NET MVC Application running on IIS 5 + Windows Server 2003

My page has an Ajax.BeginForm helper and when I submit this form, in localhost, I hav开发者_JAVA技巧e success but, when I run the same page and try to submit my page on the server (Windows Server 2003 + IIS 5.0) I have a 500 Error. Somebody know why this happens and how can I solve this problem?

Thanks.


HTTP Status 500 means "Internal Server Error" which would happen for a huge number of reasons (any server-side error will generally give this status).

Make sure your browser isn't set to show Friendly Http Messages and set customErrors=false in your web.config (or look in the Event Viewer). You should be able to get a full exception message/stacktrace.

There are too many things that could go wrong and cause this issue depending on what your code does (do you have incorrect connection strings, paths, or other settings in your config?) for us to guess the exact cause, but if you can provide an error message and stack trace, it'll be much easier for us to help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜