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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...When or Where Insertion done on "PortalDesktopModules" tableWhen or Where Insertion done on "PortalDesktopModules" table
Previous
 
Next
New Post
3/15/2013 8:45 AM
 
I have a problem when i add new module to dnn portal from host/extensions ..the module not appear on the modules dropdownlist which on the control panel.
After Some Investigations I found that
-When I add New Module using host/extensions ..The Add New Module User Control located on ..\DesktopModules\Admin\Extensions\Editors\EditModuleDefinition ..When Click on Create Button ..It Call those functions AddTabBefore & AddModule ...I don't think any one of them insert into "PortalDesktopModules" Table.
-The Module DropDownList control in The Control Panel located in that namespace "DotNetNuke.Web.UI.WebControls.DnnModuleComboBox" which retrieve its data using that function "GetPortalDesktopModules" which call the procedure with same name ..and that procedure get the data from "PortalDesktopModules" table

So I want to know that when Insertion into  "PortalDesktopModules" table shall be happened ??

 
New Post
3/16/2013 12:01 PM
 
Ahmed,

Let me commend you on your bravery. You're ready to go right to the series of tables in the DNN database to debug at the database level why a module was not inserted.

I'd have to trace out in the current database where this all happens to what tables and what all dependencies are involved.

I had to work that all out once to get data from sites running on 3.x to sites running on 4.x. DNN has long since prior come out with an update procedure to do this. Fortunately, you won't need to go to the database level to resolve your issue.

If your module isn't showing up in the drop down list, there are a number of simple reasons why.

Go to the Extensions page, where the list of all modules exists. Does the module show up there? it should and if so, click on the pencil icon to edit it. Scroll to the bottom of the page -- are there view, settings and edit controls set up? Next, is the folder where the module lives in Desktop Modules existing? Browse to the Website \ Desktop Modules\ directory and find the folder in this directory. It should be there. There is a "Folder" text box on the module edit screen -- is there a typo for the folder name?

In visual studio (or visual web developer), open up the module folder and find all .ascx (control) pages. Are all of these listed at the bottom of the module edit screen?

On the module edit screen make sure all controls are present and they have proper keys, the folder name is spelled correctly, that there is a friendly name (this is what shows up in the drop down list, I think)

If I'm interpreting your post correctly, there is some simple basic missing right on this page. Finding it in the database (or not) will prove there is an install issue but you should not have to go that far -- the error will show up right on this page.
 
New Post
3/17/2013 6:42 AM
 
Thanks Michael Durthaler for your help ...reviewed all of the above suggestion but i think all of those suggestions ..correct on my portal ..no exceptions nor something strange ...
but do you have any idea about when or where Insertion done on "PortalDesktopModules" Table
 
New Post
3/17/2013 1:23 PM
 

Ahmed,

To answer the question straight up, yes I do.  Just go into SSMS (SQL Server Management Studio) and right click on the table.  Select "show dependencies" and you'll see how this is done.  You'll find what stored procedures do the insert.

The way DNN is set up, there will be a stored procedure call from somewhere in the VB code after a module is created -- that is once the extension process completes.  Just look for the stored procedure name.  It will be in some sort of SQL Provider Project method.  If you're using 6.x or later the code will be in C# or at least C# is a choice.

If you have the full source code, you can find it. Exactly where does it live?  I'm not sure.  But how to find it, the above is what I'd do to find it.

This being said -- DNN is solid.  It won't leave out things like the name of a module in the drop down list.

What module is this that isn't loading?  Look in its manifest file and I'll bet a C Note against a termite-ridden fence post the entry for the drop down list is missing from the manifest.

This sort of thing missing is a BASIC. 

I'd get with the provider of the module.  Something isn't right when the manifest is parsed and the module is loaded.

Is the problem you're trying to solve is that you can't find the module in the drop down list once you've processed it through the Extensions wizard?

 
New Post
3/17/2013 9:52 PM
 

Ahmed (and Michael),

One reason that an installed module will not show up in the PortalDesktopModules table for a particular portal is that it was configured (the IsPremium node in the extension manifest or the Is Premium checkbox in the extension registration editor) to be a "Premium Module" that would not automatically be assigned to a portal on installation or automatically made available to newly created portals. Open the module's registration editor (Host --> Extensions, Installed Extensions tab), then click on edit pencil beside the problem module). There you will be able to turn off the Is Premium check box if set AND more importantly, use the dual list box to re-assign the particular module to be available in the add module drop-down list for the particular portal.

Also note that by navigating to Admin --> Extensions then clicking the edit pencil beside a particular module you will be presented with a role grid in which you may grant Deploy permission to a particular user role. It is possible that Deploy permission on the problem module for the Administrator's role group has been unchecked or set to deny - thus removing the module from the Add Module drop-down list.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...When or Where Insertion done on "PortalDesktopModules" tableWhen or Where Insertion done on "PortalDesktopModules" table


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