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.
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)
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.
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)
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.
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)
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.
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.
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.
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.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
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,456 [108] INFO Umbraco.Core.PluginManager - [Thread 12] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
2014-12-28 18:53:01,643 [108] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 12] An unhandled exception occurred
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.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
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](Boolean cacheResult, IEnumerable`1 specificAssemblies)
at Umbraco.Core.CoreBootManager.Initialize()
at Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e)
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,118 [128] INFO Umbraco.Core.PluginManager - [Thread 12] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
2014-12-28 18:53:37,227 [128] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 12] An unhandled exception occurred
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.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
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](Boolean cacheResult, IEnumerable`1 specificAssemblies)
at Umbraco.Core.CoreBootManager.Initialize()
at Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e)
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,210 [126] INFO Umbraco.Core.PluginManager - [Thread 12] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
2014-12-28 18:53:48,257 [126] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 12] An unhandled exception occurred
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.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
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.
Hope anyone can help.
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.
is working on a reply...