简体   繁体   中英

System.IO.IOException: There is not enough space on the disk

I'm getting this exception when running

System.IO.File.WriteAllText(@"\\somenetworklocation\OutputCheck.txt", string.Join(Environment.NewLine, _info.ToArray()));

Yesterday it worked fine. That line is run by custum activity in tfs build and it has only testing purposes, whatsoever I need it to work.

  1. There is space on a drive it saves to.
  2. TFS Server has access to that drive.
  3. Without any modifications to software I started getting this error.
  4. There is available space on the drive it saves to and tfs server.

Update: It started working again after 7 unsuccessful builds. Any idea why this may happen highly appreciated.

清理位于该计算机主驱动器上的系统上的临时文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM