Dynamic CRM Plugin Registration Tool returns unsecured or incorrectly secured fault

不羁的心 提交于 2019-12-10 15:53:53

问题


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.

The error message is this:

Unhandled Exception: System.ServiceModel.Security.MessageSecurityException:

An unsecured or incorrectly secured fault was received from the other party.

Inner Exception: System.ServiceModel.FaultException: An error occurred when verifying security for the message.

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

  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.

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?


回答1:


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).

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.

Thanks!



来源:https://stackoverflow.com/questions/17292179/dynamic-crm-plugin-registration-tool-returns-unsecured-or-incorrectly-secured-fa

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