SBS 2011 上的 Exchange 2010 上的 PR_STORE_SUPPORT_MASK 中未设置 STORE_HTML_OK 的原因是什么?
您好,我们最近为我们的一个客户安装了 SBS 2011 服务器,我们在使用在 Exchange 2010 上使用 mapi 创建消息的软件时遇到了一些问题。经过调查,我们发现此问题的根本原因是 PR_STORE_SUPPORT_MASK 中未设置 STORE_HTML_OK 。
奇怪的是,我们(公司,我的一位同事)为未设置 STORE_HTML_OK 的客户端安装了带有 Exchange 2010 的 sbs 2011 服务器,在我调查问题期间,我们安装了另一台 sbs 2011 服务器用于测试目的,并且STORE_HTML_OK 已设置,而在之前的安装中未设置。
我想知道什么可能导致在 Exchange 2010 上的 PR_STORE_SUPPORT_MASK 中未设置 STORE_HTML 标志,我还想知道我们是否仍然可以通过更改 Exchange 管理控制台或 shell 中的设置来以某种方式更改此设置?
我们希望未来的 sbs 2011 服务器始终在 PR_STORE_SUPPORT_MASK 中设置 STORE_HTML,并想知道是什么导致它无法设置。
提前致谢 威廉斯·戴维
编辑: 我们新的 sbs 2011 安装也有同样的问题,我总是从安装了 Outlook 的客户端电脑测试代码,当安装 Outlook 时,使用 Outlook 的 Mapi 版本,因此当从具有 Outlook 2007 甚至 Outlook 的客户端运行代码时2003年安装的问题不存在,在SBS2011上安装mapi运行时(消息传递api和数据协作对象...)时,问题是相同的(我测试了3个sbs) 2011 年安装)。然而奇怪的是,我使用相同的设置在 SBS 2008 服务器上安装 mapi 运行时,但我们没有看到这个问题,这可能是因为 mapi 运行时与 sbs2011 / Exchange 2010 不兼容的问题吗?
编辑2: 我们错误地假设 STORE_HTML_OK 标志是程序失败的原因,经过更多测试后,似乎仅在使用 Outlook 中的 mapi dll 时才设置此标志,在我们的测试中使用 MFC_MAPI 查看 PR_STORE_SUPPORT_MASK 时从未设置它在服务器上使用mapi运行时甚至在SBS 2008上都没有。
但是,该软件的问题与PR_BODY_HTML标志有关,在交换中使用mapi运行时的2007(SBS 2008)服务器我们可以在exchange 2010服务器(SBS 2011)上更改此属性,但我们不能,并且在使用openproperty打开PR_BODY_HTML属性时出现错误,提示“客户端操作失败”,这似乎是我们的主要问题以及我们所拥有的软件的问题。
所以它与 PR_STORE_SUPPORT_MASK 无关,也许我应该问一个新问题,因为问题与我们最初想象的不一样?
Hi we recently installed an SBS 2011 server for one of our clients and we had some problems using software that creates messages using mapi on exchange 2010. After investigation we found out that the root cause of this problem is that STORE_HTML_OK is not set in the PR_STORE_SUPPORT_MASK.
The weird thing is we (the firm, one of my collegues) did the installation of the sbs 2011 server with exchange 2010 for the client where STORE_HTML_OK is not set, during my investigation of the problem we installed another sbs 2011 server for testing purposes and there STORE_HTML_OK is set whereas it wasn't in the previous installation.
I would like to know what could cause the STORE_HTML flag not to be set in PR_STORE_SUPPORT_MASK on exchange 2010, i also would like to know if we can still change this somehow by changing settings in exchange management console or shell ?
We would like our futurue sbs 2011 servers always to have the STORE_HTML to be set in the PR_STORE_SUPPORT_MASK and like to know what could have caused it not to be set.
Thanks in advance
Willems Davy
EDIT:
Our new sbs 2011 installation has the same problem, i was always testing the code from a client pc where outlook was installed and when outlook is install the mapi version of outlook is used so when running the code from a client with outlook 2007 or even outlook 2003 installed the issue is not there, When installing the mapi runtime (messaging api and datacolaboration objects ...) on SBS2011 the problem is the same (i tested 3 sbs 2011 installations now). The weird thing however is i use the same setup for installing the mapi runtime on a SBS 2008 server and there we don't see this problem, could this be a problem with the mapi runtime being somehow incompatible with sbs2011 / exchange 2010 ?
EDIT2:
we were wrong in our assumption that the STORE_HTML_OK flag was the cause of the program failing, after some more testing it seems this flags is only set when using the mapi dll from outlook, it's never set in our test when looking with MFC_MAPI at the PR_STORE_SUPPORT_MASK on the server when using the mapi runtime not even on SBS 2008.
However the problem with the software is related to the PR_BODY_HTML flag, on exchange 2007 (SBS 2008) servers using the mapi runtime we can change this property on exchange 2010 servers (SBS 2011) we can not and get an error when opening the PR_BODY_HTML propert using openproperty that says "the client operation has failed" this seems to be our main problem and the problem of the software we have.
so it's not related to the PR_STORE_SUPPORT_MASK, maybe i should ask a new question about it, since the problem is not the same as we initally thought?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为这是服务器设置。该位由本地运行的商店提供商公开。
您在运行代码的计算机上安装了哪个版本的 MAPI?它是旧版本的 Outlook 吗?
I don't think this is a server setting. That bit is exposed by the store provider, which runs locally.
What version of MAPI did you install on the machine where your code runs? Is it an older version of Outlook?