主题:[原创]创建文件时出现错误,请高手帮诊断一下!
创建文件夹失败原因:System.UnauthorizedAccessException: 对路径“f:\qq.txt”的访问被拒绝。 at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.IO.File.Create(String path) at test19.creatfile.Button1_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\test19\creatfile.aspx.cs:line 59