title: System.IO.Packaging: Unable to determine the identity of the domain
body: <p>I'm using System.IO.Packaging to create files in a completely managed desktop (Windows Forms) application.</p>
  
  <p>Under certain conditions, the writing of the OPC package raises the <em>"Unable to determine the identity of the domain"</em> exception. I have learned that it is related to Isolated Storage, as the Packaging API sometimes creates temporary data there. </p>
  
  <p>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 perhaps also depending on the type of user account running the application.</p>
  
  <ul>
  <li><p>What is "the domain"? My AppDomain? What controls its "identity" in a normal windows forms app? </p></li>
  <li><p>How can I avoid this problem (apart from manually creating the zip archive files without OPC)?</p></li>
  </ul>