none
Recurring meeting times off by several hours RRS feed

  • Question

  • I have a script that runs through a database of ours that pulls meetings and creates a meeting request in code that is sent out through exchange 2007.

    everything seems to be working correctly except recurring meetings. Whenever the script creates a recurring meeting, the times are off by 4 hours for the attendees only. The room resource has the time correct. One time only meetings do not have this issue.

    Recurring meetings do show up on the calendar correctly, meaning the day is correct and recurs correctly but time is current_time_zone + 4 so a 7am meeting shows as 11am for the attendees.

     

    the code it creating an ICS file and is sent in an email to the attendess and what not. 

    All the timezones are the same between the attendess, room resource, and exchange itself. I have no idea what is causing this.

    Exchange 2007 and office 2007/2010. Code is written in ASP.Net 3.5

     

     

    Thursday, March 17, 2011 2:28 PM

Answers

  • Have you tried to compare the ICS files created by Outlok and by your code?

    What are the date/time values in the ICS file? Are they correctly formatted?


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    • Proposed as answer by Bessie Zhao Friday, March 25, 2011 10:12 AM
    • Marked as answer by Bessie Zhao Monday, March 28, 2011 9:49 AM
    Monday, March 21, 2011 5:32 AM

All replies

  • Hello Zenuke,

    Thanks for posting. Actually, it is not recommended/supported to automation Office in any server side. For more information, please see this KB article: http://support.microsoft.com/kb/257757. I quote a statement here.

    Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.

    If you have any concern for this post, just feel free to follow up. Have a nice day.

    For your question, have you tried to reproduce this issue in a non ASP.NET application such as a Windows form application using Outlook automation? Here are two KB articles about time zone in Outlook. Hope they could help you more or less.

    How to address time zone changes by using the Time Zone Data Update Tool for Microsoft Office Outlook:
    http://support.microsoft.com/kb/931667/en-us.

    Recurring appointments may display an incorrect time during daylight saving time:
    http://support.microsoft.com/kb/906141.

    If you have any concern on this post, just feel free to follow up. Have a nice weekend.


    Bessie Zhao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, March 18, 2011 7:31 AM
  • All I am doing is creating an ICS file, attaching it to an email and sending the email through ASP.NET.

     

    I am not using outlook at all to make the meeting request.

    Friday, March 18, 2011 12:36 PM
  • Have you tried to compare the ICS files created by Outlok and by your code?

    What are the date/time values in the ICS file? Are they correctly formatted?


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    • Proposed as answer by Bessie Zhao Friday, March 25, 2011 10:12 AM
    • Marked as answer by Bessie Zhao Monday, March 28, 2011 9:49 AM
    Monday, March 21, 2011 5:32 AM