Article ID: 927018 - Last Review: April 3, 2008 - Revision: 2.1 Sharing violation error message if you use WDS 2.6.5 to index a network share and if you open a file on the network share from a Windows XP-based computer: This file is read-only
SYMPTOMSWhen you open a file that resides on a network share, you
may receive a sharing violation error message that
resembles the following: This file is read-only.
(\\...\filename...)
CAUSEThis issue occurs if the file that you open has been indexed
by WDS and if the WindowsSearchFilter.exe filtering process used "SHARE ACCESS
= READ" permissions to open the file. MORE INFORMATIONThis issue typically occurs in the following scenario:
When many programs and tools open and close a file several times, WDS is notified about the possible changes that have been made to the file. WDS starts to index the file. If you try to open the file, you receive a sharing violation error message because WDS opens files that are stored on the network share by using "SHARE ACCESS = READ" permissions. In this scenario, the network monitor trace may resemble the following: 385 Client A requests an open of file TESTWDS.TXT with Access = Read and Share Access = Read 393 Client B requests an open of file TESTWDS.TXT with Access = Read and Write and Share Access = Read 394 Server allows client A to open the file and grants a Batch Oplock 398 Server sends an Oplock Break request to client A bumping the Oplock down to level 2 399 Client A replies to the Server that the Oplock is now at level 2 400 Server denies client B’s open request with a STATUS_SHARING_VIOLATION With its current architecture, WDS cannot use filter oplocks on remote volumes. WDS does not receive an oplock break because the oplock break is handled at the Redirector (RDR) level and is not propagated to the calling program. Currently, WDS cannot block access to a file that is located in a remote location if the data is sent to the remote server. This is expected behavior. REFERENCESFor more information about WDS, visit the following
Microsoft Web site: http://www.microsoft.com/windows/desktopsearch/default.mspx
(http://www.microsoft.com/windows/desktopsearch/default.mspx)
APPLIES TO
| Other Resources Other Support Sites
CommunityArticle Translations |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top