Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsLinksLinksMethod not found: Method not found: 'Void DotNetNuke.UI.UserControls.UrlControl.set_ShowDatabase(Boolean)'
Previous
 
Next
New Post
5/3/2007 2:24 PM
 
I am running DNN 4.0.2, Links module 03.03.00 and all was working fine.
I tried to upgrade the Links module to 03.03.07.
The install work but afterwards I started getting the following error any time I tried to click Add Link after putting the module on a page.  The Links module Settings capability was working fine.
 
Error from Log Viewer
ExceptionGUID: 30ad6899-c133-46a1-921d-fc2504c97682
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Method not found: 'Void DotNetNuke.UI.UserControls.UrlControl.set_ShowDatabase(Boolean)'.
Message: DotNetNuke.Services.Exceptions.PageLoadException: Method not found: 'Void DotNetNuke.UI.UserControls.UrlControl.set_ShowDatabase(Boolean)'. ---> System.MissingMethodException: Method not found: 'Void DotNetNuke.UI.UserControls.UrlControl.set_ShowDatabase(Boolean)'. at DotNetNuke.Modules.Links.EditLinks.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
StackTrace:
Source:

 

I then tried to delete the 03.03.07 version of the Links module and re-install the 03.03.00 version.  The install worked but I am still getting this error.
 
New Post
5/3/2007 10:56 PM
 

This is very puzzling as I have not had this reported before. Let me see if I can replicate this tomorrow at the office. I have the older versions still there, so I can try to recreate it.

 
New Post
5/4/2007 10:59 AM
 

Ok I tried to recreate this this morning. Here is what I did:

  • Installed DNN 4.0.2
  • Removed all link modules from the home page (All content for that matter)
  • Added 2 link modules to the home page, each with 5 links each
  • I then upgraded the links module and navigated back to the home page
  • I then tried to edit one of the links from each module (2nd from first instance and 4 from second instance)
    • This worked without issue, I was able to edit and save it with no problem
  • I then tried clicking on all of the links
    • This worked without issue.

I could not recreate it, but here is something I would like to suggest (if you have a lot of links this might not be an option):

  • Uninstall the Links module
  • Remove any dll's that may still be in the bin from the links module
  • Make sure the /desktopmodules/links folder does not exist
  • Reinstall the links module

The error that is happening is coming from a core control, the URLControl. Code in the onload has not changed in a while. So I can only surmise is that the install may have corrupted something.

 
New Post
5/7/2007 3:48 PM
 

I tried as you suggested with versions 3.3, 03.02.03, 03.03.06 and 03.03.07.  All continued to get the same error.

 
New Post
5/7/2007 5:37 PM
 

I am not sure why this is happening. This code:

Void DotNetNuke.UI.UserControls.UrlControl.set_ShowDatabase(Boolean)'. at DotNetNuke.Modules.Links.EditLinks.Page_Load

is being called on line 109 of the edit module page. It basically sets the ShowDatabase property of the URLControl, which is a core control. If it is saying that does not exist, something has happened to your version of DNN as that code does not reside in the Links Module. The URLControl is part of the core source of DNN, not the links module. Since I have taken over this project, that code has not changed with any releases. I have tested this completely and cannot reproduce it.

I am not sure what else I can do from my end as I cannot reproduce it. I am going to ask another team leader to look at this as well to confirm my results. We will have to go from there to see what our next course of action will be.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsLinksLinksMethod not found: Method not found: 'Void DotNetNuke.UI.UserControls.UrlControl.set_ShowDatabase(Boolean)'


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out