Hosting a custom application integrated with MS CRM dynamis online onto Windows Azure using CRM SDKs and web services

StackOverflow https://stackoverflow.com/questions/10190721

문제

I developed a Custom application that is able to consume the CRM Web services and perform Windows Live Id authentication, create, read and update operation in the CRM from the custom .NET page. It runs absolutely fine when I debug the application in Visual Studio 2010 but when I deploy the same application and try to authenticate it shows the following error:

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.

I am unable to understand where the issue has occured.

도움이 되었습니까?

해결책

This is because the Microsoft.IdentityModel isn't installed on your instance. You'll need to install the assembly by using a startup task.

Follow this guide to install the WIF Runtime (contains Microsoft.IdentityModel): http://blogs.msdn.com/b/sriharsha/archive/2012/04/07/windows-azure-unable-to-find-assembly-microsoft-identitymodel.aspx

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top