Microsoft KB Archive/281938

From BetaArchive Wiki

Article ID: 281938

Article Last Modified on 2/12/2007



APPLIES TO

  • Microsoft Outlook 97 Standard Edition



This article was previously published under Q281938


SYMPTOMS

You use the Outlook protocol to create a link to an item in a public folder. The link uses the EntryID property of the item, but when someone clicks the link, they receive the following error message:

Unable to display the selected folder or item.

CAUSE

For performance reasons, Outlook does not initialize public folders until they are selected in the Outlook user interface. This prevents the link from working, because the Outlook protocol does not force Outlook to initialize the public folders.

WORKAROUND

Use one of the following methods to work around this problem:

Method 1

Create a solution that uses the Outlook object model to reference a public folder when Outlooks starts. The object model forces Outlook to initialize the public folders and subsequently, links based on Entry IDs will work. For example, you can create a COM add-in that references the Public Folders folder every time Outlook starts.

Method 2

If possible, use the Outlook object model to launch the item instead of using the Outlook protocol.

MORE INFORMATION

When a link that is using the Outlook protocol is activated, Outlook searches for the Entry ID in each store that it considers open, not each store that you can see in the list of folders.

REFERENCES

For additional information about creating solutions with Microsoft Outlook, click the article numbers below to view the articles in the Microsoft Knowledge Base:

166368 OL97: Resources for Custom Forms and Programming


170783 OL97: Questions About Customizing or Programming Outlook



Additional query words: OutSol OutSol97 vbscript

Keywords: kberrmsg kbprb KB281938