Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

C# to CRM: System.IO.FileNotFoundException: 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. File nam

$
0
0

Hi

I have an application which is a C# console app that connects to CRM server and creates records in CRM. It throws the below error

System.IO.FileNotFoundException: 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. File name: 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

I have checked the CRM server and can see the Windows Identity Foundation is installed there. I have installed WIF manually in my dev server and added it to the project as a reference.

However the error still exists.

I cannot find the Windows.Identity.Model dll file in the project-->bin-->debug folder after compiling.

Can anyone suggest me how to fix this issue pls?

Regards

Bab


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>