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 ForumsForumForumForum UsersForum Users
Previous
 
Next
New Post
3/1/2006 7:07 AM
 

Yes Bilal, welcome to this forum

What's the exception you get from the Forums module?

As I said before, the first time each user visits the page, he/she is added to the forum users. In addition to that you will need to set the edit permissions for the role that you want to post in the module. Also, it's best to manage the forum using the admin user and not the host user. There's a detailed user document for this module you can download from the project area.


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
3/1/2006 7:27 AM
 

I am getting several exceptions:

ExceptionGUID: ac97ce56-4efb-4771-ab25-3399c695a036
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Forum.ForumUserController.GetForumUser(Int32 UserID, Boolean UpdateLastVisit)
StackTrace:
Source:
Server Name: IIS637

AbsoluteURLReferrer: http://www.devconnect.net/Default.aspx?tabid=76&ctl=ForumManage&mid=456
ExceptionGUID: 550e178b-820a-4481-80f9-2b7793da62aa
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Cannot insert the value NULL into column 'EnableModNotification', table 'terravision.dbo.Forum_Users'; column does not allow nulls. INSERT fails. The statement has been terminated.
Message: System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'EnableModNotification', table 'terravision.dbo.Forum_Users'; column does not allow nulls. INSERT fails. The statement has been terminated. at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Forum.SqlDataProvider.UserAdd(Int32 UserId, String Alias, Boolean UseRichText, Boolean UserAvatar, String Avatar, String AdditionalAvatars, String URL, String Signature, Int32 TimeZone, String Occupation, String Interests, String MSN, String Yahoo, String AIM, String ICQ, String Skin, Boolean IsTrusted, Boolean EnableThreadTracking, Boolean EnableDisplayUnreadThreadsOnly, Boolean EnableDisplayInMemberList, Boolean EnablePrivateMessages, Boolean EnableOnlineStatus, Int32 ThreadsPerPage, Int32 PostsPerPage, Int32 WhatsNewScrollDirection, Int32 WhatsNewNumberOfThread, Int32 WhatsNewScrollDelay, Int32 WhatsNewScrollAmount, String WhatsNewTemplate, Int32 WhatsNewTrackingType, Int32 WhatsNewTrackingDuration, Int32 DefaultForumID, String CollapseGroups) at DotNetNuke.Modules.Forum.ForumUserController.UserAdd(ForumUser User) at DotNetNuke.Modules.Forum.ForumUserController.GetForumUser(Int32 UserID, Boolean UpdateLastVisit)
StackTrace:
Source:
Server Name: IIS637

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Request is not available in this context
Message: DotNetNuke.Services.Exceptions.PageLoadException: Request is not available in this context ---> System.Web.HttpException: Request is not available in this context at System.Web.UI.Page.get_Request() at Solpart.WebControls.SolpartMenu.RequestHasNoAgent() at Solpart.WebControls.SolpartMenu.DownLevelBrowser() at Solpart.WebControls.SolpartMenu.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: IIS637

 

Hope you can help.

 
New Post
3/1/2006 7:35 AM
 

The famous Object... error. At least you got some extra information.

System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Forum.ForumUserController.GetForumUser(Int32 UserID, Boolean UpdateLastVisit)

Obviously GetForumUser is not working. Can you debug the module to find out which object doesn't exist?

Just for more detail which version of DNN and which version of the forum are you using?

I have no idea about the last error, perhaps Crispy may help.


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
3/1/2006 7:59 AM
 

Hello:

I am using Forum_03.20.01 and DNN 3.2.2

Things were going fine with new users when created. Only those migrated users are facing this problem. For example, admin and host users can access this very easy.

How does the forum work? I mean, what happens when the user first logs in, is this updating anything in the forums tables? if yes, let me know what is it, so that I can do this magnually for all the migrated users. I beleive new users would work just fine.

How can I make a forum editable, which is, to make registered users only post in it?

Thanks

 
New Post
3/1/2006 8:03 AM
 

The first time a registered user visits a page were the Forum module exists, he is added to the forum users. Perhaps the problem is that your migrated users are not yet Registered users.

Edit permissions are set from Module Settings.


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumForum UsersForum Users


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