avatar
拷。.net有个重大bug# DotNet - 窗口里的风景
a9
1
这夏令时一结束,我这个小时没法写程序了。
编辑一下就跳出这个错误
Server Error in '/' Application.
Specified argument was out of the range of valid values.
Parameter name: utcDate
Description: An unhandled exception occurred during the execution of the cur
rent web request. Please review the stack trace for more information about t
he error and where it originated in the code.
Exception Details: System.ArgumentOutOfRangeException: Specified argument wa
s out of the range of valid values.
Parameter name: utcDate
Source Error:
An
avatar
l*s
2
Interesting, please keep us posted.

cur
t
wa

【在 a9 的大作中提到】
: 这夏令时一结束,我这个小时没法写程序了。
: 编辑一下就跳出这个错误
: Server Error in '/' Application.
: Specified argument was out of the range of valid values.
: Parameter name: utcDate
: Description: An unhandled exception occurred during the execution of the cur
: rent web request. Please review the stack trace for more information about t
: he error and where it originated in the code.
: Exception Details: System.ArgumentOutOfRangeException: Specified argument wa
: s out of the range of valid values.

avatar
a9
3
vs.net的web调试环境,静态文件也由asp.net来处理。
而asp.net处理静态文件的时候,会缓存,但是反编译它缓存的代码可以发现。如果
文件的最后修改时间是未来的话,会抛出这个异常。
这样。如果我在夏令时1:xx编辑了这个文件,那么到了2点,时间就调回到1点了。
这时候1:xx编辑的文件就成了未来的文件。结果.net就抛出异常了。
我在调试js文件,由于

未名新帖统计// 7月16日

#版面帖数(主题数)
-全站4871 (796)
1Military3777 (569)
2Stock341 (51)
3Joke117 (17)
4History116 (3)
5Automobile100 (9)
6USANews55 (9)
7Midlife45 (1)
8Headline41 (41)
9Dreamer33 (13)
10FleaMarket32 (20)
11Living30 (7)

* 这里只显示发帖超过25的版面,努力灌水吧:-)

历史上的今天

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。