web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM webresource XAP problem

(0) ShareShare
ReportReport
Posted on by 165

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 advance
sincerely: Elya

 

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    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

  • Elya Manoukian Profile Picture
    165 on at

      <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>

  • Elya Manoukian Profile Picture
    165 on at

    XAP file doesn't work :)

  • Community Member Profile Picture
    on at

    Hi,

    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,

    Andreas

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans