<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Exchange Server</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Exchange Server]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 23:24:42 +0000</pubDate>
  <lastBuildDate>Fri, 19 Oct 2007 18:55:57 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=6737</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Exchange Server : Hah! you put it in. I feel all...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6737&amp;PID=27480&amp;title=exchange-server#27480</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2321">JohnCrenshaw</a><br /><strong>Subject:</strong> 6737<br /><strong>Posted:</strong> 19 October 2007 at 6:55pm<br /><br />Hah! you put it in. I feel all warm and fuzzy now. Thanks.]]>
   </description>
   <pubDate>Fri, 19 Oct 2007 18:55:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6737&amp;PID=27480&amp;title=exchange-server#27480</guid>
  </item> 
  <item>
   <title><![CDATA[Exchange Server : Not to be a pest or anything,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6737&amp;PID=25373&amp;title=exchange-server#25373</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2321">JohnCrenshaw</a><br /><strong>Subject:</strong> 6737<br /><strong>Posted:</strong> 24 August 2007 at 4:29pm<br /><br />Not to be a pest or anything, but this didn't make it into 11.1.3 either. Could we make sure this gets in before 11.2.0? It's kind of rough when you install a new version of the toolkit and find that an old nemesis has returned. I avoided 11.1.3 until now for that reason (silly huh?) This should really only take 1 minute to fix, just paste my code in. The change has had plenty of testing in our software so you shouldn't really even need to test it.<br><br>John<br>]]>
   </description>
   <pubDate>Fri, 24 Aug 2007 16:29:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6737&amp;PID=25373&amp;title=exchange-server#25373</guid>
  </item> 
  <item>
   <title><![CDATA[Exchange Server : John,Thanks a lot for your solution....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6737&amp;PID=22807&amp;title=exchange-server#22807</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6737<br /><strong>Posted:</strong> 12 May 2007 at 9:13am<br /><br />John,<br><br>Thanks a lot for your solution. We'll include it into the next update.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Sat, 12 May 2007 09:13:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6737&amp;PID=22807&amp;title=exchange-server#22807</guid>
  </item> 
  <item>
   <title><![CDATA[Exchange Server : Just downloaded and installed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6737&amp;PID=22268&amp;title=exchange-server#22268</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2321">JohnCrenshaw</a><br /><strong>Subject:</strong> 6737<br /><strong>Posted:</strong> 24 April 2007 at 6:42pm<br /><br />Just downloaded and installed 11.1.0 and this fix still isn't in. I guess I posted this bug a bit too late to get it in. Just wanted to be sure this didn't get forgotten forever.]]>
   </description>
   <pubDate>Tue, 24 Apr 2007 18:42:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6737&amp;PID=22268&amp;title=exchange-server#22268</guid>
  </item> 
  <item>
   <title><![CDATA[Exchange Server : Found the bug. To fix it I had...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6737&amp;PID=21858&amp;title=exchange-server#21858</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2321">JohnCrenshaw</a><br /><strong>Subject:</strong> 6737<br /><strong>Posted:</strong> 11 April 2007 at 8:36pm<br /><br />Found the bug. To fix it I had to modify Codejock code in&nbsp;1 place, I need to make sure this change gets migrated into the toolkit for the next release. <DIV>&nbsp;</DIV><DIV>The problem was apparently limited ONLY to recurring appointments with no end date. We finally discovered that Exchange Server was spitting back some cryptic, undocumented, error code that suggested it didn't like something about the data in the local record. Further examination revealed that when the toolkit writes this out, the "no end date" status causes an end date of 1 Jan 9999 for both the appointment, and the pattern end dates. When Outlook writes out these same dates in this situation, the appointment end date is set to the end date/time for the first instance of the appointment, and the pattern end date/time is set to 31 Aug 4500, 11:59:00 PM. Further testing shows that exchange server just doesn't like the insane appointment end date, and doesn't care about the recurrence end date</DIV><DIV>&nbsp;</DIV><DIV>Since this is only an issue when the code writes the data to outlook, the solution is to check for this condition when we write and nowhere else.</DIV><DIV><FONT color=#010001 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#010001 size=2>Inside CXTPCalendarMAPIDataProvider</FONT><FONT size=2>::</FONT><FONT color=#010001 size=2>UpdateMAPIEvent we find the following code:</FONT></DIV><DIV><FONT color=#010001 size=2><table width="99%"><tr><td><pre class="BBcode">&nbsp;&nbsp;//- recurrence Start/end ----------------------------------------------<BR>&nbsp;&nbsp;nPropTag = m_MapiHelper.GetPropTagByID(pMessage, xtpMAPIpropEvent_RecurrenceStart);<BR>&nbsp;&nbsp;VERIFY(_setPropTagVal_UtcTime(pMessage, nPropTag, stUTCstart));</FONT></DIV><DIV><FONT color=#010001 size=2>&nbsp;&nbsp;nPropTag = m_MapiHelper.GetPropTagByID(pMessage, xtpMAPIpropEvent_RecurrenceEnd);<BR>&nbsp;&nbsp;VERIFY(_setPropTagVal_UtcTime(pMessage, nPropTag, stUTCend));<BR></pre></td></tr></table></FONT></DIV><DIV><FONT color=#010001 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#010001 size=2>Just after it, insert the following:</FONT></DIV><DIV><FONT color=#010001 size=2>&nbsp;</DIV></FONT><DIV align=left><table width="99%"><tr><td><pre class="BBcode">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (((CXTPCalendarRecurrencePattern*)ptrPattern)-&gt;GetUseEndMethod() == xtpCalendarPatternEndNoDate)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // the end date set above was for 1 Jan 9999, which is fine for Outlook<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // but at least some versions of exchange server don't like it. Outlook<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // sets the end date to the end date/time of the first instance of the<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // pattern in this case, so that should work fine for us.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // ------- Fixed EndTime --------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int nDuration = RCData.dwOccEndTime - RCData.dwOccStartTime;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dtTmp = pEvent-&gt;GetStartTime() + COleDateTimeSpan(0, 0, nDuration, 0);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stUTCend = xtp_TimeToUtc(dtTmp);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ASSERT(stUTCend.wYear);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nPropTag = m_MapiHelper.GetPropTagByID(pMessage, xtpMAPIpropEvent_EndTime);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VERIFY(_setPropTagVal_UtcTime(pMessage, nPropTag, stUTCend));<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR></pre></td></tr></table></DIV>]]>
   </description>
   <pubDate>Wed, 11 Apr 2007 20:36:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6737&amp;PID=21858&amp;title=exchange-server#21858</guid>
  </item> 
  <item>
   <title><![CDATA[Exchange Server : We are experiencing a bizzare...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6737&amp;PID=21471&amp;title=exchange-server#21471</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2321">JohnCrenshaw</a><br /><strong>Subject:</strong> 6737<br /><strong>Posted:</strong> 26 March 2007 at 5:13pm<br /><br />We are experiencing a bizzare bug with the MAPI data provider that we can isolate to computers using exchange server with Outlook.<DIV>&nbsp;</DIV><DIV>After making a change (like renaming or moving) to <U>an instance of a RECURRING&nbsp;appointment</U> using the calendar the change shows in both the calendar and Outlook properly. Less than a minute later, the folders will sync with exchange server and the change is lost. This is ONLY an issue for instances of recurring appointments, but the instance does NOT have to be an exception already.</DIV><DIV>&nbsp;</DIV><DIV>This bug may be related to the recent daylight savings changes and if so, will disappear in a couple of weeks and not be reproducable until next fall. I have verified that our exchange server and all computers affected by this bug are running the latest daylight savings patches for Windows AND Outlook.</DIV>]]>
   </description>
   <pubDate>Mon, 26 Mar 2007 17:13:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6737&amp;PID=21471&amp;title=exchange-server#21471</guid>
  </item> 
 </channel>
</rss>