Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

W2k8 R2 Files not locking not all the time 1

Status
Not open for further replies.

scon44

Technical User
Jun 15, 2005
65
US
Hi
I have Windows Server 2008 R2 and this is a recent clean install. Recently some Office files like excel are been opened by two people at the same time. They normally get the file is in use and asked if they want a read-only copy or a notify.

I've tried to replicate the issue by having one person leave a file open all day and then I've checked on the server that it is locked under open sessions. When I did that it remained locked.

Not sure what could be going on here.

Any ideas are welcome and thanks for you help in advance.
 
Windows Server isn't what controls if that file locked message is shown. Excel creates a hidden file in the folder which is used to show that the file is in use, and that the second person needs to be in read-only mode. If this hidden file doesn't get created or the hidden file is deleted by someone the second user will be able to open the file in read/write mode.

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / SQL 2005 BI / SQL 2008 DBA / SQL 2008 DBD / SQL 2008 BI / MWSS 3.0: Configuration / MOSS 2007: Configuration)
MCITP (SQL 2005 DBA / SQL 2008 DBA / SQL 2005 DBD / SQL 2008 DBD / SQL 2005 BI / SQL 2008 BI)
MCM (SQL 2008)
MVP

My Blog
 
This folder is on DFS and is replicating also. Would that effect this hidden file?
 
Could the two users be hitting different replicas of the DFS mount so the lock file hasn't been replicated yet?

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / SQL 2005 BI / SQL 2008 DBA / SQL 2008 DBD / SQL 2008 BI / MWSS 3.0: Configuration / MOSS 2007: Configuration)
MCITP (SQL 2005 DBA / SQL 2008 DBA / SQL 2005 DBD / SQL 2008 DBD / SQL 2005 BI / SQL 2008 BI)
MCM (SQL 2008)
MVP

My Blog
 
There are both on the same DFS shared folder on the same server statically mapped. The replication is for replicating onsite to a backup server to have a backup server that is hot. It's just that one has XP and the other has Windows 7 and these are for Excel files.
Thanks
 
I remember some sort of setting (can't remember where) in DFS that will block users from seeing files that they don't have rights to. Could excel be creating the file, but the second user doesn't have rights to view the hidden lock file so their Excel isn't seeing the file and therefor isn't prompting them?

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / SQL 2005 BI / SQL 2008 DBA / SQL 2008 DBD / SQL 2008 BI / MWSS 3.0: Configuration / MOSS 2007: Configuration)
MCITP (SQL 2005 DBA / SQL 2008 DBA / SQL 2005 DBD / SQL 2008 DBD / SQL 2005 BI / SQL 2008 BI)
MCM (SQL 2008)
MVP

My Blog
 
ok I'll look at those rights etc. Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top