Web folder items in the ShBrowseForFolder dialog box may not display external changes (831944)



The information in this article applies to:

  • Microsoft Office SharePoint Portal Server 2003
  • Microsoft Windows SharePoint Services

SYMPTOMS

When you view Web folders on Microsoft Office SharePoint Portal Server 2003 or on a Microsoft Windows SharePoint Services Web site, you may notice that some applications may experience problems with refreshing if that application uses the Shell32 SHBrowseForFolder API with the BIF_BROWSEINCLUDEURLS flag. If a Web folder is changed by an external process, that change to the application may not be reflected in the SHBrowseForFolder dialog box. That change to the application cannot be updated unless the application is closed and then the application is reopened.

CAUSE

By using the BIF_BROWSEINCLUDEURLS flag in the BROWSEINFO structure, the SHBrowseForFolder dialog box can be used to view Web folder locations. The SHBrowseForFolder dialog box does this by using the Microsoft Office Shell Namespace Extension (MSONSEXT) and then enumerates the shell folder items that the SHBrowseForFolder dialog box returns for a particular Web folder. MSONSEXT relies on other components to obtain this information from the server. MSONSEXT relies on Microsoft OLE DB Provider for Internet Publishing (MSDAIPP) and Microsoft FrontPage Web Extender Client (WEC).

By default, SharePoint Portal Server 2003 and Windows SharePoint Services use FrontPage Server Extensions (FPSE) for authoring Web folders. When a client connection is made to an FPSE controlled share, the client typically caches the Web site information for the WEC session. Additionally, the client synchronizes with the server when explicitly told to do so. This behavior is different from SharePoint Portal Server 2001 that is based on Web Distributed Authoring and Versioning (WebDAV). SharePoint Portal Server 2001 does not cache the data on the client. The new behavior increases overall performance, but the new behavior does disconnect the client view from whatever changes are being made on the server. If you change the folder structure by some external means, those changes do not appear in the host application unless the session is restarted or unless WEC is instructed to update the cache.

The MSONSEXT extension can instruct WEC to update the cache if you press F5. However, the SHBrowseForFolder dialog box does not use the IShellView interface that is provided by the MSONSEXT extension. Therefore, you cannot press F5 from the ShBrowseForFolder dialog box to update the cache.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

MORE INFORMATION

For additional information about the WEC cache, click the following article number to view the article in the Microsoft Knowledge Base:

305998 BUG: ADO Record.GetChildren returns cached data for Web site



Modification Type:MajorLast Reviewed:1/5/2004
Keywords:kbnofix kbBug KB831944 kbAudDeveloper