事件类型: 错误
事件来源: .NET Runtime
事件种类: 无
事件 ID: 1026
日期: 2012-10-20
事件: 4:25:59
用户: N/A
计算机: JBER-SERVER
描述:
Application: yeyuan.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException
Stack:
at System.IO.__Error.WinIOError(Int32, System.String)
at System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean)
at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, Int32, System.IO.FileOptions)
at System.IO.StreamWriter.CreateFile(System.String, Boolean)
at System.IO.StreamWriter..ctor(System.String, Boolean, System.Text.Encoding, Int32)
at System.IO.StreamWriter..ctor(System.String, Boolean, System.Text.Encoding)
at yeyDAL.listener.writestring(System.String)
at yeyDAL.listener.Analysis(Byte[], System.Net.Sockets.Socket)
at yeyDAL.listener.ReceiveDataFromSocket(System.Object)
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart(System.Object)
有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。程序是别人写的,但是现在莫名奇妙的老是出这种错误,我不是.NET程序员,看不懂这个错误提示,请大家帮我指出,谢谢大家了
事件来源: .NET Runtime
事件种类: 无
事件 ID: 1026
日期: 2012-10-20
事件: 4:25:59
用户: N/A
计算机: JBER-SERVER
描述:
Application: yeyuan.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException
Stack:
at System.IO.__Error.WinIOError(Int32, System.String)
at System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean)
at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, Int32, System.IO.FileOptions)
at System.IO.StreamWriter.CreateFile(System.String, Boolean)
at System.IO.StreamWriter..ctor(System.String, Boolean, System.Text.Encoding, Int32)
at System.IO.StreamWriter..ctor(System.String, Boolean, System.Text.Encoding)
at yeyDAL.listener.writestring(System.String)
at yeyDAL.listener.Analysis(Byte[], System.Net.Sockets.Socket)
at yeyDAL.listener.ReceiveDataFromSocket(System.Object)
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart(System.Object)
有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。程序是别人写的,但是现在莫名奇妙的老是出这种错误,我不是.NET程序员,看不懂这个错误提示,请大家帮我指出,谢谢大家了
从这几个地方看是 是 IO错误,
检查访问文件是否存在,或者是否有权限去读写这些文件
在操作过程中,有未捕获的异常,所以才产生这样的情况,同时会异常退出。给你没有反应的。
=======================================================
.NET快速开发整合框架(RDIFramework.NET),基于.NET的快速开发、整合框架,给用户和开发者最佳的.Net框架部署方案。
平台博客:[CNBLOGS]http://www.cnblogs.com/huyong
[CSDN]http://blog.csdn.net/chinahuyong
交流QQ:406590790 (请注明:CSDN)
平台微博:http://t.qq.com/yonghu86
邮件交流:[email protected]
- EventID 1026 [ Qualifiers] 0
Level 2
Task 0
Keywords 0x80000000000000
- TimeCreated [ SystemTime] 2013-02-18T04:37:45.000000000Z
EventRecordID 1049
Channel Application
Computer 2012-20130202NM
Security
- EventData Application: yeyuan.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Net.Sockets.SocketException Stack: at System.Net.Sockets.Socket.Receive(Byte[], Int32, Int32, System.Net.Sockets.SocketFlags) at System.Net.Sockets.Socket.Receive(Byte[]) at yeyDAL.listener.ReceiveDataFromSocket(System.Object) at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart(System.Object) 该问题依然出现,怀疑是系统的问题,已经换成WIN7 系统了,但此问题还是出现
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.Sockets.SocketException
Stack:
at System.Net.Sockets.Socket.Receive(Byte[], Int32, Int32, System.Net.Sockets.SocketFlags)
at System.Net.Sockets.Socket.Receive(Byte[])
at yeyDAL.listener.ReceiveDataFromSocket(System.Object)
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart(System.Object)