System.IO.Exception error: “The requested operation cannot be performed on a file with a user-mapped section open.”

后端 未结 5 851
梦如初夏
梦如初夏 2020-12-03 04:42

I received a very weird IOException when writing to an XML file:

System.IO.IOException: The requested operation cannot be performed on a file with a user-map         


        
5条回答
  •  一个人的身影
    2020-12-03 04:54

    Looks like another process had the file open using the file mapping (shared memory) APIs.

    The find function in Process Explorer should be able to tell you.

提交回复
热议问题