reCAPTCHA field for Umbraco Forms - Package will not install
I tried to install this package on a fresh install of Umbraco 7.5.4 on a fresh MVC 5 application (.Net 4.5) but got errors that basically trashed to whole new install (not an issue given that it did not contain anything as yet).
Sample of log:
2016-10-31 17:58:32,099 [P10152/D9/T20] INFO Umbraco.Core.CoreBootManager - Umbraco 7.5.4 application starting on DELLM6800
2016-10-31 17:58:32,110 [P10152/D9/T20] INFO Umbraco.Core.PluginManager - Determining hash of code files on disk
2016-10-31 17:58:32,114 [P10152/D9/T20] INFO Umbraco.Core.PluginManager - Hash determined (took 4ms)
2016-10-31 17:58:32,146 [P10152/D9/T20] INFO Umbraco.Core.PluginManager - Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
2016-10-31 17:58:32,315 [P10152/D9/T20] INFO Umbraco.Core.PluginManager - Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 0 (took 169ms)
2016-10-31 17:58:32,316 [P10152/D9/T20] ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred
System.Reflection.ReflectionTypeLoadException: Could not load all types from "umbracoFormsRecaptcha, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" due to LoaderExceptions, skipping:
. System.IO.FileNotFoundException: Could not load file or assembly 'Umbraco.Forms.Core, Version=4.3.3.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
at Umbraco.Core.TypeFinder.GetTypesWithFormattedException(Assembly a)
at Umbraco.Core.TypeFinder.GetClasses(Type assignTypeFrom, IEnumerable1 assemblies, Boolean onlyConcreteClasses, Func2 additionalFilter)
at Umbraco.Core.TypeFinder.GetClasses(Type assignTypeFrom, IEnumerable1 assemblies, Boolean onlyConcreteClasses, Func2 additionalFilter)
at Umbraco.Core.TypeFinder.FindClassesOfType[T](IEnumerable1 assemblies, Boolean onlyConcreteClasses)
at Umbraco.Core.TypeFinder.FindClassesOfType[T](IEnumerable1 assemblies)
at Umbraco.Core.PluginManager.<>c_DisplayClass3d1.<ResolveTypes>b__3c()
at Umbraco.Core.PluginManager.LoadViaScanningAndUpdateCacheFile[T](TypeList typeList, TypeResolutionKind resolutionKind, Func1 finder)
at Umbraco.Core.PluginManager.ResolveTypes[T](Func1 finder, TypeResolutionKind resolutionType, Boolean cacheResult)
at Umbraco.Core.PluginManager.ResolveTypes[T](Boolean cacheResult, IEnumerable1 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)
at Umbraco.Core.UmbracoApplicationBase.ApplicationStart(Object sender, EventArgs e)
2016-10-31 17:58:42,432 [P10152/D9/T16] INFO Umbraco.Core.DatabaseContext - CanConnect = True
2016-10-31 17:58:58,860 [P10152/D5/T37] INFO Umbraco.Core.UmbracoApplicationBase - Application shutdown. Details: BinDirChangeOrDirectoryRename
I think I know what the issue is now. It's a question of misunderstanding :)
I didn't realize that reCAPTCHA field for Umbraco Forms meant it was for the package Umbraco Forms - so I tried to install this recaptcha package without Umbraco Forms already installed. When trying after Umbraco Forms wa installed there was no error.
reCAPTCHA field for Umbraco Forms - Package will not install
I tried to install this package on a fresh install of Umbraco 7.5.4 on a fresh MVC 5 application (.Net 4.5) but got errors that basically trashed to whole new install (not an issue given that it did not contain anything as yet).
Sample of log:
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, IEnumerable1 assemblies, Boolean onlyConcreteClasses, Func
2 additionalFilter) at Umbraco.Core.TypeFinder.FindClassesOfType[T](IEnumerable1 assemblies, Boolean onlyConcreteClasses) at Umbraco.Core.TypeFinder.FindClassesOfType[T](IEnumerable
1 assemblies) at Umbraco.Core.PluginManager.<>c_DisplayClass3d1.<ResolveTypes>b__3c() at Umbraco.Core.PluginManager.LoadViaScanningAndUpdateCacheFile[T](TypeList typeList, TypeResolutionKind resolutionKind, Func
1 finder) at Umbraco.Core.PluginManager.ResolveTypes[T](Func1 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) at Umbraco.Core.UmbracoApplicationBase.ApplicationStart(Object sender, EventArgs e) 2016-10-31 17:58:42,432 [P10152/D9/T16] INFO Umbraco.Core.DatabaseContext - CanConnect = True 2016-10-31 17:58:58,860 [P10152/D5/T37] INFO Umbraco.Core.UmbracoApplicationBase - Application shutdown. Details: BinDirChangeOrDirectoryRenameHi Donald,
Just tried to install package on fresh Umbraco installation and it works fine.
Do you still have the problem?
Did you try latest reCaptcha version?
Thanks,
Alex
I gave up and wrote my own implementation. Thanks anyway.
You are welcome, glad that you found solution.
Thanks,
Alex
Out of interest, I tried again and I am still getting the error. Here are the steps:
Having the same problem. Tried to install it from repository to a fresh test-install of Umbraco 7.5.4
I had to remove the .dll to get the Umbraco to work again. When I went to uninstall it said it was version 1.0.2
Kind regards, Bruno
I think I know what the issue is now. It's a question of misunderstanding :)
I didn't realize that reCAPTCHA field for Umbraco Forms meant it was for the package Umbraco Forms - so I tried to install this recaptcha package without Umbraco Forms already installed. When trying after Umbraco Forms wa installed there was no error.
It still says version 1.0.2, though ;)
Kind regards, Bruno
Hi,
It looks like we have to add some warning message to package installing process, that you have to install Umbraco Forms.
Thank you very much for a feedback, it really helps.
Alex
Hi Alex
You are very welcome :)
Kind regards, Bruno
Hello
New reCAPTCHA is ready for use - Invisible reCAPTCHA, the package is ready, feedback appreciated - https://our.umbraco.com/packages/collaboration/invisible-recaptcha-field-for-umbraco-forms/
Thanks,
Alex
is working on a reply...