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 ForumsBlogBlogObject reference not set to an instance of an object.Object reference not set to an instance of an object.
Previous
 
Next
New Post
7/13/2009 3:27 PM
 

I am very new to DNN so please pardon any stupid questions.  I set up a site with DNN version 5 site, using a free skin and a installed the Weblog module.  The module installed properly but I get this error when I add it to the page

A critical error has occurred.
Object reference not set to an instance of an object.
 

Here is the URL if you want to see if for yourself.

http://www.talktextiles.com/nuke/Default.aspx?tabid=58&error=Object+reference+not+set+to+an+instance+of+an+object.&content=0

Thanks, any help would be appreciated.

David

 
New Post
7/13/2009 4:14 PM
 

Forgot this

 

AssemblyVersion: 5.1.0
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: b9fc20f2-f450-4990-af62-75206e168a2a
InnerException: Keyword not supported: 'connectionstring'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.Common.DbConnectionOptions.ParseInternal
StackTrace:
Message: System.ArgumentException: Keyword not supported: 'connectionstring'. at System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey) at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms, Boolean useOdbcRules) at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(String connectionString, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) at System.Data.SqlClient.SqlConnection.ConnectionString_Set(String value) at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) at System.Data.SqlClient.SqlConnection..ctor(String connectionString) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Blog.Data.SqlDataProvider.GetBlogModuleSettings(Int32 PortalID, Int32 TabID) at DotNetNuke.Modules.Blog.Business.Utility.GetBlogModuleSettings(Int32 PortalID, Int32 TabID) at DotNetNuke.Modules.Blog.Business.InterfaceController.GetSearchItems(ModuleInfo ModInfo) at DotNetNuke.Services.Search.ModuleIndexer.GetSearchIndexItems(Int32 PortalID)
Source:
Server Name: APPX-VPS-1

 
New Post
7/14/2009 6:57 PM
 

I fixed that problem but now I get this.

 

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 5.1.0
PortalID: 0
PortalName: Talk Textiles
UserID: 1
UserName: host
ActiveTabID: 65
ActiveTabName: Blog
RawURL: /nuke/Blog.aspx?runningDefault=2
AbsoluteURL: /nuke/Default.aspx
AbsoluteURLReferrer: http://www.talktextiles.com/nuke/Login.aspx?ReturnUrl=%2fnuke%2fBlog.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; InfoPath.1)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 2c032c23-e031-4c8d-9e11-e255d5ef88c1
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.NavigationControl.SolpartMenuNavigationProvider.Bind
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.NavigationControl.SolpartMenuNavigationProvider.Bind(DNNNodeCollection objNodes) at DotNetNuke.UI.WebControls.SolPartActions.BindMenu(DNNNodeCollection objNodes) at DotNetNuke.UI.WebControls.SolPartActions.Page_PreRender(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: APPX-VPS-1

 
New Post
7/15/2009 4:27 PM
 

I have the same message that you have. The problem seems to be related to the SolPartMenu Navigation Provider in that the Blog module is not linking to it (or improperly registered with it, etc.)

Anyone else has this problem?


Regards,
Christopher Koeber
 
New Post
7/15/2009 4:45 PM
 

Found the problem:

 

After upgrading to DNN5, be sure to include the ProviderName attribute into the dnn:ACTION control of your containers:
<dnn:ACTIONSrunat="server"ID="dnnACTIONS"ProviderName="DNNMenuNavigationProvider"/>

and the exception should not arise anymore.
 Paul Beckett

From here.

Worked for me.


Regards,
Christopher Koeber
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogObject reference not set to an instance of an object.Object reference not set to an instance of an 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