some items are missing extended properties. after some investigation it seems the singleton instance of ShellClass is getting out of sync and throwing a The object invoked has disconnected from its clients exception.
the workaround is to create a new Shell instance and retry. this can be dangerous. as if this happens too many times, ShellClass instance limit will be reached causing the application to crash (as was the case during initial development, reason a singleton is being used now).
workaround was tested with 200k files and no issues were found.
some items are missing extended properties. after some investigation it seems the singleton instance of ShellClass is getting out of sync and throwing a The object invoked has disconnected from its clients exception.
the workaround is to create a new Shell instance and retry. this can be dangerous. as if this happens too many times, ShellClass instance limit will be reached causing the application to crash (as was the case during initial development, reason a singleton is being used now).
workaround was tested with 200k files and no issues were found.