Knowledge Base

PRB: Compound File Sharing Problems on Novell Netware

Article ID: 131050

Article Last Modified on 10/27/1999


APPLIES TO


This article was previously published under Q131050
NOTE: Novell Netware is manufactured by a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.

SYMPTOMS

STGM_SHARE_DENY_WRITE is ineffective when opening compound files on a network drive when the computer is running Novell Netware version 4.1 or earlier.

For example with the following code, the open will succeed the first time as expected, but it will also succeed in subsequent openings, which should not happen because of STGM_SHARE_DENY_WRITE.
   hr = StgOpenStorage(szFileName, NULL, STGM_TRANSACTED | STGM_READWRITE |
                STGM_SHARE_DENY_WRITE, NULL, 0, &lpStg);
				

CAUSE

This problem is caused by incorrect range locking done by Novell Netware.

RESOLUTION

This problem doesn't occur if the computer is running the Microsoft Network.

Keywords: kbapi kbnetwork kbpersistst kbprb kb3rdparty kbosnovell KB131050