PRB: Compound File Sharing Problems on Novell Netware (131050)



The information in this article applies to:

  • Microsoft OLE Libraries for Windows and Win32s 2.03

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.

Modification Type:MajorLast Reviewed:10/27/1999
Keywords:kb3rdparty kbAPI kbDSupport kbnetwork kbOSNovell kbPersistSt kbprb KB131050