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 ...Admin site setting raise errorAdmin site setting raise error
Previous
 
Next
New Post
4/10/2010 10:02 PM
 

 Hi,

When i goto admin site setting following error comming, Why that?

 

Error: Site Settings is currently unavailable.
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.Portals.SiteSettings.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Log entry is this 
ModuleControlSource: DesktopModules/Admin/Portals/SiteSettings.ascx 
AssemblyVersion: 5.1.1 
PortalID: 0 
PortalName: xxxx 
UserID: 3 
UserName: xxx 
ActiveTabID: 42 
ActiveTabName: Site Settings 
RawURL: /Admin/SiteSettings.aspx 
AbsoluteURL: /Default.aspx 
AbsoluteURLReferrer: xxxx 
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.1)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider 
ExceptionGUID: 6ab38a8b-24b8-422b-a273-8dce7e0518be 
InnerException: Object reference not set to an instance of an object. 
FileName: 
FileLineNumber: 0 
FileColumnNumber: 0 
Method: DotNetNuke.Modules.Admin.Portals.SiteSettings.Page_Load 
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.Portals.SiteSettings.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Source: 
Server Name: xxx

 

krds

lakmal

 

 
New Post
4/10/2010 10:13 PM
 

Hmmm, isn't this the one that throws when you don't have a default portal language specified?


Eric Swanzey
www.swanzey.com
 
New Post
4/13/2010 9:26 AM
 

Hi...I am working with Lakmal and the solution you offered unfortunately does not seem to be a source of the error.  There is a default language for the portal. 

Does anyone else have any ideas.  We need to be able to get to the site settings and solve the problem.

 
New Post
6/14/2010 4:07 PM
 
Hallo I experienced the same problem (DNN version 5.4.2) and did some digging in the source code.
In the vb file DesktopModules\Admin\Portals\SiteSettings.ascx.vb is the sub:
 Private Sub Loadportal(ByVal activeLanguage As String)
and in this sub there is the statement:
Dim objPortal As PortalInfo = objPortalController.GetPortal(intPortalId, activeLanguage)
After executing this statement the objPortal is nothing and we are in trouble
I added after this statement:

if objPortal is nothing then
   objPortal = objPortalController.GetPortal(intPortalId)
 end if

and it went ok again
hope this will help
 
New Post
6/23/2010 9:21 AM
 
Hi! I logged into the offending portal, went to Languages, changed default language, saved and the error went away. I could then set the default language back to previous value.



Siri Monsoey - Triangel Software View Siri Merete Monsøy Elgenes's profile on LinkedIn
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Admin site setting raise errorAdmin site setting raise error


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