|
|
那天,我注册的时候:写入日志信息发生错误:错误信息为,System。IO。IOException:文件“D:Web_Net91118klxtxmltemp2011-12-24。txt”正由另一进程使用,因此该进程无法访问该文件。
在System。IO。__Error。WinIOError【Int32errorCode,StringmaybeFullPath】
在System。IO。FileStream。Init【Stringpath,FileModemode,FileAccessaccess,Int32rights,BooleanuseRights,FileShareshare,Int32bufferSize,FileOptionsoptions,SECURITY_ATTRIBUTESsecAttrs,StringmsgPath,BooleanbFromProxy】
在System。IO。FileStream。。ctor【Stringpath,FileModemode,FileAccessaccess,FileShareshare,Int32bufferSize,FileOptionsoptions】
在System。IO。StreamWriter。CreateFile【Stringpath,Booleanappend】
在System。IO。StreamWriter。。ctor【Stringpath,Booleanappend,Encodingencoding,Int32bufferSize】
在System。IO。StreamWriter。。ctor【Stringpath,Booleanappend,Encodingencoding】
在TY。Cache。DEnterGameAccess。WriteLog【StringsEvent】
说明:执行当前Web请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息:System。Exception:注册的时候:写入日志信息发生错误:错误信息为,System。IO。IOException:文件“D:Web_Net91118klxtxmltemp2011-12-24。txt”正由另一进程使用,因此该进程无法访问该文件。
在System。IO。__Error。WinIOError【Int32errorCode,StringmaybeFullPath】
在System。IO。FileStream。Init【Stringpath,FileModemode,FileAccessaccess,Int32rights,BooleanuseRights,FileShareshare,Int32bufferSize,FileOptionsoptions,SECURITY_ATTRIBUTESsecAttrs,StringmsgPath,BooleanbFromProxy】
在System。IO。FileStream。。ctor【Stringpath,FileModemode,FileAccessaccess,FileShareshare,Int32bufferSize,FileOptionsoptions】
在System。IO。StreamWriter。CreateFile【Stringpath,Booleanappend】
在System。IO。StreamWriter。。ctor【Stringpath,Booleanappend,Encodingencoding,Int32bufferSize】
在System。IO。StreamWriter。。ctor【Stringpath,Booleanappend,Encodingencoding】
在TY。Cache。DEnterGameAccess。WriteLog【StringsEvent】 |
|