我希望這裏有一位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