Quantcast
Channel: Silverlight 5 forum
Viewing full articles (1083 articles)
Browse article index
↧

Sliverlight5 Exception:System.ComponentModel.Composition.CompositionException

$
0
0

I have done the migration from silverlight4 to silverlight5, it was complied, but when i executed the app, there was an exception, as follows,any helps????

0x800a139e - Erreur d’exécution JavaScript: Unhandled Error in Silverlight Application

Code: 4004   

Category: ManagedRuntimeError      

Message: System.ComponentModel.Composition.CompositionException: La composition a produit une seule erreur de composition. La cause initiale est fournie ci-après. Pour plus d'informations, passez en revue la propriété CompositionException.Errors.

1) Aucune exportation valide correspondant à la contrainte '((exportDefinition.ContractName == "IClientModulesConfiguration") AndAlso (exportDefinition.Metadata.ContainsKey("ExportTypeIdentity") AndAlso "Vcf.Common.Core.Interfaces.Configuration.IClientModulesConfiguration".Equals(exportDefinition.Metadata.get_Item("ExportTypeIdentity"))))' n'a été trouvée ; les exportations non valides ont peut-être été supprimées.

Résultat : Une exception a été levée par l'initialiseur de type pour 'Vcf.Common.Core.Configuration.ClientModulesConfigurationFacade'.

Résultat : Une exception s'est produite lors de la tentative de création d'une instance de type Vcf.Client.SL.Shell.ShellViewModel.

Résultat : Impossible d'activer le composant 'Vcf.Client.SL.Shell.ShellViewModel'.

Élément : Vcf.Client.SL.Shell.ShellViewModel -->  Vcf.Client.SL.Shell.ShellViewModel -->  AssemblyCatalog (Assembly="Vcf.Client.SL.Shell, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null")

Résultat : Impossible d'obtenir l'exportation 'Vcf.Client.SL.Shell.ShellViewModel (ContractName="Vcf.Common.Core.IShellViewModel")' du composant 'Vcf.Client.SL.Shell.ShellViewModel'.

Élément : Vcf.Client.SL.Shell.ShellViewModel (ContractName="Vcf.Common.Core.IShellViewModel") -->  Vcf.Client.SL.Shell.ShellViewModel -->  AssemblyCatalog (Assembly="Vcf.Client.SL.Shell, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null")

   à System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)

   à System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(ComposablePart part, ExportDefinition export, Boolean isSharedPart)

   à System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()

   à System.ComponentModel.Composition.Primitives.Export.get_Value()

   à System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)

   à System.ComponentModel.Composition.ExportServices.<>c__DisplayClassa`1.<CreateStronglyTypedLazyOfT>b__7()

   à System.Lazy`1.CreateValue()

   à System.Lazy`1.LazyInitValue()

   à System.Lazy`1.get_Value()

   à Vcf.Common.Core.ExportWrapper`1.get_Value()

   à Vcf.Client.SL.Shell.App.Application_UnhandledException(Object sender, ApplicationUnhandledExceptionEventArgs e)

   à MS.Internal.Error.CallApplicationUEHandler(Exception e)

   à MS.Internal.Error.GetXresultForUserException(Exception ex)    

↧

Viewing full articles (1083 articles)
Browse article index

Latest Images

Trending Articles



Latest Images