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 ForumsForumForumCritical application errorCritical application error
Previous
 
Next
New Post
11/17/2007 10:26 AM
 

I'm currently using v. 04.04.03 of the forum and get the following exception for one thread:

AssemblyVersion: 04.07.00
PortalID: 4
PortalName: Forsvarsdialog
UserID: 1
UserName: host
ActiveTabID: 116
ActiveTabName: Debatt
RawURL: /Debatt/tabid/116/forumid/11/scope/threads/Default.aspx
AbsoluteURL: /Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.2; FDM)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: c6419f14-f50e-4859-bdde-850da5b4bb37
InnerException: Value cannot be null. Parameter name: value
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.Caching.CacheEntry..ctor
StackTrace:
Message: System.ArgumentNullException: Value cannot be null. Parameter name: value at System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic) at System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace) at System.Web.Caching.Cache.Insert(String key, Object value, CacheDependency dependencies) at DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.Insert(String CacheKey, Object objObject, Boolean PersistAppRestart) at DotNetNuke.Common.Utilities.DataCache.SetCache(String CacheKey, Object objObject) at DotNetNuke.Modules.Forum.ThreadInfo.GetThreadInfo(Int32 ThreadID) at DotNetNuke.Modules.Forum.Threads.RenderThreadInfo(HtmlTextWriter wr, Boolean AggregatedView)

The result of this error is that the forum post list is malformatted and not all threads are listet. When you click the post at the end of the list, the application states that the value cannot be NULL and the post is not displaid. You can see for your self at http://www.forsvarsdialog.no/Debatt/tabid/116/forumid/11/scope/threads/Default.aspx

I have looked in the most obvious places in the database tables and found several entries with value NULL where my guess would be there should be a value. However, changing any values to a proper value does not fix the issue.

Any ideas? Please?

 
New Post
11/17/2007 7:48 PM
 

I found the cause, but not the reason!

The cause was postings with an authors userID = 0, which ofcourse is not a user.

The reason for this to happen is unknown, so if anyone has a clue I would appreciate a reply so this don't happen again.

 
New Post
11/19/2007 1:13 AM
 

I have identical symptoms in a site I migrated from ActiveForums. Maybe half a dozen threads out of twenty thousand or so break the page, and generate that exception when you click on them.

Mine have valid author IDs, and their database records look no different to that of perfectly good posts: all good records in the forum_posts table and the forum_threads table...

 
New Post
12/2/2007 11:57 PM
 

I got the same error after I started a new thread, but took too long to write the description and the server timed out.  By the time I tried to post it, I was logged out and had to log in again.  then when I returned to the thread, I got the same error you are having.

I really need to find out how to fix this.  Maybe I'll try playing with the SQL table to change the user id.

 
New Post
12/4/2007 2:13 AM
 

This can be caused by having a forum post by a user who does not have an entry in the Forum_Users table.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumCritical application errorCritical application 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