在Outlook 2003中部署AddIn的问题(在客户端系统中) [英] Problem in deploying AddIn in Outlook 2003 (in client`s system)

查看:80
本文介绍了在Outlook 2003中部署AddIn的问题(在客户端系统中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是
在VSTO项目上工作,用于增强Outlook 2003的旧插件。
实际上,该插件是基于VS 2005构建的。现在,我是试图在VS
2008上调试它。

所有
在开发框中都运行正常。它在新系统
(OS)中也能正常工作。但是,当安装在用户系统中时,插件无法正常工作。
插件安装完美,没有任何错误。但是,在Outlook中显示的不是

在某些
系统中,它是安装和运作良好。但是,突然消失了。即使我在那个系统中再次安装它们,它们也不会显示

当安装其他插件时,
也会消失。

我已经完成以下
以确定故障。

  • 完全信任使用CASPOL的
    程序集,setSecurity项目
  • 通过
    命令行给予完全信任(使用caspol.exe)
  • 检查HKCU
    和HKLM的注册管理机构。在此,CLSID,IntProcServer32键
  • 检查注册表$ b中的所有键$ b并且每件事都设置在那里,包括LoadBehaviour = 3
  • 设置环境变量VSTO_SUPPRESSDISPLAYALERTS = 0
    并从命令行运行outlook
  • 在客户端系统中检查PIA,VSTO运行时
    和.NET Framework
  • 检查客户系统中用户
    的权限
  • Given Full Trust to the assemblies using CASPOL, setSecurity project
  • Given full trust to it through command-line also (using caspol.exe)
  • Checked the registries in HKCU and HKLM. In this, CLSID, IntProcServer32 keys
  • checked all keys in registry and every thing is set right there, including LoadBehaviour = 3
  • Set the environment variable VSTO_SUPPRESSDISPLAYALERTS=0 and run the outlook from command-line
  • Checked the PIA, VSTO runtime and .NET Framework in the client system
  • Checked the privileges of user in client’s system

但是,徒劳无功。
我无法找到我的outlook插件异常行为的唯一线索。

我要
尽快解决这个问题。任何建议都表示赞赏。


告诉我发生的事情并建议可行的工作 - 周围。


提前致谢!



问候,

Pranav


推荐答案



看起来你几乎所有人都在调试部署。我没有进一步的评论,但有一些建议。

这可能有两种可能性,一种是你的客户环境有问题,另一种,当然,你的代码有问题。请下载和在您的客户端运行此示例,如果它正常工作,那么您可以专注于您的代码。
http://code.msdn .microsoft.com / VSTO2005SEMSI

确保它不在禁用列表中(Outlook 2003->帮助 - >关于Microsoft Outlook->禁用项目)
请检查是否还有一个未处理的异常。



Plus:你的ComAddIn列表中有加载项吗?

谢谢
Hi ,

It looks like you did almost everything to debug the deployment. I've no further comment but some suggestion to this.

There might two possibilities in this caes, one is something wrong with your client envrionment, the other, of course, something wrong with your code.Please download and run this sample in your client, if it works fine, then you could focus on your code.
http://code.msdn.microsoft.com/VSTO2005SEMSI

Make sure it is not in the disable list(Outlook 2003->Help->About Microsoft Outlook->Disabled Items)
Please check if there's a unhandled exceptions.



Plus: do you have your add-in in your ComAddIn list?

Thanks


这篇关于在Outlook 2003中部署AddIn的问题(在客户端系统中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆