I was trying to run the CRM web service proxy tool, CrmSvcUtil.exe, on a new computer today I was unfamiliar with and I had a couple exceptions I had to work through that I wanted to quickly highlight.
Exception 1.
Exiting program with exception: Could not load file or assembly 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or
one of its dependencies. The system cannot find the file specified.
Enable tracing and view the trace files for more information.
Resolution:
Install Windows Identity Foundation
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=eb9c345f-e830-40b8-a5fe-ae7a864c4d76&displaylang=en
Exception 2.
Exiting program with exception: An error occurred when verifying security for the message.
Enable tracing and view the trace files for more information.
Resolution:
This WCF error was resolved by verifying the clock on the server and dev machine were both properly set. In this case the server was a new Windows Server machine that had just been stood up and the clock had never been set. I changed the time settings and the problem was fixed.
Cheers, and Happy Monday!
No comments:
Post a Comment