HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Error when adding a pageError when adding a page
Previous
 
Next
New Post
8/25/2009 6:17 AM
 

When adding a page to several of my portals (some do work fine), i receive the following error:

System.NullReferenceException was caught 
  Message="Object reference is not set to an instance of an object."
  Source="DotNetNuke"
  StackTrace:
       bij DotNetNuke.Entities.Tabs.TabController.AddAllTabsModules(TabInfo objTab) in C:\Coding\DNN_source\Library\Entities\Tabs\TabController.vb:regel 60
       bij DotNetNuke.Entities.Tabs.TabController.AddTabInternal(TabInfo objTab, Boolean includeAllTabsModules) in C:\Coding\DNN_source\Library\Entities\Tabs\TabController.vb:line 99
       bij DotNetNuke.Entities.Tabs.TabController.AddTab(TabInfo objTab, Boolean includeAllTabsModules) in C:\Coding\DNN_source\Library\Entities\Tabs\TabController.vb:line 365
       bij DotNetNuke.Entities.Tabs.TabController.AddTab(TabInfo objTab) in C:\Coding\DNN_source\Library\Entities\Tabs\TabController.vb:regel 348
       bij DotNetNuke.Modules.Admin.Tabs.ManageTabs.SaveTabData(String strAction) in C:\Coding\DotNetNuke\DesktopModules\Admin\Tabs\ManageTabs.ascx.vb:line 560
       bij DotNetNuke.Modules.Admin.Tabs.ManageTabs.cmdUpdate_Click(Object Sender, EventArgs e) in C:\Coding\DotNetNuke\DesktopModules\Admin\Tabs\ManageTabs.ascx.vb:line 915
  InnerException:

I apologize for the partly dutch stacktrace, i used the dnn source package to find out where the error occurres, The errors occur since my admin tabs were deleted from the tabs table by dnn no clue why that happend bug?  Tabmodules and modules are still intact. I just restored all admin tabs, this didn't solve anything.

 
New Post
8/26/2009 4:30 AM
 

Seems that the problem was caused by 1200 rows in the tabmodules table that pointed to none existent tabs. I deleted the rows and my problem is solved now.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Error when adding a pageError when adding a page


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
Charlotte DoDNN

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke DNN Hosting
Exact Target Exec Alert
r2integrated

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.