System.IO.Packaging: Unable to determine the identity of the domain
问题 I'm using System.IO.Packaging to create files in a completely managed desktop (Windows Forms) application. Under certain conditions, the writing of the OPC package raises the "Unable to determine the identity of the domain" exception. I have learned that it is related to Isolated Storage, as the Packaging API sometimes creates temporary data there. I haven't found a reliable reproduction of this, but I believe it occurs when data is over a certain size (a few megabytes compressed), and