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...Can't update host settings since upgrade to 7.2.2Can't update host settings since upgrade to 7.2.2
Previous
 
Next
New Post
6/5/2014 6:23 AM
 

Since 7.2.2 whenever I make a change to any setting on a host, an event is registered and the change is lost. There are some other problems, but this one is the clearest.

Event viewer:

ModuleId:327

ModuleDefId:72

FriendlyName:Host Settings

ModuleControlSource:DesktopModules/Admin/HostSettings/HostSettings.ascx

AssemblyVersion:7.2.2

PortalID:0

PortalName:obfuscated

UserID:1

UserName:root

ActiveTabID:16

ActiveTabName:Host Settings

RawURL:/host/host-settings/portalid/0

AbsoluteURL:/Default.aspx

AbsoluteURLReferrer:http://www.obfuscated.com/host/host-settings/portalid/0

UserAgent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:3efe161e-92de-4696-98f9-4d17d144e01d

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

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:DotNetNuke.Modules.Admin.Host.HostSettings.UpdateSettings

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.Modules.Admin.Host.HostSettings.UpdateSettings(Object sender, EventArgs e)
   --- End of inner exception stack trace ---

 

Source:

Server Name: obfuscated

 

It seemed similar to http://www.dnnsoftware.com/forums/forumid/200/threadid/498717/scope/posts, but the error stack is different.

 

What is a good analysis approach?

 
New Post
6/5/2014 7:34 AM
 
check host settings table for duplicate or obvious invalid data.
e.g. there should be no row with setting value Null

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/6/2014 5:57 AM
 
Hi Sebastian, thanks for the tip. I have the following:

select count(*)
from hostsettings
where settingvalue is null

Result: 0 (so no rows with null)

select settingname, count(*)
from hostsettings
group
by settingname
having count(*) > 1

No rows.

The settingnames and settingvalues seem ok.
 
New Post
6/6/2014 6:05 AM
 
strange. you might enable debug in web.öconfig and install DNN symbols (from dotnetnuke.codeplex.com) for your versoin to get more details.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/6/2014 8:01 AM
 
Found that for instance HostPortalID in HostSettings is empty string. Should have been 0. Found more strange things. The problems have probably been caused by the upgrade from iFinity URL Master to Advanced URLs using 2.8.0 of iFinity URL Master and then damage caused by that. Restored backup and switched back to ifinity url master, no longer using advanced urls.

All problems seem to have gone when using iFinity URL Master instead of AUM.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Can't update host settings since upgrade to 7.2.2Can't update host settings since upgrade to 7.2.2


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