Failed to load type for module HistoryModule

4 posts, 0 answers
  1. Keith Hill
    Keith Hill avatar
    2 posts
    Member since:
    Oct 2009

    Posted 06 Jun 2011 Link to this post

    ---------------------------
    Error
    ---------------------------
    An error has occurred. Please, report this exception to the Telerik team (Use CTRL + C to copy the text). Thanks in advance!

     

    Microsoft.Practices.Prism.Modularity.ModuleTypeLoadingException: Failed to load type for module HistoryModule.

     

    If this error occurred when using MEF in a Silverlight application, please ensure that the CopyLocal property of the reference to the MefExtensions assembly is set to true in the main application/shell and false in all other assemblies.

     

    Error was: Could not load file or assembly 'JustDecompile.History.dll' or one of its dependencies. The system cannot find the file specified.. ---> System.IO.FileNotFoundException: Could not load file or assembly 'JustDecompile.History.dll' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

       --- End of inner exception stack trace ---

       at System.Reflection.AssemblyName.nGetFileInformation(String s)

       at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)

       at System.ComponentModel.Composition.Hosting.AssemblyCatalog.LoadAssembly(String codeBase)

       at System.ComponentModel.Composition.Hosting.AssemblyCatalog..ctor(String codeBase, ICompositionElement definitionOrigin)

       at Microsoft.Practices.Prism.MefExtensions.Modularity.MefFileModuleTypeLoader.LoadModuleType(ModuleInfo moduleInfo)

       --- End of inner exception stack trace ---

       at Microsoft.Practices.Prism.Modularity.ModuleManager.HandleModuleTypeLoadingError(ModuleInfo moduleInfo, Exception exception)

       at Microsoft.Practices.Prism.MefExtensions.Modularity.MefFileModuleTypeLoader.LoadModuleType(ModuleInfo moduleInfo)

       at Microsoft.Practices.Prism.Modularity.ModuleManager.LoadModuleTypes(IEnumerable`1 moduleInfos)

       at Microsoft.Practices.Prism.MefExtensions.MefBootstrapper.Run(Boolean runWithDefaultConfiguration)

       at JustDecompile.App.OnStartup(StartupEventArgs e) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile\App.xaml.cs:line 16777215

       at System.Windows.Application.<.ctor>b__1(Object unused)

       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

       at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

       at System.Windows.Threading.DispatcherOperation.InvokeImpl()

       at System.Threading.ExecutionContext.runTryCode(Object userData)

       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)

       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

       at System.Windows.Threading.DispatcherOperation.Invoke()

       at System.Windows.Threading.Dispatcher.ProcessQueue()

       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

       at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

       at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)

       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)

       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

       at System.Windows.Application.RunInternal(Window window)

       at System.Windows.Application.Run()

       at JustDecompile.App.() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile\obj\Release\App.g.cs:line 16777215
    ---------------------------
    OK  
    ---------------------------

  2. Todd Anglin
    Todd Anglin avatar
    2040 posts
    Member since:
    Aug 2005

    Posted 07 Jun 2011 Link to this post

    I get this error, too, when trying to right-click on a DLL in Windows Explorer, and then selecting "Open With..." JustDecompile. Seems there is something with the MEF configuration that doesn't load the modules correctly when JustDecompile is opened in this way.

    -Todd
  3. DevCraft banner
  4. Keith Hill
    Keith Hill avatar
    2 posts
    Member since:
    Oct 2009

    Posted 07 Jun 2011 Link to this post

    Yes, that is just what I was trying to do (Open With... in WIndows Explorer).  In fact, it would be nice to have an option during installation to configure a direct "Open with JustDecompile" for .DLL and .EXE files - assuming you can fix this bug.  :-)
  5. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 09 Jun 2011 Link to this post

    Hello Keith Hill,

    We are currently working on the problem resolving. An updated version will be available shortly. 

    Greetings,
    Kaloyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top