Copied to clipboard

Flag this post as spam?

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


  • Hasan Hüseyin Samanci 5 posts 55 karma points
    Dec 28, 2014 @ 19:35
    Hasan Hüseyin Samanci
    0

    Contour broke site all of a sudden - Could not load file or assembly 'Umbraco.Forms.Core

    Hi all,

    I was working on a sites contour-forms with some custom code. Finally when everything was working, the next refresh broke the site. I get the following error:

    ¨

    Could not load types from assembly Umbraco.Forms.Mvc, Version=3.0.23.0, Culture=neutral, PublicKeyToken=null, errors:

    Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Umbraco.Forms.Core, Version=3.0.23.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.


    File name: 'Umbraco.Forms.Core, Version=3.0.23.0, Culture=neutral, PublicKeyToken=null'


    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].

     

    And heres my error-log:

    2014-12-28 18:52:28,867 [143] INFO  Umbraco.Core.UmbracoApplicationBase - [Thread 134] Application shutdown. Reason: BinDirChangeOrDirectoryRename

    2014-12-28 18:53:01,409 [108] INFO  Umbraco.Core.PluginManager - [Thread 12] Determining hash of code files on disk


    2014-12-28 18:53:01,441 [108] INFO  Umbraco.Core.PluginManager - [Thread 12] Hash determined (took 13ms)

    2014-12-28 18:53:01,456 [108] INFO  Umbraco.Core.PluginManager - [Thread 12] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler


    2014-12-28 18:53:01,643 [108] INFO  Umbraco.Core.PluginManager - [Thread 12] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 0 (took 187ms)

    2014-12-28 18:53:01,643 [108] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 12] An unhandled exception occurred


    System.Reflection.ReflectionTypeLoadException: Could not load types from assembly Umbraco.Forms.Core.Providers.V7, Version=3.0.23.0, Culture=neutral, PublicKeyToken=null, errors:

    Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Umbraco.Forms.Core, Version=3.0.23.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.


    File name: 'Umbraco.Forms.Core, Version=3.0.23.0, Culture=neutral, PublicKeyToken=null'


    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].



       at Umbraco.Core.TypeFinder.GetTypesWithFormattedException(Assembly a)

       at Umbraco.Core.TypeFinder.GetClasses(Type assignTypeFrom, IEnumerable`1 assemblies, Boolean onlyConcreteClasses, Func`2 additionalFilter)


       at Umbraco.Core.TypeFinder.GetClasses(Type assignTypeFrom, IEnumerable`1 assemblies, Boolean onlyConcreteClasses, Func`2 additionalFilter)

       at Umbraco.Core.PluginManager.LoadViaScanningAndUpdateCacheFile[T](TypeList typeList, TypeResolutionKind resolutionKind, Func`1 finder)


       at Umbraco.Core.PluginManager.ResolveTypes[T](Func`1 finder, TypeResolutionKind resolutionType, Boolean cacheResult)

       at Umbraco.Core.PluginManager.ResolveTypes[T](Boolean cacheResult, IEnumerable`1 specificAssemblies)


       at Umbraco.Core.CoreBootManager.InitializeApplicationEventsResolver()

       at Umbraco.Core.CoreBootManager.Initialize()


       at Umbraco.Web.WebBootManager.Initialize()

       at Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e)


    2014-12-28 18:53:11,659 [108] INFO  Umbraco.Core.UmbracoApplicationBase - [Thread 140] Application shutdown. Reason: InitializationError

    2014-12-28 18:53:37,071 [128] INFO  Umbraco.Core.PluginManager - [Thread 12] Determining hash of code files on disk


    2014-12-28 18:53:37,102 [128] INFO  Umbraco.Core.PluginManager - [Thread 12] Hash determined (took 13ms)

    2014-12-28 18:53:37,118 [128] INFO  Umbraco.Core.PluginManager - [Thread 12] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler


    2014-12-28 18:53:37,227 [128] INFO  Umbraco.Core.PluginManager - [Thread 12] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 0 (took 120ms)

    2014-12-28 18:53:37,227 [128] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 12] An unhandled exception occurred


    System.Reflection.ReflectionTypeLoadException: Could not load types from assembly Umbraco.Forms.Core.Providers.V7, Version=3.0.23.0, Culture=neutral, PublicKeyToken=null, errors:

    Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Umbraco.Forms.Core, Version=3.0.23.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.


    File name: 'Umbraco.Forms.Core, Version=3.0.23.0, Culture=neutral, PublicKeyToken=null'


    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].



       at Umbraco.Core.TypeFinder.GetTypesWithFormattedException(Assembly a)

       at Umbraco.Core.TypeFinder.GetClasses(Type assignTypeFrom, IEnumerable`1 assemblies, Boolean onlyConcreteClasses, Func`2 additionalFilter)


       at Umbraco.Core.TypeFinder.GetClasses(Type assignTypeFrom, IEnumerable`1 assemblies, Boolean onlyConcreteClasses, Func`2 additionalFilter)

       at Umbraco.Core.PluginManager.LoadViaScanningAndUpdateCacheFile[T](TypeList typeList, TypeResolutionKind resolutionKind, Func`1 finder)


       at Umbraco.Core.PluginManager.ResolveTypes[T](Func`1 finder, TypeResolutionKind resolutionType, Boolean cacheResult)

       at Umbraco.Core.PluginManager.ResolveTypes[T](Boolean cacheResult, IEnumerable`1 specificAssemblies)


       at Umbraco.Core.CoreBootManager.InitializeApplicationEventsResolver()

       at Umbraco.Core.CoreBootManager.Initialize()


       at Umbraco.Web.WebBootManager.Initialize()

       at Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e)


    2014-12-28 18:53:47,243 [128] INFO  Umbraco.Core.UmbracoApplicationBase - [Thread 131] Application shutdown. Reason: InitializationError

    2014-12-28 18:53:48,163 [126] INFO  Umbraco.Core.PluginManager - [Thread 12] Determining hash of code files on disk


    2014-12-28 18:53:48,194 [126] INFO  Umbraco.Core.PluginManager - [Thread 12] Hash determined (took 12ms)

    2014-12-28 18:53:48,210 [126] INFO  Umbraco.Core.PluginManager - [Thread 12] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler


    2014-12-28 18:53:48,257 [126] INFO  Umbraco.Core.PluginManager - [Thread 12] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 0 (took 48ms)

    2014-12-28 18:53:48,257 [126] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 12] An unhandled exception occurred


    System.Reflection.ReflectionTypeLoadException: Could not load types from assembly Umbraco.Forms.Core.Providers, Version=3.0.23.0, Culture=neutral, PublicKeyToken=null, errors:

    Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Umbraco.Forms.Core, Version=3.0.23.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.


    File name: 'Umbraco.Forms.Core, Version=3.0.23.0, Culture=neutral, PublicKeyToken=null'


    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].


    Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Umbraco.Forms.Core, Version=3.0.23.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.


    File name: 'Umbraco.Forms.Core, Version=3.0.23.0, Culture=neutral, PublicKeyToken=null'

     

    Hope anyone can help.

     


     

  • Hasan Hüseyin Samanci 5 posts 55 karma points
    Dec 28, 2014 @ 20:00
    Hasan Hüseyin Samanci
    100

    resolved it by deleting the site and uploading a backup from yesterday, then reinstalled contour and copied the modified views folder back to the project. But would still be nice to know what the underlying error was.

Please Sign in or register to post replies

Write your reply to:

Draft