Dynamics CRM Support Blog
Problems configuring the CRM Outlook client? Use the wizard!
CRM Resource Center
FAQ About Technical SupportOnline | On-Premise
FAQ About Billing
Implementation Guide
Microsoft Dynamics CRM Developer Center and SDK
Hello world!
I have a problem with XAP in MS Dynamics CRM. Here are the steps I did.
1. Created a project in Silerlight 4.0. Debug. It worked. Build.
2. In CRM created a web resource and attached from "ProjName\ProjName\ProjName\ProjName.Web\ClientBin" my xap file
3. In form inserted Web Resource
In the bottom of page there is error "Page error".
________________
thanks in advancesincerely: Elya
Hi,
Double click on the error message "Page error" and post the full message please. Is it possible that you reference on some components which are not reachable as web resource? Does also an error occurs if you test your xap-file by clicking on the link in the web resource window (bottom of the form)?
Best regards,
Andreas
<Message>Unhandled Error in Silverlight Application This operation is not supported in the current context. at MS.Internal.Error.MarshalXresultAsException(UInt32 hr, COMExceptionBehavior comExceptionBehavior)
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.ComAutomation.ComAutomationNative.CreateObject(String progID, IntPtr& nativeObject)
at MS.Internal.ComAutomation.ComAutomationServices.CreateObject(String progID, ComAutomationParamWrapService paramWrapService)
at System.Runtime.InteropServices.Automation.AutomationFactory.CreateObject(String progID)
at SLIV4_Reading_Excel_File.MainPage.btnLoadData_Click(Object sender, RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)</Message>
XAP file doesn't work :)
I fear that the business logic that you implemented only works in OOB-mode of silverlight - see here: www.codeproject.com/.../This-operation-is-not-supported-in-the-current-con and here www.universalthread.com/DataEntryThreadView.aspx
br,