我希望这里有一位SharePoint专家,可以帮助解决这个问题。正确处理SharePoint对象?
这是问题所在。我的SharePoint日志中包含此行,好几次:
An SPRequest object was not disposed before the end of this thread. To avoid wasting system resources, dispose of this object or its parent (such as an SPSite or SPWeb) as soon as you are done using it. This object will now be disposed. Allocation Id: {8D090AD2-5D55-42C2-9873-2D5486FE257C} To determine where this object was allocated, create a registry key at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\HeapSettings. Then create a new DWORD named SPRequestStackTrace with the value 1 under this key.
我编辑注册表并添加键,但堆栈跟踪是无处可寻。它不在SharePoint日志或事件查看器中。
我真的需要找到这些SPSite/SPWeb泄漏的来源并修复它们,但我不能只是开始编辑可能或不可能成为问题根源的代码。有没有人有什么建议?
正在运行的WSS/MOSS的哪个版本。也许与SP1之前的版本运行是一个潜在的问题。 – 2008-10-20 16:58:37
它是第三版,但我不确定它是否是SP1。 – 2008-10-20 18:51:55