Method not found: 'System.String Telerik.Sitefinity.Web.UrlPath.ResolveUrl(System.String, Boolean)'.

2 posts, 0 answers
  1. Aaron
    Aaron avatar
    1 posts
    Member since:
    Apr 2015

    Posted 22 Apr 2015 Link to this post

    Hello,

    I am upgrading our Sitefinity project from version 6.1.4300.0 to 8.0.5700.0.

    I copied the project folder to my local machine and restored a backup copy of the database to test.

    I followed the Sitefinity 'Upgrade' documentation and the upgrade went well.

    I updated all the assemblies in the WCF to reference the new dll files in the project bin folder and was able to load the homepage without any problems.

    Then when I tried to navigate to a page from my navigation bar, I get the following error:

    Server Error in '/' Application.Method not found: 'System.String Telerik.Sitefinity.Web.UrlPath.ResolveUrl(System.String, Boolean)'. 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: 'System.String Telerik.Sitefinity.Web.UrlPath.ResolveUrl(System.String, Boolean)'.

    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:

    [MissingMethodException: Method not found: 'System.String Telerik.Sitefinity.Web.UrlPath.ResolveUrl(System.String, Boolean)'.]
    GSSI_Overview.Overview.InitializeControls(GenericContainer controlContainer) in C:\projects\GSSI_Overview\Overview.cs:210
    Telerik.Sitefinity.Web.UI.SimpleView.CreateChildControls() +52
    System.Web.UI.Control.EnsureChildControls() +83
    System.Web.UI.Control.PreRenderRecursiveInternal() +42
    System.Web.UI.Control.PreRenderRecursiveInternal() +155
    System.Web.UI.Control.PreRenderRecursiveInternal() +155
    System.Web.UI.Control.PreRenderRecursiveInternal() +155
    System.Web.UI.Control.PreRenderRecursiveInternal() +155
    System.Web.UI.Control.PreRenderRecursiveInternal() +155
    System.Web.UI.Control.PreRenderRecursiveInternal() +155
    System.Web.UI.Control.PreRenderRecursiveInternal() +155
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974

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

    Please help me! I did not create the site, I am only working on the upgrade.

    I do not know why it is looking at a file located at C:\projects\GSSI_Overview\Overview.cs:210. I don't even know where that file is! I can't find it anywhere.

    Is this something to do with virtual paths?

  2. Sabrie Nedzhip
    Admin
    Sabrie Nedzhip avatar
    8 posts

    Posted 27 Apr 2015 Link to this post

    Hi Aaron,

    I am sorry to hear about the issues you are experiencing.

    It is really strange indeed. Judging by the error message it seems that you have a custom widget created in your project which has the following namespace: GSSI_Overview.Overview. The issue occurs in the InitializeControls() method of this custom control.

    It seems that you have the Overview widget dropped on your page or on your page template and when you try to access the page you are getting this error since the widget cannot be initialized.

    Can you please try to check this and let me know about your findings?

    I hope you find the above information useful.

    Regards,
    Sabrie Nedzhip
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
Back to Top