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 ForumsForumForumPrivate messaging just brokePrivate messaging just broke
Previous
 
Next
New Post
12/30/2008 8:04 PM
 

Not sure why this happened but cant use private messaging at this time. Can someone give me the fix for this without losing all forum posts please?

Here is the stack trace:

InnerException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_ModuleSettings_Modules". The conflict occurred in database "racenscresteast", table "dbo.Modules", column 'ModuleID'. The statement has been terminated.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.SqlClient.SqlConnection.OnError
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_ModuleSettings_Modules". The conflict occurred in database "racenscresteast", table "dbo.Modules", column 'ModuleID'. The statement has been terminated. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_ModuleSettings_Modules". The conflict occurred in database "racenscresteast", table "dbo.Modules", column 'ModuleID'. The statement has been terminated.at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)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.Data.SqlDataProvider.AddModuleSetting(Int32 ModuleId, String SettingName, String SettingValue)at DotNetNuke.Entities.Modules.ModuleController.UpdateModuleSetting(Int32 ModuleId, String SettingName, String SettingValue)at DotNetNuke.Modules.Forum.ForumPreConfig.PreConfig(Int32 ModuleId, Int32 PortalId, Int32 UserId)at DotNetNuke.Modules.Forum.Config..ctor(Int32 ModuleID)at DotNetNuke.Modules.Forum.Config.GetForumConfig(Int32 ModuleID)at DotNetNuke.Modules.Forum.ForumUser..ctor(Int32 ModuleId)at DotNetNuke.Modules.Forum.ForumUserController.UserGet(Int32 PortalID, Int32 UserId, Int32 ModuleID)at DotNetNuke.Modules.Forum.ForumUserController.GetForumUser(Int32 UserID, Boolean UpdateLastVisit, Int32 ModuleID)at DotNetNuke.Modules.Forum.ForumEmail.RenderKeywords(Hashtable Keywords, Object objInfo, ForumContentTypeID ContentType, String PostUrl, String ProfileUrl, String Notes)at DotNetNuke.Modules.Forum.ForumEmail.GenerateEmail(String Notes, ForumEmailType emailType, Int32 ContentID, Config ForumConfig, String URL, String ProfileURL, Int32 PortalID)at DotNetNuke.Modules.Forum.Utils.SendForumMail(Int32 ContentID, String URL, ForumEmailType EmailType, String Notes, Config ForumConfig, String ProfileURL, Int32 PortalID)at DotNetNuke.Modules.Forum.PMAdd.PostToDatabase()--- End of inner exception stack trace ---
Source:
Server Name: GENERIC52

 
New Post
1/2/2009 5:27 PM
 

Was the issue comes after a upgrade or new install?  Which version are you using?  It looks like a issue in your database, which is not specific enouth in this error message.  The issue happens with the Modules table and caused the Forum module. 

 
New Post
1/3/2009 10:31 PM
 

I did an upgrade to 4.9.1 from 4.9.0.  PowerDNN support told me that they had the same error on a fresh install and believed it might have something to do with the caching error in 4.9.1.  I will try a fresh install of 4.9.1 to confirm.

 

Matthias Schlomann wrote
 

Was the issue comes after a upgrade or new install?  Which version are you using?  It looks like a issue in your database, which is not specific enouth in this error message.  The issue happens with the Modules table and caused the Forum module. 

 
New Post
1/3/2009 10:32 PM
 

The issue has been previously logged:

http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=9082&PROJID=7



Alex Shirley


 
New Post
1/4/2009 2:30 PM
 

I just did a fresh install and confirmed this error happens on 4.9.1 whether or not its an upgrade.

joiseystud wrote
 

I did an upgrade to 4.9.1 from 4.9.0.  PowerDNN support told me that they had the same error on a fresh install and believed it might have something to do with the caching error in 4.9.1.  I will try a fresh install of 4.9.1 to confirm.

 

 Matthias Schlomann wrote
 

 

Was the issue comes after a upgrade or new install?  Which version are you using?  It looks like a issue in your database, which is not specific enouth in this error message.  The issue happens with the Modules table and caused the Forum module. 

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumPrivate messaging just brokePrivate messaging just broke


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