SSIS and Microsoft.Exchange.WebServices

隐身守侯 提交于 2020-01-17 05:02:10

问题


I am writing an SSIS package that has required me to use the Microsoft.Exchange.WebServices DLL. I have imported it into the VB Script Task where it is referenced from the following location:

C:\Program Files\Microsoft\Exchange\Web Services\2.0\Microsoft.Exchange.WebService.dll

The script task seems to 'like' it in so much that I have imported the Namespace and am able to declare the ExchangeService as an object. However, when it comes to running the package (both compiled and in debug) I get the following error:

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Exchange.WebServices, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

I have checked the Regedit and can see that the DLL exists there... I am sure I am missing something silly... Is anyone able to help??

Thanks! Chris

来源:https://stackoverflow.com/questions/32826678/ssis-and-microsoft-exchange-webservices

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!