System.IO.IOException: 文件“E:\Tejiawang_8081\Search_Log\Search_235.txt”正由另一进程使用,因此该进程无法访问该文件。 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 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) 在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) 在 System.IO.StreamWriter.CreateFile(String path, Boolean append) 在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) 在 System.IO.StreamWriter..ctor(String path, Boolean append) 在 Chocobo3.Chocobo_Dll.Write_Search_Count(String keyword, String sort, String rc) 在 Chocobo3.Chocobo_Dll.re_proid(String keyword, Int32 page, Int64 sort, Int32 sort_type, Int32 SellerID, Int64[] spec) 在 Chocobo3.Chocobo_Dll.re_proid(String keyword, Int32 page, Int64 sort, Int32 sort_type, Int64[] spec) 在 Search.getResult() 位置 e:\Program\Tejiawang\代码\Tejiawang_Dev\Search.aspx.cs:行号 183