ObjectDisposedExceptions and IsolatedStorageException

Home Forums Open-Xml-Sdk ObjectDisposedExceptions and IsolatedStorageException

This topic contains 2 replies, has 2 voices, and was last updated by  cygnus18 4 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8848

    Eric White
    Keymaster

    I have never heard that this has been fixed in .NET, although my information may be out of date.

    If you have multithreaded access, you have only two options:
    – Use .NET core, which has a new implementation of System.IO.Packaging.
    – Put all Open XML processing out into a separate process (not thread), then use inter process communication.

    This includes if you are running on a web server that essentially uses multithreading.

    Eric

    #8851

    cygnus18
    Participant

    Thanks for the response Eric. I know this isn’t the place for an in depth discussion of ASP.NET multithreading in IIS. However, since we have very few people in our environment and at times I’m the only person testing I have to assume that potentially multiple threads/worker processes are handling a single request to the server. We currently have 3 load balanced servers in our environment and dev and test each have 2 load balanced servers. I’m not seeing this issue in dev or test. Am I just getting lucky here, and this problem could surface at any moment in our dev and test applications?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.