开发者

FileSystemWatcher - Which process caused the update

开发者 https://www.devze.com 2023-01-17 12:15 出处:网络
To investigate a problem that we have with SharePoint 2007, I wrote a small application that monitors a folder for security changes and logs the exact date and time from these changes. I use the FileS

To investigate a problem that we have with SharePoint 2007, I wrote a small application that monitors a folder for security changes and logs the exact date and time from these changes. I use the FileSystemWatcher to do this.

We do this because from time to time, some process alters the security settings from all folders below c:\inetpub\wwwroot\wss\virtualdirectories, causing access denied exceptions on Microsoft.SharePoint.ApplicationPages.dll.

Now I was wondering if there is a way to check which process is responsible for the securi开发者_Go百科ty updates. That would most likely help us a lot in troubleshooting this weird problem.


Don't write it yourself but use a tool like Process Monitor?

0

精彩评论

暂无评论...
验证码 换一张
取 消