程序发生错误,错误消息:System.IO.IOException: 文件“D:\Soft\超级镜像站群\config\db\template\50fbe56a-20bf-4e2c-9073-c0a7388627f6”正由另一进程使用,因此该进程无法访问此文件。 在 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, Boolean useLongPath, Boolean checkHost) 在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) 在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) 在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) 在 Ant.Engine.Db.FileDB`1.Update(T data) 在 SuperGroup.Core.Start.FileNotFoundHandle.d__1.＀伀() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Runtime.CompilerServices.TaskAwaiter.GetResult() 在 SuperGroup.Core.Bootstrapper.d__18.＀ꠀ()