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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogBlog errorBlog error
Previous
 
Next
New Post
12/21/2006 12:25 AM
 

I have a blog set up on my site and for the most part it is working, but when ever I try to go to the module options I get the following error;

An error has occurred.
Error: Module Options is currently unavailable.

In my log file I have the following;

ModuleId: 625
ModuleDefId: 93
FriendlyName: Module Options
ModuleControlSource: DesktopModules/Blog/ModuleOptions.ascx
AssemblyVersion: 04.03.05
PortalID: 0
PortalName: www.xxxxxxxxxxxxxx.com
UserID: 15
UserName: dove
ActiveTabID: 135
ActiveTabName: dove
RawURL: /myJournal/dove/tabid/135/ctl/Module_Options/mid/625/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 4d20406f-cdc0-4f0f-b1cf-e7332100a34b
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Blog.ModuleOptions.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.Blog.ModuleOptions.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Does anyone know what is going on, why is this error happening?

 
New Post
1/17/2007 8:12 PM
 

from the error I can see that during the page_load of the module options an expected value is missing. It's likely to be a text field that was cleared in error, as the page_load expects to read, as the checkbox's would still save. Can you take a look into your modulesettings table, and see if there is setting missing (the field names in red below correspond to the expected setting names for the blog)"EntryDescriptionRequired"))CType(BlogSettings("SummaryMaxLength"), String)CType(BlogSettings("SearchSummaryMaxLength"), String)CType(BlogSettings("MaxImageWidth"), String)CType(BlogSettings("RecentEntriesMax"), String)CType(BlogSettings("RecentRssEntriesMax"), String)

chkUploadOption.Checked = Convert.ToBoolean(BlogSettings(

chkShowSummary.Checked = Convert.ToBoolean(BlogSettings(

chkShowUniqueTitle.Checked = Convert.ToBoolean(BlogSettings(

"EnableUploadOption"))"ShowSummary"))"ShowUniqueTitle"))

 

If CType(BlogSettings("PageBlogs"), String) <> "" Then

chkEnableDNNSearch.Checked = Convert.ToBoolean(BlogSettings(

 

"EnableDNNSearch"))

chkForceDescription.Checked = Convert.ToBoolean(BlogSettings(

txtSummaryLimit.Text =

txtSearchLimit.Text =

txtMaxImageWidth.Text =

txtRecentEntriesMax.Text =

txtRecentRssEntriesMax.Text =


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogBlog errorBlog 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