CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Oct 2005
    Posts
    175

    Question System.Reflection.ReflectionTypeLoadException:

    Hi Experts,

    I am very new to silverlight and prism.
    I just made one small test type application in silverlight in prism pattern. When I build the application it shows succeded but when I run the application it throws an error as below


    {System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
    at System.Reflection.RuntimeModule.GetTypes()
    at System.Reflection.Assembly.GetTypes()
    at System.ComponentModel.Composition.Hosting.AssemblyCatalog.get_InnerCatalog()
    at System.ComponentModel.Composition.Hosting.AssemblyCatalog.get_Parts()
    at Microsoft.Practices.Prism.MefExtensions.DefaultPrismServiceRegistrar.GetRequiredPrismPartsToRegister(AggregateCatalog aggregateCatalog)
    at Microsoft.Practices.Prism.MefExtensions.DefaultPrismServiceRegistrar.RegisterRequiredPrismServicesIfMissing(AggregateCatalog aggregateCatalog)
    at Microsoft.Practices.Prism.MefExtensions.MefBootstrapper.RegisterDefaultTypesIfMissing()
    at Microsoft.Practices.Prism.MefExtensions.MefBootstrapper.Run(Boolean runWithDefaultConfiguration)
    at Microsoft.Practices.Prism.Bootstrapper.Run()
    at PrismModule.App.Application_Startup(Object sender, StartupEventArgs e)
    at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
    at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)}


    I cannot understand wht this error means and how to resolve it.

    I am using Windows 7 and MSVS2010. Same application is working in other PC.
    I feel that either there is some issue with installation or with PC.
    can any one suggest me a solution for this.

    please find the attched here for your ready reference.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured