在服务器上搭建了一个测试站点,遇到一个奇怪的问题。
正常登录后(输入username ,pwd,提交),首页报错。错误如下。但刷新下,首页又能正常显示出来。,请大家帮忙看看,谢谢。
IOException: 设备未就绪。
]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7714920
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +1162
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) +65
System.IO.StreamWriter.CreateFile(String path, Boolean append) +62
System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) +58
System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) +29
CacheTimer.WriteCacheLog(String logInfor) +98
CacheTimer.RegistCacheTimmer() +416
atnc.com.cn.Global.Application_BeginRequest(Object sender, EventArgs e) +70
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
正常登录后(输入username ,pwd,提交),首页报错。错误如下。但刷新下,首页又能正常显示出来。,请大家帮忙看看,谢谢。
IOException: 设备未就绪。
]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7714920
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +1162
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) +65
System.IO.StreamWriter.CreateFile(String path, Boolean append) +62
System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) +58
System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) +29
CacheTimer.WriteCacheLog(String logInfor) +98
CacheTimer.RegistCacheTimmer() +416
atnc.com.cn.Global.Application_BeginRequest(Object sender, EventArgs e) +70
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
参考来自:http://topic.csdn.net/u/20080613/10/7b16ef50-5ef5-4f56-b4b2-5614f169b684.html