跳转到主内容

Microsoft .NET FileSystemWatcher报告了System.IO.InteralBufferOverflowException

适用场景

  • 使用SMB通知跟踪更改的应用程序
  • 使用FileSystemWatcher类 Microsoft .NET Framework FileSystemWatcher类 的应用程序 Win32 ReadDriveChangesW API (例如: Seclore)
  • 集群模式Data ONTAP—在受监控共享上启用的"changenoty"属性

问题描述

  • 使用"更改通知"跟踪CIFS共享中的更改(例如将文件添加/删除/重命名到目录)的应用程序不会收到有关所发生更改的所有通知
  • 使用FileSystemWatcher类的应用程序报告以下错误:
    • System.IO.InternalBufferOverflowException: Too many changes at once in directory <path>
  • 使用win32 ReadingMoreChangesW API的应用程序可能无法按预期工作。

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.