Copied to clipboard

Flag this post as spam?

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


  • Biagio Arobba 16 posts 36 karma points
    Apr 24, 2014 @ 21:00
    Biagio Arobba
    0

    Error creating type Auros.Categorisation.Umbraco.Initialisation

    When I go to install this package I get the following error:

    Error creating type Auros.Categorisation.Umbraco.Initialisation
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: ASP.NET routing integration feature requires ASP.NET compatibility. Please see 'http://msdn.microsoft.com/en-us/library/ms731336.aspx' on how to do this.
       at System.ServiceModel.Activation.ServiceRoute.CheckAndCreateRouteString(String routePrefix)
       at System.ServiceModel.Activation.ServiceRoute..ctor(String routePrefix, ServiceHostFactoryBase serviceHostFactory, Type serviceType)
       at Auros.Categorisation.DynamicServiceRoute..ctor(String pathPrefix, Object defaults, ServiceHostFactoryBase serviceHostFactory, Type serviceType)
       at Auros.Categorisation.Umbraco.Initialisation..ctor()
    ...I checked the web.config, and as far as I can tell there is nothing wrong with my configuration.
  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 24, 2014 @ 21:01
    Jan Skovgaard
    0

    Hi Biagio

    What version of Umbraco are you using?

    /Jan

  • Biagio Arobba 16 posts 36 karma points
    Apr 24, 2014 @ 21:02
    Biagio Arobba
    0

    6.1.6

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 24, 2014 @ 21:04
    Jan Skovgaard
    0

    Have you tried having a look at the url suggested in the error message? http://msdn.microsoft.com/en-us/library/ms731336.aspx

    /Jan

  • James Patterson 53 posts 192 karma points
    Apr 24, 2014 @ 21:32
    James Patterson
    0

    Hi Biagio,

    I just installed the package myself but couldn't replicate the issue. Do you get this problem immediately after installing the package?

    It's possible that the installation just didn't complete properly for some reason. Does the following exist within the web.config? The installer should add it just before the configuration closing tag.

    <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
    </system.serviceModel>

    If this isn't the problem, what other packages do you have installed?

    James 

  • Biagio Arobba 16 posts 36 karma points
    Apr 24, 2014 @ 21:50
    Biagio Arobba
    0

    That does exist, possibly after the installation... What got me looking around in the first place is the Category folder was missing fom the Settings section. Further down the log, I saw this error:

    ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 3] An unhandled exception occurred
    System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NotImplementedException: The method or operation is not implemented.
       at Auros.Categorisation.Umbraco.CategoryPickerPreValueEditor.Save()
       at umbraco.cms.presentation.developer.editDatatype.saveclick(Object sender, ImageClickEventArgs e)
       at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e)
       at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at ASP.umbracodeveloperdatatypeseditdatatypeaspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\f8f4d8fe\12486eee\AppWeb_editdatatype.aspx.96cc0da0.y8uwcihx.0.cs:line 0
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
     

     

     

    My guess is the errors are unrelated... and... I don't have a "Category" folder in Settings.

  • James Patterson 53 posts 192 karma points
    Apr 24, 2014 @ 22:04
    James Patterson
    0

    You won't have a Category folder in Settings, not if you installed the latest version (2.5.1) of the Categorisation package anyway. The categories are now managed in a Categories section.

    I would try starting again. I'd be interested to know if you have any other packages installed, it would be good to try and replicate your instance on my machine.

  • Biagio Arobba 16 posts 36 karma points
    Apr 24, 2014 @ 22:22
    Biagio Arobba
    0

    Ok, it's working. Yay!

    I uninstalled, and then recycled the app pool, and reinstalled. It's working now, and I have "Categories" showing up in the tray.

    Thank you James.

    ... I wonder what would happen if I reverted the web.config to a clean Umbraco 6.1.6 installation, would the same issue occur then?

  • James Patterson 53 posts 192 karma points
    Apr 24, 2014 @ 22:34
    James Patterson
    0

    Excellent!

    Well when I installed it to test it after seeing your initial post I did it on a brand new 6.1.6 installation and it installed without an issue, that's why I was wondering if it was a conflict with a package you had installed.

    Not a problem - I'm glad you're up and running!

  • Biagio Arobba 16 posts 36 karma points
    Apr 24, 2014 @ 23:16
    Biagio Arobba
    0

    I haven't been able to reproduce the user interface errors either (though I did see the error message in the logs, but it didn't seem to cause any problems).

    So, it must have been something else.

    I am glad to be up and running, too. The UI looks great on the back end.

    Again, thanks!

Please Sign in or register to post replies

Write your reply to:

Draft