500内部服务器错误,同时提供将来的日期? [英] 500 Internal Server Error while Giving Future Date?

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

问题描述

嗨!
我在压延扩展器上有一个文本框.
当我输入一个将来的日期时,它会显示"500 Internal Server Error".我无法解决.

修改:
我的意思是说当我输入今天之前的日期时,会弹出一个错误消息框"500 Internal Server Error".我希望该文本框也接受将来的日期.
最终修改


请帮帮我.

谢谢!

Hi!
I have a textbox along calender extender.
When I enter a date that lies in the future it gives a "500 Internal Server Error". I am unable to resolve it.

Modification:
I mean to say when I enter date that is ahead of today then an error message box pops up "500 Internal Server Error". I want that textbox to accept future date as well.
End Modification


Please help me out.

Thank you!

推荐答案

您是否尝试过调试Web应用程序.您可能会考虑更改web.config,以获取更多详细且有意义的错误消息.

在web.config的<system.web>部分中执行以下操作:
Have you tried debugging your web application. You might consider changing your web.config to allow for more verbose and meaningful error messages.

In the section <system.web> of web.config do this:
<customErrors mode="Off"/>



这将关闭友好的错误消息,它们将被更有意义的内容所代替.当然,您不应该在生产环境中执行此操作,因为您的用户可能不会被逗乐.进行这些更改后,您将需要稍等片刻,直到应用程序重新启动(在web.config中检测到更改之后).
请重试,并添加添加到浏览器屏幕上的完整错误消息来修改您的问题.谢谢!


干杯


曼弗雷德(Manfred)



This will turn off friendly error messages and they''ll be replaced by more meaningfull stuff. Of course you shouldn''t do this in a production environment since your users would probably not be amused. After you made those changes you''ll have to wait a bit until the application restarts itself (after it detected the change in web.config).
Please try again and modify your question by adding the complete error message that gets dumped on the browser screen. Thank you!


Cheers


Manfred


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

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