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 ...Object reference not set to an instance of an object.Object reference not set to an instance of an object.
Previous
 
Next
New Post
10/7/2011 4:05 PM
 
DNN 6.0.1

I have several DNN 6.0.1 installations and I have been getting these type of errors in my event log over and over in all installations.  I have been testing Invenmanger ECR and though that the error was due to their code because it is a new release. But now I have Smith Shopping cart 4.6 installed on fresh DNN 6.0.1 and I am getting similar errors in the event log - see below.  I believe now that these are due to DNN 6.0.1 and not the modules - do you agree, and what should I do about these errors?


AssemblyVersion: 6.0.1

PortalID: 0

PortalName: My Website

UserID: 1

UserName: host

ActiveTabID: 87

ActiveTabName: Product Detail

RawURL: /mitek/OurProducts/ProductDetail.aspx

AbsoluteURL: /MiTek/Default.aspx

AbsoluteURLReferrer: http://localhost:4123/mitek/OurProducts.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: b185f660-48f0-4b11-abf8-0c8d1ce1e8d6

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: DotNetNuke.Web.DDRMenu.DDRMenuControl.OnPreRender

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Web.DDRMenu.DDRMenuControl.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: NUKEY
-------------------

ModuleId: -1

ModuleDefId: -1

FriendlyName:

ModuleControlSource:

AssemblyVersion: 6.0.1

PortalID: 0

PortalName: My Website

UserID: 1

UserName: host

ActiveTabID: 87

ActiveTabName: Product Detail

RawURL: /mitek/OurProducts/ProductDetail.aspx

AbsoluteURL: /MiTek/Default.aspx

AbsoluteURLReferrer: http://localhost:4123/mitek/OurProducts.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 516df89b-b219-41d3-a773-2243f8897992

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: DotNetNuke.UI.Containers.ActionBase.get_ModuleContext

StackTrace:

Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionBase.get_ModuleContext() at DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() at DotNetNuke.Web.DDRMenu.Actions.OnPreRender(EventArgs e) --- End of inner exception stack trace ---

Source:

Server Name: NUKEY
------------------------------------

AssemblyVersion: 6.0.1

PortalID: 0

PortalName: My Website

UserID: 1

UserName: host

ActiveTabID: 87

ActiveTabName: Product Detail

RawURL: /mitek/OurProducts/ProductDetail.aspx

AbsoluteURL: /MiTek/Default.aspx

AbsoluteURLReferrer: http://localhost:4123/mitek/OurProducts.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 42c0eefd-f6da-4869-8b3d-31dc3990d7a1

InnerException: Unhandled Error Adding Module to ContentPane

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: Smith.DNN.Modules.BuyNow.MyToolBox.GetModuleIdByName

StackTrace:

Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.ApplicationException: Can't get ModuleId for given module name 'Smith.BuyNow' at Smith.DNN.Modules.BuyNow.MyToolBox.GetModuleIdByName(Int32 tabId, String moduleName) at Smith.DNN.Modules.BuyNow.MyToolBox.GetSmithSettingString(Int32 buyNowTabID, String smithSetting) at Smith.DNN.Modules.ProductDetail.ProductDetails.Image(String img, String masterPortalID) at Smith.DNN.Modules.ProductDetail.ProductDetails.BindDetails(ProductsInfo pinfo) at Smith.DNN.Modules.ProductDetail.ProductDetails.Page_Init(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at Smith.DNN.Modules.ProductDetail.ProductDetails.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Modules.ModuleHost.LoadAjaxPanel() at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.UI.Modules.ModuleHost.get_ModuleControl() at DotNetNuke.UI.Containers.Container.get_ModuleControl() at DotNetNuke.UI.Containers.Container.ProcessModule() at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo module) --- End of inner exception stack trace --- at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo module) at DotNetNuke.UI.Skins.Skin.InjectModule(Pane pane, ModuleInfo module)

Source:

Server Name: NUKEY
---------------------------------
ModuleId: -1

ModuleDefId: -1

FriendlyName:

ModuleControlSource:

AssemblyVersion: 6.0.1

PortalID: 0

PortalName: My Website

UserID: 1

UserName: host

ActiveTabID: 87

ActiveTabName: Product Detail

RawURL: /mitek/OurProducts/ProductDetail.aspx

AbsoluteURL: /MiTek/Default.aspx

AbsoluteURLReferrer: http://localhost:4123/mitek/OurProducts.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: c3dacab8-4d07-47e3-b745-9573ac0c9845

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: DotNetNuke.UI.Containers.ActionBase.get_ModuleContext

StackTrace:

Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionBase.get_ModuleContext() at DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() at DotNetNuke.UI.Containers.ActionBase.OnLoad(EventArgs e) --- End of inner exception stack trace ---

Source:

Server Name: NUKEY
 
New Post
12/15/2011 10:45 AM
 

I am getting the same issue did you ever find a solution?


Tareq Mahmud
Fowara
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Object reference not set to an instance of an object.Object reference not set to an instance of an object.


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