交换和CDO时区问题 [英] Exchange and CDO time zone issue
问题描述
你好,请考虑以下环境:
- 交换服务器2003;
- 使用cdo连接到交换机的应用服务器(1.21 - 6.5.7638.2);
-Client使用Outlook 2003的机器;
所有安装在GMT时区的机器。
场景:
应用程序服务器在Exchange服务器上创建日历项目,然后在Outlook中查看。在我们更改时区之前一切正常:我们将所有时区设置为"东部时间(美国和加拿大)"。然后预约在前景中移动了5个小时。
我开始检查使用cdo创建约会项目的脚本,一切似乎都正常:
配置CDO使用:
http ://schemas.microsoft.com/cdo/configuration/languagecode=en-ie
http://schemas.microsoft.com/cdo/configuration/nntpserverpickupdirectory=c:\inetpub\\\
ntpfile\pickup
http://schemas.microsoft.com/cdo/configuration/postusing=1
http://schemas.microsoft.com/cdo/configuration/sendusing=1
http:// schemas .microsoft.com / CDO /配置/ smtpserverpickupdirectory = C:\Inetpub\mailroot\Pickup
http://schemas.microsoft.com/cdo/configuration/usemessageresponsetext=true
的 urn:schemas:calendar:timezoneid = 10
时区是正确的 - 10表示东部时间。我调查了cdo是否从我们的服务器获得适当的时间,它得到:
StartTime:Wed Sep 2 11:35:00 EDT 2009,EndTime = Wed Sep 2 12:05:00 EDT 2009 - 那些时间是那些我在服务器中设置了。
然后我使用Outlook Spy检查预约,我发现以下内容:
属性0x8201001E(TimeZone):格林威治标准时间
所以我认为由于某种原因,CDO(或Exchange)认为我在GMT中设置的时间不是在东部时间,即使CDO配置对象似乎没问题。
是否有人遇到过这样的问题?有什么线索吗?
谢谢你马林钦格郎
Hello,
please consider the following environment:
-Exchange server 2003;
-Application server connecting to exchange using cdo (1.21 - 6.5.7638.2);
-Client machine using Outlook 2003;
All that was installed in GMT time zone.
The scenario:
Application server creates calendar item on exchange server, which is then viewed in Outlook.
Everything works fine until we change time zones: we set all timezones to 'Eastern Time (US & Canada)'. Then the appointment is shifted by 5 hours in outlook.
I started checking the script that uses cdo to create appointment item, and everything seems ok:
Configuration CDO uses:
http://schemas.microsoft.com/cdo/configuration/languagecode=en-ie
http://schemas.microsoft.com/cdo/configuration/nntpserverpickupdirectory=c:\inetpub\nntpfile\pickup
http://schemas.microsoft.com/cdo/configuration/postusing=1
http://schemas.microsoft.com/cdo/configuration/sendusing=1
http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory=C:\Inetpub\mailroot\Pickup
http://schemas.microsoft.com/cdo/configuration/usemessageresponsetext=true
urn:schemas:calendar:timezoneid=10
Time zone is correct - 10 means Eastern Time. I investigated if cdo gets proper times from our server, and it gets:
StartTime:Wed Sep 2 11:35:00 EDT 2009, EndTime = Wed Sep 2 12:05:00 EDT 2009 - those time are the ones I set in our server.
Then I used Outlook Spy to check the appointment and I found the following:
Property 0x8201001E (TimeZone): Greenwich Mean Time
So I think that for some reason CDO (or Exchange) thinks I set the time in GMT not in eastern time, even though the CDO configuration object seems to be ok.
Did anyone come through such problem? Any clues?
Thanks
Marcin Junger
推荐答案
不确定, DST更新?
请参阅Matt stehle的文章 http://blogs.msdn.com/mstehle/archive/2007/03/12/fyi-dst-2007-exposes-those-who-misuse-cdo-1-21 .aspx 和stephen griffin对此的评论。
Not sure, what DST update you have in Exchange box?
Please refer Matt stehle's article http://blogs.msdn.com/mstehle/archive/2007/03/12/fyi-dst-2007-exposes-those-who-misuse-cdo-1-21.aspx and stephen griffin's comment on that.
这篇关于交换和CDO时区问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!