SYMPTOMS
When you use the Microsoft Visual Basic for Applications method to update a Folder object to set a folder for offline synchronization, the Folder object may return a MAPI_E_NOT_FOUND Error (0x8004010f).
The following Visual Basic for Applications code reproduces this problem:
Set ObjSession = CreateObject("MAPI.Session")
ObjSession.Logon
dim objPrivateStore
Set objPrivateStore = ObjSession.InfoStores("Boite aux lettres - Keith Personett-FRN")
strIDTrash = objPrivateStore.Fields.Item(&H35E30102).Value
Dim objContacts
Set objContacts = ObjSession.GetFolder(strIDTrash, objPrivateStore.ID)
Set objInfostore = ObjSession.InfoStores("Public Folders")
strIDDossierFavoris = objInfostore.Fields.Item(&H66300102).Value
Set objDossierFavoris = ObjSession.GetFolder(strIDDossierFavoris, ObjInfostore.ID)
Set objFolder = objDossierFavoris.Folders("TestOfflineFavorite")
Set objFields = objFolder.Fields
Set MyNewField = objFields.Add(&H663D0003, 1)
objFolder.Update
If (Err.Number) Then
MsgBox (Err.Description)
End If
Set objPrivateStore = nothing
Set objContacts = nothing
With the code changes made in the Emsmdb32.dll file, the developer must make sure that the private information store is open so that this operation functions correctly.
RESOLUTION
IMPORTANT: Installation of the Office 2000 SR-1 Update is required to install this hotfix.
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. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Microsoft Office 2000 service release that contains this hotfix.
To resolve this problem immediately, 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:
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 typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
The English version of this fix should have the following file attributes or later:
Date Time Version Size File name
-------------------------------------------------------------
8/31/2000 1:43PM 5.05.3142.0000 594,192 Emsmdb32.dll