PRB: Multiple Users Can Check Out Same File Concurrently (174203)



The information in this article applies to:

  • Microsoft Visual InterDev 1.0
  • Microsoft Visual SourceSafe for Windows 5.0

This article was previously published under Q174203

SYMPTOMS

In a Visual InterDev Web Project with Source Control enabled, one or more of the following symptoms are present:
  • Visual SourceSafe shows all files checked out by IUSR_<MachineName>.
  • Multiple users are able to check out the same file concurrently.
  • When saving a file, the following message appears:
          A more recent version of the file '<filename>' has been saved to the
          Web by 'IUSR_<MachineName>' on '<date/time>'. Do you want to replace
          this version with your file?
    						

CAUSE

If Windows NT file system (NTFS) permissions on the FrontPage Server Extensions are not properly configured, they may allow anonymous author or administrator access to the files contained in the Web project. When this happens, Visual SourceSafe records the file as being checked out by the Internet Guest Account, IUSR_<MachineName>. This can cause users to get unwanted error messages when trying to save a file.

Visual SourceSafe does not normally allow files to be checked out concurrently when integrated with Visual InterDev. If it does, it is caused by incorrect NTFS file permissions on the FrontPage Server Extensions. This can cause file corruption and data loss.

RESOLUTION

In Visual InterDev, select Web Permissions from the Project menu. In the Users tab, remove the Internet Guest Account if present. In the Groups tab, remove the Everyone group and any other groups that contain the Internet Guest Account, such as the built-in group, Interactive.

STATUS

FrontPage Server Extensions rely on the built-in security model of the Web server they are installed on; in this case, Internet Information Server or Peer Web Services use NTFS permissions. This behavior is by design.

MORE INFORMATION

This problem also applies to Visual InterDev 6.0 accessing a Web using the FrontPage 97 Server Extensions. However, if FrontPage 98 Server Extensions (or newer) have been applied, a new Web created on a server using NTFS will usually not encounter this problem, as the default permissions restrict Everyone for authoring a Web.

REFERENCES

For additional information on how FrontPage Server Extensions interact with NTFS permissions, please see the following articles in the Microsoft Knowledge Base:

162144 FP97: Minimum NTFS File Permission Requirements

For the latest Knowledge Base articles and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site:

Modification Type:MajorLast Reviewed:5/2/2006
Keywords:kberrmsg kbpending kbprb KB174203