Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Laurence Gillian 600 posts 1219 karma points
    Aug 11, 2010 @ 12:40
    Laurence Gillian
    0

    Install Error loading Assembly

    Could not load file or assembly 'TheOutfield.UmbExt.DesktopMediaUploader' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.BadImageFormatException: Could not load file or assembly 'TheOutfield.UmbExt.DesktopMediaUploader' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'TheOutfield.UmbExt.DesktopMediaUploader' could not be loaded.

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    

    Stack Trace: 

    [BadImageFormatException: Could not load file or assembly 'TheOutfield.UmbExt.DesktopMediaUploader' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
       System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
       System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
       System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
       System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
       System.Reflection.Assembly.Load(String assemblyString) +28
       System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46
    
    [ConfigurationErrorsException: Could not load file or assembly 'TheOutfield.UmbExt.DesktopMediaUploader' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
       System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613
       System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203
       System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105
       System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
       System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +54
       System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +600
       System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
       System.Web.Compilation.BuildManager.CompileCodeDirectories() +265
       System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +320
    
    [HttpException (0x80004005): Could not load file or assembly 'TheOutfield.UmbExt.DesktopMediaUploader' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
       System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +58
       System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +512
       System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +729
    
    [HttpException (0x80004005): Could not load file or assembly 'TheOutfield.UmbExt.DesktopMediaUploader' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8897659
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +259
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
  • Laurence Gillian 600 posts 1219 karma points
    Aug 11, 2010 @ 12:41
    Laurence Gillian
    0

    Oh bugger! The whole website is dead now.

    Whoops! Laux

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Aug 11, 2010 @ 12:50
    Matt Brailsford
    1

    Hi Laurence,

    DMU is built for Umbraco 4.5.1 and currently .NET 4. There is a dll on the project page you can download which is built for .NET 3.5 which you can swap out if you are running the 3.5 build. Check this thread out for instuctions:

    http://our.umbraco.org/projects/website-utilities/desktop-media-uploader/bugs,-feedback-and-suggestions/11236-any-chance-this-could-be-tweaked-to-run-with-net-35-libraries

    An update will be coming in the following week to make this work with 3.5 out of the box, but it will still be Umbraco 4.5.x only.

    Let me know if you have any problems.

    Many thanks

    Matt

  • Laurence Gillian 600 posts 1219 karma points
    Aug 11, 2010 @ 13:02
    Laurence Gillian
    0

    Ah okay! Sorry thats a complete case of me not reading the manual! Thanks for the response. 

    Not a huge problem as we are just about to migrate across to .Net 4.0

    Thanks for the speedy response! Laux

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Aug 14, 2010 @ 16:36
    Matt Brailsford
    0

    Just to let you know, I've released an updated version that now works with .NET 3.5 out of the box.

    http://our.umbraco.org/projects/website-utilities/desktop-media-uploader

    Many thanks

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft