Copied to clipboard

Flag this post as spam?

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


  • Anton Oosthuizen 206 posts 486 karma points
    Apr 14, 2016 @ 10:22
    Anton Oosthuizen
    0

    Error after installation Umbraco.Web.Routing.ContentFinderByNiceUrl is not in the collection of types.

    Server Error in '/' Application.

    Type Umbraco.Web.Routing.ContentFinderByNiceUrl is not in the collection of types.

    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.InvalidOperationException: Type Umbraco.Web.Routing.ContentFinderByNiceUrl is not in the collection of types.

    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.

    Stack Trace:

    [InvalidOperationException: Type Umbraco.Web.Routing.ContentFinderByNiceUrl is not in the collection of types.] Umbraco.Core.ObjectResolution.ManyObjectsResolverBase2.InsertTypeBefore(Type existingType, Type value) in c:\projects\umbraco-cms-xtjqd\src\Umbraco.Core\ObjectResolution\ManyObjectsResolverBase.cs:481 Umbraco.Core.ObjectResolution.ManyObjectsResolverBase2.InsertTypeBefore() in c:\projects\umbraco-cms-xtjqd\src\Umbraco.Core\ObjectResolution\ManyObjectsResolverBase.cs:508 CMUmbracoTools.UmbracoExtensions.ApplicationEvents.ApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) +26 Umbraco.Core.ApplicationEventHandler.OnApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) in c:\projects\umbraco-cms-xtjqd\src\Umbraco.Core\ApplicationEventHandler.cs:27 Umbraco.Core.CoreBootManager.

    [HttpException (0x80004005): Type Umbraco.Web.Routing.ContentFinderByNiceUrl is not in the collection of types.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +9952437 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +352 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296

    [HttpException (0x80004005): Type Umbraco.Web.Routing.ContentFinderByNiceUrl is not in the collection of types.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9933804 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +261

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1528.0

  • Aristotelis Pitaridis 84 posts 402 karma points
    Apr 14, 2016 @ 11:57
    Aristotelis Pitaridis
    0

    Can you give me some extra information in order to understand what caused this problem. First of all I would like to know what version of Umbraco you used and I would like also to know if this error appeared when you installed the package or after changing something in your project.

    I also would like to know if you installed the package using NuGet or Umbraco Developer section.

  • Anton Oosthuizen 206 posts 486 karma points
    Apr 14, 2016 @ 12:13
    Anton Oosthuizen
    0

    Hi Sorry

    My bad. Umbraco version 7.4.2 assembly: 1.0.5921.28477

    As soon as I installed the package the error appeared in the right-hand pane and all the other pages.

    Deleting the CMUmbracoTools.DLL fixed the problem

  • Aristotelis Pitaridis 84 posts 402 karma points
    Apr 14, 2016 @ 12:36
    Aristotelis Pitaridis
    0

    Can you please download the a custom dll and replace it in your installation?

    http://www.computermagic.gr/_Temp/CMUmbracoTools.zip

    Inform me if it works now.

    Is this Umbraco installation executed locally or is it on a web server. In case that you have it locally can you create a new project and try to install the package to see if it works. I created a new installation (7.4.2) and I installed the package and it works without any problem.

Please Sign in or register to post replies

Write your reply to:

Draft