You do not have the permissions required to perform this action. code example Example: windows folder needs permissions treeView.dataSource.read();