Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7065535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:58:05+00:00 2026-05-28T04:58:05+00:00

I have created a silverlight 5 project and added a textbox control to a

  • 0

I have created a silverlight 5 project and added a textbox control to a xaml page, then added a tract action behavior to the textbox control.
Also added the ServiceOrientedAnalytics component on the main.xaml page and configured the endpoint to my wcf service. When I tried to execute the project I am getting the following error message. The same works good in SL4. I am able to track the events in SL4 and its all working fine. Could anyone help me in resolving this issue.

I also downloaded the latest source code of Microsoft Analytics from codeplex site and added to my project, when I tried to debug, the same exception is happening when it is tring to import the Log.

Error Message :

   at System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult)
   at System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result)
Caused by: Add value to collection of type 'System.Windows.Interactivity.TriggerCollection' threw an exception. [Line: 22 Position: 27]

   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at SL5CompatibilityTest.Home.InitializeComponent()
   at SL5CompatibilityTest.Home..ctor()
Caused by: The composition remains unchanged. The changes were rejected because of the following error(s): The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

1) No valid exports were found that match the constraint '((exportDefinition.ContractName == "Log") AndAlso (exportDefinition.Metadata.ContainsKey("ExportTypeIdentity") AndAlso "System.Void(Microsoft.WebAnalytics.AnalyticsEvent)".Equals(exportDefinition.Metadata.get_Item("ExportTypeIdentity"))))', invalid exports may have been rejected.

Resulting in: Cannot set import 'Microsoft.WebAnalytics.Behaviors.TrackAction.Log (ContractName="Log")' on part 'Microsoft.WebAnalytics.Behaviors.TrackAction'.
Element: Microsoft.WebAnalytics.Behaviors.TrackAction.Log (ContractName="Log") -->  Microsoft.WebAnalytics.Behaviors.TrackAction


   at System.ComponentModel.Composition.CompositionResult.ThrowOnErrors(AtomicComposition atomicComposition)
   at System.ComponentModel.Composition.Hosting.ComposablePartExportProvider.Compose(CompositionBatch batch)
   at System.ComponentModel.Composition.Hosting.CompositionContainer.Compose(CompositionBatch batch)
   at System.ComponentModel.Composition.CompositionInitializer.SatisfyImports(ComposablePart part)
   at System.ComponentModel.Composition.CompositionInitializer.SatisfyImports(Object attributedPart)
   at Microsoft.WebAnalytics.Behaviors.TrackAction.OnAttached()
   at System.Windows.Interactivity.TriggerAction.Attach(DependencyObject dependencyObject)
   at System.Windows.Interactivity.TriggerActionCollection.OnAttached()
   at System.Windows.Interactivity.AttachableCollection`1.Attach(DependencyObject dependencyObject)
   at System.Windows.Interactivity.TriggerBase.Attach(DependencyObject dependencyObject)
   at System.Windows.Interactivity.TriggerCollection.ItemAdded(TriggerBase item)
   at System.Windows.Interactivity.AttachableCollection`1.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Windows.DependencyObjectCollection`1.TryCollectionChanged(NotifyCollectionChangedEventArgs e)
   at System.Windows.DependencyObjectCollection`1.System.Collections.IList.Add(Object value)
   at MS.Internal.XamlManagedRuntimeRPInvokes.Add(XamlQualifiedObject& qoCollection, XamlPropertyToken inCollectionProperty, XamlQualifiedObject& inValue)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:58:06+00:00Added an answer on May 28, 2026 at 4:58 am

    I have identified an issue with MEF and Silverlight 5 and I am working to resolve it. The DataCollector.Log method is not found by MEF.

    Michael S. Scherotter (creator of the MSAF).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a Silverlight project which also contains a Web project. I have
I have created a Silverlight Application project using the Bing Maps Silverlight Control and
I have created a web application with a Silverlight project embedded in it, using
I have created a nice silverlight control doing exactly what I want it to
Is it possible to create a .xaml (silverlight) control in a web application project?
I have created a RIA DataDomainService which I exposed to my silverlight project. The
In our Silverlight 2 project we have created an attached property to perform on-the-fly
I'm currently working on a Silverlight project, and I have created a Silverlight Web
I have recently installed Expression Blend 4 and created a test Silverlight 4 project.
I have created a silverlight project with dependencies to other projects within the same

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.