We need to process approximately 200,000 dgn files. We would like to process these files on a server for obvious reasons.
We have created a c# script that uses the bentley.interop.microstationdgn library.
The script works for a while for like maybe 500 or so files but, then crashes with the error
"System.Runtime.InteropServices.COMException (0x80040C8F)"
The specific line of code where it crashes seems random. Its not on the same line every time.
Also, I know the code itself works because, on a small set of files, the script runs successfully without crashing.
Thus, leading me to believe that there is some limitations with the library that may result in the crash.
Is this the case? Is there some limitation to the amount of files that can be processed using the bentley.interop.microstationdgn library?
Any help/guidance would be greatly appreciated.
Thanks.