Assume that you are running the Import Organization Wizard in Microsoft Dynamics CRM 4.0. When you use the Manually Map Users option to map a user from an external trusted domain, the Import Organization Wizard crashes.Additionally, if you run the debugger, you receive the following error message:
Exception type: System.InvalidCastExceptionMessage: Unable to cast object of type 'Microsoft.Crm.Tools.Admin.SearchExceptionError' to type 'Microsoft.Crm.Tools.Admin.SearchSuccess'
This problem is fixed in the latest cumulative update rollup for Microsoft Dynamics CRM 4.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
949256 Microsoft Dynamics CRM 4.0 updates and hotfixes
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.