Microsoft KB Archive/827432

= An Outlook calendar appointment is not visible in the Day, Week, or Month view when you create the appointment by using WebDAV in Exchange 2000 =

Article ID: 827432

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Exchange 2000 Enterprise Server
 * Microsoft Outlook 2002 Standard Edition

-





SYMPTOMS
When you create an appointment by using Web Distributed Authoring and Versioning (WebDAV), in the context of a delegate user, another delegate user may experience all the following symptoms when that delegate user views the mailbox owner's calendar:
 * The appointment does not appear when Microsoft Outlook is in the Day, Week, or Month view.
 * The appointment appears correctly when the appointments are sorted by category.
 * The appointment appears correctly when the delegate user views the appointment by using Microsoft Outlook Web Access (OWA).



CAUSE
This issue occurs if you do not explicitly set the dispidRecurring MAPI property in your program. When a schema name in your program is not specified, Outlook makes assumptions about the schema properties. Therefore, appointments that you create programmatically may not appear consistently when they are viewed in Outlook.



RESOLUTION
To resolve this issue, specify the dispidRecurring property in your program. The following code excerpt illustrates how to set this MAPI property.

Note You must include the data type namespace: &quot;xmlns:dt=&quot;&quot;urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/&quot;&quot;&quot; & _ Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.

Code exerpt
sNS = &quot;xmlns:g=&quot;&quot;DAV:&quot;&quot; &quot; & _ &quot; xmlns:e=&quot;&quot;&quot;&quot;&quot; & _ &quot; xmlns:mapi=&quot;&quot;&quot;&quot;&quot; & _ &quot; xmlns:x=&quot;&quot;xml:&quot;&quot; xmlns:cal=&quot;&quot;urn:schemas:calendar:&quot;&quot;&quot; & _ &quot; xmlns:dt=&quot;&quot;urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/&quot;&quot;&quot; & _ &quot; xmlns:mail=&quot;&quot;urn:schemas:httpmail:&quot;&quot;>&quot; sQuery = &quot;&quot; & _ &quot;&quot; & _ &quot;&quot; & _ &quot;urn:content-classes:appointment&quot; & _ &quot;IPM.Appointment&quot; & _ &quot;Appointment Subject&quot; & _ &quot;Appointment Location</cal:location>&quot; & _ &quot;<cal:dtstart dt:dt=&quot;&quot;dateTime.tz&quot;&quot;>2003-07-07T22:00:00.000Z</cal:dtstart>&quot; & _ &quot;<cal:dtend dt:dt=&quot;&quot;dateTime.tz&quot;&quot;>2003-07-07T22:30:00.000Z</cal:dtend>&quot; & _ &quot;<cal:instancetype dt:dt=&quot;&quot;int&quot;&quot;>0</cal:instancetype>&quot; & _ &quot;<cal:busystatus>BUSY</cal:busystatus>&quot; & _ &quot;<cal:meetingstatus>TENTATIVE</cal:meetingstatus>&quot; & _ &quot;<cal:alldayevent dt:dt=&quot;&quot;boolean&quot;&quot;>0</cal:alldayevent>&quot; & _ &quot;<mapi:0x00008223 dt:dt=&quot;&quot;boolean&quot;&quot;>1</mapi:0x00008223>&quot; & _ &quot;</g:prop>&quot; & _ &quot;</g:set>&quot; & _ &quot;</g:propertyupdate>&quot; In this code excerpt, the following item specifies the dispidRecurring property: &quot;<mapi:0x00008223 dt:dt=&quot;&quot;boolean&quot;&quot;>1</mapi:0x00008223>&quot; & _ This excerpt sets the MAPI property to 1 (TRUE) to create a recurring appointment. To create a non-recurring appointment, set this property to 0 (FALSE).

Keywords: kbenv kbprb KB827432

-

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

© Microsoft Corporation. All rights reserved.