Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FileNotFoundException occurs when creating a Microsoft Dynamics CRM organization


View products that this article applies to.

Symptom

When attempting to create a new organization via the Microsoft Dynamics CRM 2015 Deployment Manager, you may receive the following error message:

Exception occurred during Microsoft.Crm.Tools.Admin.OrganizationCreator: Error.ActionFailed Microsoft.Crm.Tools.Admin.ImportActivityFeedsAction  
InnerException:
System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: System.IO.FileNotFoundException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #F80E2561 (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault).


This causes the creation of the Microsoft Dynamics CRM organization to fail.

↑ Back to the top


Cause

Windows Identity Foundation 3.5 may not be installed on the Windows Server hosting Microsoft Dynamics CRM

↑ Back to the top


Resolution

Go through the following steps to add the Windows Identify Foundation 3.5 feature to the Microsoft Dynamics CRM Server:

Note: These steps will require a reboot of the Windows Server once compelted
  1. Open Windows Server Manager
  2. Cick Manage
  3. Click Add Roles and Features
  4. Click Next on the Before You Begin window
  5. Choose the Role-based or feature-based installation option and click Next
  6. Select the desired CRM server from the Server Pool window and click Next
  7. On the Server Roles window click next
  8. Under Features find and select the Windows Identity Foundation 3.5 feature
  9. Click Next
  10. Proceed with the installation the Windows Identity Foundation 3.5 feature
  11. Restart the Windows Server

↑ Back to the top


More Information

After the installation fails, the following exception may be displayed in the Windows Event Viewer Application log. This exception indicates that a DLL related to the Windows Identify Foundation 3.5 feature cannot be found.

Exception type: ConfigurationErrorsException
Exception message: 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. (<installation drive>:\Program Files\Microsoft Dynamics CRM\CRMWeb\web.config line 29)  
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 3080984
Revision : 1
Created on : 1/7/2017
Published on : 7/17/2015
Exists online : False
Views : 251