We have a SharePoint 2010 Enterprise site using SSL. I have modified a webpart that uses Silverlight to connect to crm and output data from there.
The project works when I debug the Silverlight project. This was only after I implemented a clientaccesspolicy.xml on the CRM site. The problem I have is that when I try moving it to the SharePoint site or debugging the project that wraps the webpart, I
get the same cross domain error. The error is as follows.
Unhandled Error in Silverlight 2 Application An exception occurred during the operation, making the result invalid. Check InnerException for exception details. at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at CRMSLParts.AccountManager.service_ExecuteCompleted(Object sender, ExecuteCompletedEventArgs e)
at CRMSLParts.CrmSdk.CrmServiceSoapClient.OnExecuteCompleted(Object state)
<my site here>
This error when debugged in Visual Studio 2010 is as follows.
An error occurred while trying to make a request to URI 'http://<myCRMsiteHere>/MSCrmServices/2007/CrmService.asmx'. This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy
View Complete Post