ExcelHome技术论坛

 找回密码
 免费注册

QQ登录

只需一步,快速开始

快捷登录

搜索
EH技术汇-专业的职场技能充电站 妙哉!函数段子手趣味讲函数 Excel服务器-会Excel,做管理系统 Excel Home精品图文教程库
HR薪酬管理数字化实战 Excel 2021函数公式学习大典 Excel数据透视表实战秘技 打造核心竞争力的职场宝典
300集Office 2010微视频教程 数据工作者的案头书 免费直播课集锦 ExcelHome出品 - VBA代码宝免费下载
用ChatGPT与VBA一键搞定Excel WPS表格从入门到精通 Excel VBA经典代码实践指南
查看: 19613|回复: 13

[求助] 部署清单签名的证书或其位置不受信任

[复制链接]

TA的精华主题

TA的得分主题

发表于 2015-3-3 09:30 | 显示全部楼层 |阅读模式
自己学着用VSTO做了个插件,但在其他的电脑上安装的时候出现如下提示 QQ截图20150303092635.jpg

求专家给看看是什么问题,附件是我的插件
实时行情.rar (218.2 KB, 下载次数: 33)


该贴已经同步到 战战如疯的微博

TA的精华主题

TA的得分主题

发表于 2015-3-3 11:27 | 显示全部楼层
http://blogs.msdn.com/b/vsod/arc ... -issues-part-2.aspx
Solution:

Ensure that the ClickOnce trust prompt is enabled for the zone from which you are trying to load the customization. Navigate to the below registry key and ensure that the PromptingLevel is set to Enabled for the zone from where you are trying to load the customization.

On 32 bit machines:

HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\.NETFramework\Security\TrustManager\PromptingLevel

On 64 bit machines:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MICROSOFT\.NETFramework\Security\TrustManager\PromptingLevel

For more information, visit How to: Configure Inclusion List Security.

If you are installing the customization from a web site, then make sure that the site is added to the trusted sites.

在注册表里启用信任提示

TA的精华主题

TA的得分主题

发表于 2015-3-3 11:31 | 显示全部楼层
http://blogs.msdn.com/b/vsod/arc ... -issues-part-2.aspx
Solution:

Ensure that the ClickOnce trust prompt is enabled for the zone from which you are trying to load the customization. Navigate to the below registry key and ensure that the PromptingLevel is set to Enabled for the zone from where you are trying to load the customization.

On 32 bit machines:

HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\.NETFramework\Security\TrustManager\PromptingLevel

On 64 bit machines:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MICROSOFT\.NETFramework\Security\TrustManager\PromptingLevel

For more information, visit How to: Configure Inclusion List Security.

If you are installing the customization from a web site, then make sure that the site is added to the trusted sites.

在注册表里启用信任提示

TA的精华主题

TA的得分主题

 楼主| 发表于 2015-3-3 13:50 | 显示全部楼层
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用  · 内置多项VBA编程加强工具       ★ 免费下载 ★      ★使用手册
PLINQ 发表于 2015-3-3 11:31
http://blogs.msdn.com/b/vsod/archive/2012/10/08/troubleshooting-common-vsto-issues-part-2.aspx

在 ...

英文的,阅读起来有些困难,我仔细研究下,谢谢了

TA的精华主题

TA的得分主题

 楼主| 发表于 2015-3-3 15:28 | 显示全部楼层

TA的精华主题

TA的得分主题

 楼主| 发表于 2015-3-3 15:30 | 显示全部楼层
PLINQ 发表于 2015-3-3 11:31
http://blogs.msdn.com/b/vsod/archive/2012/10/08/troubleshooting-common-vsto-issues-part-2.aspx

在 ...

大神,我根据你给的网页通过修改注册表解决了,但如果我是拿给别人用的出这个问题怎么办?有什么更好的解决办法吗?

TA的精华主题

TA的得分主题

发表于 2015-3-4 14:49 | 显示全部楼层
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件       ★免费下载 ★       ★ 使用帮助
通过注册表脚本(.reg文件),批处理,或者程序代码自动配置注册表
或者弄一个数字证书,添加到你的程序中.让用户先导入你的证书,这样就可以直接安装你的程序了

TA的精华主题

TA的得分主题

 楼主| 发表于 2015-3-4 15:35 | 显示全部楼层
PLINQ 发表于 2015-3-4 14:49
通过注册表脚本(.reg文件),批处理,或者程序代码自动配置注册表
或者弄一个数字证书,添加到你的程序中.让用 ...

用vsto弄了个exe文件直接改的注册表,可以实现这个要求,谢谢大神指点

TA的精华主题

TA的得分主题

发表于 2015-7-22 15:12 | 显示全部楼层
战战如疯 发表于 2015-3-4 15:35
用vsto弄了个exe文件直接改的注册表,可以实现这个要求,谢谢大神指点

您好 我想问下您如何实现的“用vsto弄了个exe文件直接改注册表”

TA的精华主题

TA的得分主题

发表于 2016-7-6 17:41 | 显示全部楼层
PLINQ 发表于 2015-3-4 14:49
通过注册表脚本(.reg文件),批处理,或者程序代码自动配置注册表
或者弄一个数字证书,添加到你的程序中.让用 ...

这个怎么弄个证书,我老是提示证书或网络位置不受信任,不知道怎么解决,主要想我的程序可以根据我发布的新版本,用户端自动读取我的新版本程序集,不用一个个地通知他们去升级,看微软文档看了好几遍还是不行,求大神指点下
您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

手机版|关于我们|联系我们|ExcelHome

GMT+8, 2024-5-10 22:09 , Processed in 0.047325 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 1999-2023 Wooffice Inc.

沪公网安备 31011702000001号 沪ICP备11019229号-2

本论坛言论纯属发表者个人意见,任何违反国家相关法律的言论,本站将协助国家相关部门追究发言者责任!     本站特聘法律顾问:李志群律师

快速回复 返回顶部 返回列表