Content Management Returns Permission Denied Error When Attempting to Approve DocumentID: Q232008
|
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.
The 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.
WARNING: 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.
For information about how to edit the registry, view the "Changing Keys and
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If you are running Windows NT, you should also update your Emergency
Repair Disk (ERD).
The workaround is to lower the ObjectCacheTTL registry parameter to 5 seconds. This is done by altering the registry value located at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Inetinfo\Parameters\ObjectCacheTTL (REG_DWORD)Change this value to 5, and then restart your computer.
Additional query words:
Keywords :
Version : winnt:3.0
Platform : winnt
Issue type : kbprb
Last Reviewed: June 17, 1999