动态CRM插件注册工具返回不安全或安全保护不正确的错误 [英] Dynamic CRM Plugin Registration Tool returns unsecured or incorrectly secured fault

查看:106
本文介绍了动态CRM插件注册工具返回不安全或安全保护不正确的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试使用SDK中的插件注册工具注册插件时出现错误。从今天开始,这个问题就无处不在了,我总是能够轻松地使用该工具进行插件注册。

I got an error while trying to register plugin using the plugin registration tool in the SDK. The problem comes out of nowhere since before today I always able to do plugin registration using the tool with ease.

错误消息是这样的:

未处理的异常:System.ServiceModel.Security.MessageSecurityException:

不安全或错误保护的故障

内部异常:System.ServiceModel.FaultException:验证邮件的安全性时发生错误。 strong>

我已经完成搜索,已经尝试了一些通常建议的步骤:

I've done my searching and already try some steps that commonly suggested which are:


  1. 删除Users {username} \LiveDeviceID下的LiveDevice.xml文件

  2. 删除插件注册文件夹中的Connections.config文件

  3. 重新启动PC

  4. 确保发现URL正确(使用: https://disco.crm5.dynamics.com/XRMServices/2011/Discovery.svc

  5. 下载并使用最新的SDK。

  1. Deleting the LiveDevice.xml file under Users{username}\LiveDeviceID
  2. Deleting the Connections.config file within the Plugin Registration Folder
  3. Reboot the PC
  4. Making sure the discovery url is correct (using: https://disco.crm5.dynamics.com/XRMServices/2011/Discovery.svc)
  5. Download and using the latest SDK.

我的环境是Windows 8 64位。

My environment is Windows 8 64-bit.

但是,它没有解决我的问题问题。
是否有我错过或可能做错的任何步骤或事情?

However, it didn't resolved my issue. Is there any steps or things that I've missed or may done wrongly?

推荐答案

在Guido上发表有关日期的评论& PC的时间,我查看了Dynamic CRM Online 2011时区,结果将其设置为(GMT +8 Krasnoyarsk),因为我住在新加坡,所以将其更改为(GMT +8新加坡,吉隆坡)。

Following Guido comments about date & time of PC, I check the Dynamic CRM Online 2011 timezone, turns out it is set to (GMT +8 Krasnoyarsk), since I live in Singapore I changed it into (GMT +8 Singapore, Kuala Lumpur).

由于格林尼治标准时间是相同的(+8),这是一个很长的路要走,但是我还是尝试了一下,原来它解决了这个问题,我仔细检查并再次将其更改为Krasnoyarsk

It is a long shot since the GMT is the same (+8), but I try it anyway and turns out it fixed the problem, I double check and change it again into Krasnoyarsk and again it's not working.

我不确定为什么会导致这种情况,因为它是相同的格林尼治标准时间,但现在我会解决这个问题,也许我会稍后将为此提出一个新主题。

I'm not sure why this is causing it, since it is the same GMT, but for now I'll settle with this, maybe I'll raise a new topic for this later.

谢谢!

这篇关于动态CRM插件注册工具返回不安全或安全保护不正确的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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