跳转到主内容

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

Views:
32
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用场景

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

问题描述

  • 如果应用程序使用 Change Notify跟踪CIFS共享中的更改、例如向目录添加/删除文件或将文件重命名、则不会收到有关所发生更改的所有通知
  • 使用FileSystemWatcher类的应用程序报告以下错误:
    • System.IO.InternalBufferOverflowException: Too many changes at once in directory <path>
  • 使用win32 ReadingsiChangesW 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.