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...Upgrading DNN P...Upgrading DNN P...Error after upgrade to 7.0.2 - Object reference is not set to an instance of objectError after upgrade to 7.0.2 - Object reference is not set to an instance of object
Previous
 
Next
New Post
2/15/2013 8:25 AM
 

Today I tried to upgrade my testing site to 7.0.2. Installation is fine, I get to homepage, but then I try to login on site, and only see  'DotNetNuke Error'  and 'Object reference is not set to an instance of object' in the URL on ErrorPage.aspx form.

In a web.config, I have <customErrors mode="Off"> and <compilation debug="true">, but no stack trace is displayed. I really want to know, how to force DNN to display stack trace for this error to have a chance of resolving it.

 

 
New Post
2/15/2013 10:30 AM
 
EventLog table not give me any advice - it contains some recent messages about successful upgrade steps and host logins, etc.  - but no GENERAL_EXCEPTION keys :(
 
New Post
2/15/2013 10:49 AM
 

The problem is, that error affected only Host user. Admin logins successfully.

I've reset all skins / container settings (SkinSrc, ContainerSrc) to NULL in dbo.TabModules and dbo.Tabs. After that under Admin user I set default tab skins and containers to new "Gravity" style - Host still cannot login.

 
New Post
2/18/2013 12:41 AM
 
Any ideas?
 
New Post
2/21/2013 2:37 AM
 
I've enabled logging of all events:

UPDATE dbo.EventLogConfig SET LoggingIsActive = 1;

Then restarted application and looked in EventLog:

SELECT TOP(20) * FROM dbo.EventLog ORDER BY LogCreateDate DESC;

And (at last) I see a stack trace. In top of it:

System.NullReferenceException: DotNetNuke.UI.ControlPanels.ControlBar.GetHostTabs() in c:\Dotnetnuke\admin\ControlPanel\ControlBar.ascx.cs:line 924

By now I fixed host login problem just by switching back to RibbonBar:

UPDATE dbo.HostSettings SET SettingValue = 'Admin/ControlPanel/RibbonBar.ascx' WHERE SettingName = 'ControlPanel';

I assume that this error is caused by missing host tabs in old DNN version, which just has less features in host menu, or in contrary - by non-standard tabs, added manually to a host menu.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Error after upgrade to 7.0.2 - Object reference is not set to an instance of objectError after upgrade to 7.0.2 - Object reference is not set to an instance of 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