question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Method not found: 'System.String DotNetNuke.Services.Url.FriendlyUrl.FriendlyUrlProvider.FriendlyUrl(DotNetNuke.Entities.Tabs.TabInfo, System.String, System.String, DotNetNuke.Entities.Portals.PortalSettings)'

See original GitHub issue

Description of bug

9.4.2 has broken all of our modules due to Method not found: ‘System.String DotNetNuke.Services.Url.FriendlyUrl.FriendlyUrlProvider.FriendlyUrl(DotNetNuke.Entities.Tabs.TabInfo, System.String, System.String, DotNetNuke.Entities.Portals.PortalSettings)’.

Error log

2019-11-13 10:05:23.285+01:00 [WIN-SVOFJIQAQ17][D:8][T:9][FATAL] DotNetNuke.Framework.PageBase - An error has occurred while loading page. System.MissingMethodException: Method not found: ‘System.String DotNetNuke.Services.Url.FriendlyUrl.FriendlyUrlProvider.FriendlyUrl(DotNetNuke.Entities.Tabs.TabInfo, System.String, System.String, DotNetNuke.Entities.Portals.PortalSettings)’. at Mandeeps.DNN.Libraries.URL.Factories.URLFactory.GetFriendlyURL(Nullable1 ModuleID, PortalSettings pS, String QueryParameters, URLEntity u) at Mandeeps.DNN.Modules.LiveArticles.Components.LiveArticlesController.GetArticleLink(ArticleVersion article, VersionPage vPage) at Mandeeps.DNN.Modules.LiveArticles.Components.LiveArticlesController.ReplaceArticleTokens(ArticleVersion Article, String Template, Int32 UserId, Dictionary2& RenderControlsDefinition, Boolean ThumbnailReplace, Int32 CurrentPageId, Widget wt, Boolean UseStoredProcedure, Boolean IsAjaxPreview) at Mandeeps.DNN.Modules.LiveArticles.Components.LiveArticlesController.RenderRecentArticles(Widget widget, Int32 UserId, Dictionary`2& RenderControlsDefinition) at Mandeeps.DNN.Modules.LiveArticles.UI.LiveArticlesWidget.View.Initialize() at System.Web.UI.Control.OnLoad(EventArgs e) at DotNetNuke.Entities.Modules.PortalModuleBase.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Additional context

See https://github.com/dnnsoftware/Dnn.Platform/blob/8151da229c803ea82cb7956d3c36bb322d4634ed/DNN Platform/Library/Services/Url/FriendlyUrl/FriendlyUrlProvider.cs#L50

Affected version

  • [ x ] 9.4.2

Affected browser

  • Chrome
  • Firefox
  • Safari
  • Internet Explorer
  • Edge

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:23 (19 by maintainers)

github_iconTop GitHub Comments

6reactions
bdukescommented, Nov 14, 2019

I’m working on a PR that will add back the overloads but mark them as deprecated. Still testing that it fixes the issue and doesn’t cause compilation issues going forward (e.g. ambiguous overload)

5reactions
valadascommented, Nov 15, 2019

Merged, will be out with 9.4.3 soon…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Errors of method not found for DNN 9.2.2 (Depricated ...
Hi, We just migrated from 9.1. to DNN 9.2.2 I get the following errors : 1) Method not found: 'System.String.
Read more >
c# - Method not found: 'System.String System.String.Format ...
According to its MSDN page, the overload you're using is only supported on .NET 4.6. Either configure the host to run .
Read more >
Class DictionaryPropertyAccess
Gets a property. Declaration. public virtual string GetProperty(string propertyName, string format, CultureInfo formatProvider ...
Read more >
FriendlyUrlSettings, DotNetNuke.Entities.Urls C# ...
Urls FriendlyUrlSettings - 60 examples found. These are the top rated real world C# (CSharp) examples of DotNetNuke.Entities.Urls.FriendlyUrlSettings extracted ...
Read more >
Error on search
I have a site running on 7.2.0 (migrated from a previous version) where I just recently discovered that the search doesn't work. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found