The information in this article applies to:
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe. SYMPTOMS
The CMSample site receives an error 0x46 (Microsoft\VBScript runtime error) when a user attempts to approve a document. This error only occurs if the user views the document, and then immediately tries to approve the it. If the user waits 60 seconds after viewing the document, it will be approved and the error will not occur. CAUSEThe problem is caused by Internet Information Server (IIS) caching the file handle after it is viewed by the user. The file handle remains open and locked until IIS removes the handle from the cache. The default is 30 seconds, which results in handles being cached from 30 to 60 seconds. This 30-to-60 second time period is when the error occurs, if the user tries to approve the document after viewing the it. WORKAROUNDWARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Inetinfo\Parameters\ObjectCacheTTL (REG_DWORD)Change this value to 5, and then restart your computer. Note: 5 seconds is the minimum value. Lower values will be forced to a value of 5 seconds. This reduces the time period where the file is locked. Additional query words:
Keywords : |
Last Reviewed: June 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |