Copied to clipboard

Flag this post as spam?

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


  • Arif 23 posts 92 karma points
    Oct 10, 2018 @ 10:03
    Arif
    0

    Experiencing error after upgrading Umbraco version from 7.2.8 to 7.5.8 (Method Not Found)

    Server Error in '/' Application.

    Method not found: 'Void Umbraco.Core.Services.ContentService..ctor()'.

    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.MissingMethodException: Method not found: 'Void Umbraco.Core.Services.ContentService..ctor()'.

    Source Error:

    [No relevant source lines]

    However the Umbraco site is functioning fine, the main website is throwing this error.

    Regards,

    Arif Banduwale

  • Nik 1612 posts 7258 karma points MVP 7x c-trib
    Oct 10, 2018 @ 10:23
    Nik
    0

    Hi Arif,

    Are you trying to access the content service somewhere in one of your front end templates?

    Thanks,

    Nik

  • Arif 23 posts 92 karma points
    Oct 10, 2018 @ 11:16
    Arif
    0

    Hi Nik,

    Thanks for your reply, I can see that content service is being used in some of the below files but not in any of the front-end templates.

    RegisterStartupEvents.cs

    ControllersInstaller.cs

    Controllers / Surface Controllers

    Thanks,

    Arif B

  • Nik 1612 posts 7258 karma points MVP 7x c-trib
    Oct 10, 2018 @ 13:02
    Nik
    0

    Hi Arif,

    Basically, I'm trying to identify when this is being called in your front end code. If it was called in pre-compiled code (e.g. Dll's) I would expect none of the website to execute (i.e. you wouldn't be able to get to Umbraco).

    I think it might be a bit of a tricky one to diagnose without being able to see the site code. Do you have any code files in an App_Code folder?

    Nik

  • Arif 23 posts 92 karma points
    Oct 10, 2018 @ 15:47
    Arif
    0

    Hi Nik,

    That's where I'm stuck to find from where is this getting called. There is nothing in the App_code folder.

    Regards,

    Arif B

Please Sign in or register to post replies

Write your reply to:

Draft