日期:2014-05-20  浏览次数:20963 次

wcf程序运行一段时间停止工作
wcf程序停止工作


应用程序错误信息:
应用程序: Deepleo.IDC.Client.exe
Framework 版本: v4.0.30319
说明: 由于未经处理的异常,进程终止。
异常信息: System.ArgumentException
堆栈:
   在 System.IO.BinaryReader..ctor(System.IO.Stream, System.Text.Encoding)
   在 System.Runtime.Serialization.Formatters.Binary.__BinaryParser..ctor(System.IO.Stream, System.Runtime.Serialization.Formatters.Binary.ObjectReader)
   在 System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(System.IO.Stream, System.Runtime.Remoting.Messaging.HeaderHandler, Boolean, Boolean, System.Runtime.Remoting.Messaging.IMethodCallMessage)
   在 System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(System.IO.Stream)
   在 Deepleo.IDC.Client.OfflineAuthorization.Read()
   在 Deepleo.IDC.Client.GlobalSettings.Verify()
   在 System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   在 System.Threading.ThreadHelper.ThreadStart()


日志名称:          Application
来源:            Application Error
日期:            2014/1/2 18:30:21
事件 ID:         1000
任务类别:          (100)
级别:            错误
关键字:           经典
用户:            暂缺
计算机:           webiste-PC
描述:
错误应用程序名称: Deepleo.IDC.Client.exe,版本: 1.0.0.0,时间戳: 0x52c5312a
错误模块名称: KERNELBASE.dll,版本: 6.1.7601.18229,时间戳: 0x51fb1116
异常代码: 0xe0434352
错误偏移量: 0x0000c41f
错误进程 ID: 0x107f4
错误应用程序启动时间: 0x01cf07a494291835
错误应用程序路径: C:\Program Files (x86)\深圳鼎峰科技有限公司\深圳鼎峰Idc信息管理系统\Deepleo.IDC.Client.exe
错误模块路径: C:\Windows\syswow64\KERNELBASE.dll
报告 ID: e15863cc-7398-11e3-94bd-08606e19d1f6
事件 Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-01-02T10:30:21.000000000Z" />
    <EventRecordID>58180</EventRecordID>
    <Channel>Application</Channel>
    <Computer>webiste-PC</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Deepleo.IDC.Client.exe</Data>
    <Data>1.0.0.0</Data>
    <Data>52c5312a</Data>
    <Data>KERNELBASE.dll</Data>
    <Data>6.1.7601.18229</Data>
    <Data>51fb1116</Data>
    <Data>e0434352</Data>
    <Data>0000c41f</Data>
    <Data>107f4</Data>
    <Data>01cf07a494291835</Data>
    <Data>C:\Program Files (x86)\深圳鼎峰科技有限公司\深圳鼎峰Idc信息管理系统\Deepleo.IDC.Client.exe</Data>
    <Data>C:\Windows\syswow64\KERNELBASE.dll</Data>
    <Data>e15863cc-7398-11e3-94bd-08606e19d1f6</Data>
  </EventData>
</Event>

------解决方案--------------------
Deepleo.IDC.Client.OfflineAuthorization.Read()
这里try catch
  
*****************************************************************************
签名档: http://feiyun0112.cnblogs.com/
------解决方案--------------------
同意楼上,初始化BinaryReader时,产生错误了