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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0My module gets added but does not show on the TabMy module gets added but does not show on the Tab
Previous
 
Next
New Post
6/2/2006 9:07 AM
 

I have been struggling with this for 3 days and hope somebody can help because my PC is about to fly. My first module went plain sailing but somehow this (2nd) module just does not wont the work.

What i have is a C# module nested in the VB DNN solution. I compiled the solution and added the module definition manually. When i tried to add a module to the tab, i get no error but the module just does not show up. I used DDDebug.aspx to try and see what the problem could be since the compiler did not complain.

Here is the dumps for both the View aspx file. The edit aspx works fine. I think it has something to do with the resourceHandler. I would appreciate any help here

Server Error in '/DotNetNuke_2' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

Line 114:
Line 115:        Public Sub ProcessModuleLoadException(ByVal ctrlModule As Entities.Modules.PortalModuleBase, ByVal exc As Exception)
Line 116:            ProcessModuleLoadException(String.Format(Localization.Localization.GetString("ModuleUnavailable"), ctrlModule.ModuleConfiguration.ModuleTitle), ctrlModule, exc, True)
Line 117:        End Sub
Line 118:

Source File: C:\DotNetNuke\Library\Components\Exceptions\Exceptions.vb    Line: 116

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc) in C:\DotNetNuke\Library\Components\Exceptions\Exceptions.vb:116
   AE.Modules.Promotions.ViewPromotions.Page_Load(Object sender, EventArgs e) in c:\DotNetNuke\Website\DesktopModules\Promotions\ViewPromotions.ascx.cs:106
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

 

 
New Post
6/2/2006 10:12 AM
 

Go here and pur DnnDebug.aspx in your root, and enter your control info.

http://help.speerio.net/filemanagerpro/250/dnn/default.htm#Resources/DNNDebug.aspx.htm

This will show you the real problem that is being masked by the DNN framework.

I hope this is of some help to you.

 

 


Dwayne J. Baldwin
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0My module gets added but does not show on the TabMy module gets added but does not show on the Tab


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