我们刚刚注意到executionTimeout已停止在我们的网站上工作.去年它肯定在工作......很难说什么时候停止了.
我们目前正在运行:
Web.Config有
<compilation defaultLanguage="vb" debug="false" batch="true">
<httpRuntime executionTimeout="90" />
Run Code Online (Sandbox Code Playgroud)
我们为什么一直看到Timetaken到20分钟的任何暗示.DebugType(完全vs pdbonly)的编译选项会有任何影响吗?
datetime timetaken httpmethod Status Sent Received<BR>
12/19/10 0:10 901338 POST 302 456 24273<BR>
12/19/10 0:18 1817446 POST 302 0 114236<BR>
12/19/10 0:16 246923 POST 400 0 28512<BR>
12/19/10 0:12 220450 POST 302 0 65227<BR>
12/19/10 0:22 400150 GET 200 180835 416<BR>
12/19/10 0:20 335455 POST 400 0 36135<BR>
12/19/10 0:57 213210 POST 302 0 51558<BR>
12/19/10 0:48 352742 POST 302 438 25802<BR> …
Run Code Online (Sandbox Code Playgroud) 我正在寻找有关如何检测运行时平台以揭示Microsoft .Net二进制反序列化失败的源类型的见解.
When using BinaryFormatter.Deserialize(StreamingContextStates.CrossMachine)
and one of the types does not exist in the current binaries; instead of throwing an error, .Net inserts the object [TypeLoadExceptionHolder]
. Particularly for collections, this causes no immediate problem.
Subsequently when the collection is serialized for transmission between application tiers; the platform receives a 'serialization failure' because [TypeLoadExceptionHolder]
cannot be serialized. So the resulting error is useless for actually providing clues as to the source-type that caused the problem. Now the hunt (time …