Hi
I am trying to use EPPlus in a multi-threaded environment accessing the same file in different threads.
Following is how we use this
1. Open the file in one thread
2. Read data (different rows) in 10 differnet thread
3. We use a write lock when ever a write call is made
4. Close and save file in the only one thread
The problem we have is that in the read, we get an exception
ColumnMax can not span over existing column <number>
The number that we get is different always.
Regards,
Sanket Pattekar
Comments: Hi, is it possible for you to share your code for this? If so, please zip it and attach it to this issue. /Mats
I am trying to use EPPlus in a multi-threaded environment accessing the same file in different threads.
Following is how we use this
1. Open the file in one thread
2. Read data (different rows) in 10 differnet thread
3. We use a write lock when ever a write call is made
4. Close and save file in the only one thread
The problem we have is that in the read, we get an exception
ColumnMax can not span over existing column <number>
The number that we get is different always.
Regards,
Sanket Pattekar
Comments: Hi, is it possible for you to share your code for this? If so, please zip it and attach it to this issue. /Mats