This is a migrated thread and some comments may be shown as answers.

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

1 Answer 251 Views
General Information
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Aaron
Top achievements
Rank 1
Aaron asked on 22 Apr 2015, 09:55 PM

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?

1 Answer, 1 is accepted

Sort by
0
Sabrie Nedzhip
Telerik team
answered on 27 Apr 2015, 01:02 PM
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
 
Tags
General Information
Asked by
Aaron
Top achievements
Rank 1
Answers by
Sabrie Nedzhip
Telerik team
Share this question
or