Microsoft KB Archive/273651

= OL98: Unable to Set Offline Synchronization Flag Through CDO/OOM with Outlook 98 =

Article ID: 273651

Article Last Modified on 10/26/2006

-

APPLIES TO


 * Microsoft Outlook 98 Standard Edition

-



This article was previously published under Q273651



SYMPTOMS
When you try to set the PR_OFFLINE_FLAGS property on a particular folder using Collaboration Data Objects (CDO), it does not work, and you receive the following error message:

MAPI_E_NOT_FOUND (8004010f)

When you try to set the PR_OFFLINE_FLAGS (H66300102) property on a particular folder using CDO, you receive the following error message:

MAPI_E_NOT_FOUND (8004010f)



CAUSE
The folder is not synchronized before you try to update the property.



RESOLUTION
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The French version of this fix should have the following file attributes or later:

NOTE: The developer must have the private store open to allow this operation to work, as offline synchronization is handled through the private store. A Microsoft Visual Basic developer can use the following code to ensure that the private store is open.

Set objPrivateStore = ObjSession.InfoStores(&quot;Boite aux lettres - Joseph Sefair-FRN&quot;) strIDTrash = objPrivateStore.Fields.Item(&H35E30102).Value Set objContacts = ObjSession.GetFolder(strIDTrash, objPrivateStore.ID)



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
The problem occurs when you do not first modify the offline public folder properties with Outlook.

Steps to Reproduce the Problem
 Install Outlook, and enable Offline Usage and Synchronization. Create a new public folder called TestOffline. Add the public folder to your Favorites in Outlook (call it TestOfflineFavorite).  Use the following code to put this folder offline: Const PR_OFFLINE_FLAGS = &H663D0003 Set objSession = CreateObject(&quot;MAPI.Session&quot;) objSession.Logon &quot;MS Exchange Settings&quot; Set objInfostore = objSession.InfoStores(&quot;Public Folders&quot;) strIDDossierFavoris = objInfostore.Fields.Item(&H66300102).Value Set objDossierFavoris = objSession.GetFolder(strIDDossierFavoris, objInfostore.ID) Set objFolder = objDossierFavoris.Folders(&quot;TestOfflineFavorite&quot;) Set objFields = objFolder.Fields Set newField = objFields.Add(&H663D0003, 1) objFolder.Update objSession.Logoff  The objFolder.Update procedure does not work and you receive the following error message:

8004010f MAPI_E_NOT_FOUND

</li></ol>

Keywords: kbbug kbfix kbqfe KB273651

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.