开发者

Exchange Web Services from SharePoint 2007.. which DLL?

开发者 https://www.devze.com 2023-04-04 06:26 出处:网络
MOSS 2007 is .net 2.0.. I found this DLL Microsoft.Exchange.WebServices.dll and moved it to my bin and addedthis to web.config

MOSS 2007 is .net 2.0.. I found this DLL Microsoft.Exchange.WebServices.dll and moved it to my bin and added this to web.config

SafeControl Assembly="Microsoft.Exchange.WebServices, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.Exchange.WebServices" TypeName="*" Safe="True"

But can't seem to introduce it into SharePoint 2007 without get this error:

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.开发者_开发知识库InteropServices.COMException: Cannot complete this action.


Instead of that DLL, use the EWS Managed API. It's far simpler to use than native web services.

EWS Managed API - Download: http://www.microsoft.com/download/en/details.aspx?id=13480 EWS Managed API - SDK: http://msdn.microsoft.com/en-us/library/dd633710(v=exchg.80).aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号