PRB: Compound File Sharing Problems on Novell Netware

ID: Q131050

The information in this article applies to:

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.

STATUS

We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words:

Keywords          : kb3rdparty kbnetwork kbAPI kbPersistSt kbSDKPlatform kbOLE203 kbGrpNet 
Issue type        : kbprb

Last Reviewed: August 1, 1998