3

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 perhaps also depending on the type of user account running the application.

  • What is "the domain"? My AppDomain? What controls its "identity" in a normal windows forms app?

  • How can I avoid this problem (apart from manually creating the zip archive files without OPC)?

Anders Forsgren
  • 10,827
  • 4
  • 40
  • 77
  • +1 how did you link the error message with isolated storage (url or ProcessMonitor or something). When you encounter the problem is it on certain dev PC's? what makes you think its a size issue, do smaller packages work? – Jeremy Thompson Jun 23 '12 at 14:40
  • 1
    http://rekiwi.blogspot.com.au/2008/12/unable-to-determine-identity-of-domain.html – Jeremy Thompson Jun 23 '12 at 14:47
  • The exception is an IsolatedStorageException. The link between OPC and Isolated Storage is explained in various articles/blog posts, for example the one you linked to. – Anders Forsgren Jun 23 '12 at 14:59

0 Answers0