Copied to clipboard

Flag this post as spam?

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


  • Donald Kerr 10 posts 84 karma points
    Oct 31, 2016 @ 18:04
    Donald Kerr
    1

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

    enter image description here

    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

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Dec 01, 2016 @ 22:24
    Alex Skrypnyk
    0

    Hi 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

  • Donald Kerr 10 posts 84 karma points
    Dec 01, 2016 @ 22:44
    Donald Kerr
    1

    I gave up and wrote my own implementation. Thanks anyway.

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Dec 01, 2016 @ 22:52
    Alex Skrypnyk
    0

    You are welcome, glad that you found solution.

    Thanks,

    Alex

  • Donald Kerr 10 posts 84 karma points
    Dec 03, 2016 @ 09:23
    Donald Kerr
    0

    Out of interest, I tried again and I am still getting the error. Here are the steps:

    1. Using Visual Studio 2013, create a new empty Web Project.
    2. Using NeGet, install Umbraco CMS 7.5.4. Run the application by pressing Ctrl-F5.
    3. Complete details on the 'Install Umbraco 7' page then click Install.
    4. Application opens up in the Umbraco back office after installing the default Fanoe package.
    5. Install local package reCAPTCHAfieldforUmbracoForms_1.0.3.zip.
    6. Error appears during installation. enter image description here Regards, Donald
  • Bruno Olsen 75 posts 316 karma points
    Dec 14, 2016 @ 08:22
    Bruno Olsen
    0

    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

  • Bruno Olsen 75 posts 316 karma points
    Dec 14, 2016 @ 08:49
    Bruno Olsen
    100

    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

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Dec 14, 2016 @ 10:18
    Alex Skrypnyk
    0

    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

  • Bruno Olsen 75 posts 316 karma points
    Dec 14, 2016 @ 10:50
    Bruno Olsen
    0

    Hi Alex

    You are very welcome :)

    Kind regards, Bruno

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Oct 23, 2018 @ 21:42
    Alex Skrypnyk
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft