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 ForumsForumForumerror adding forum module to content pane error adding forum module to content pane
Previous
 
Next
New Post
10/10/2006 9:16 PM
 
Hi all ,

im running the latest installation of DNN,

and i just downloaded the latest version of the core forum module. 

each time i try to add the module to the content pane or any pane it gives the same error message

A critical error has occurred.
INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_ModuleSettings_Modules'. The conflict occurred in database 'Plismor_nicomputing', table 'Modules', column 'ModuleID'. The statement has been terminated.

in the log viewer i see to errors one is a "module load exception" and the other is a "page load exception"

i will print both below

Module load exception

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 04.00.02
Method: DotNetNuke.Modules.Forum.Container.Page_Init
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: (portal name taken out for display in public forum)
UserID: 1
UserName: host
ActiveTabID: 59
ActiveTabName: NI-Forum
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: (t
aken out for display in public forum)/NIForum/tabid/59/Default.aspx
ExceptionGUID: 91705c98-6a1e-4a73-ad6e-1e92bfb37a25
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Unhandled Error Adding Module to ContentPane
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.Security.VerificationException: Operation could destabilize the runtime. at DotNetNuke.Modules.Forum.Container.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: ABJHW13


the page load exception

AssemblyVersion: 04.00.02
Method: System.Data.SqlClient.SqlConnection.OnError
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName:
(portal name taken out for display in public forum)
UserID: 1
UserName: host
ActiveTabID: 59
ActiveTabName: NI-Forum
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
(taken out for display in public forum)/NIForum/tabid/59/Default.aspx
ExceptionGUID: c0b6cf1c-bf3a-4099-8e3d-1a401a1b9cdf
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_ModuleSettings_Modules'. The conflict occurred in database 'Plismor_nicomputing', table 'Modules', column 'ModuleID'. The statement has been terminated.
Message: DotNetNuke.Services.Exceptions.PageLoadException: INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_ModuleSettings_Modules'. The conflict occurred in database 'Plismor_nicomputing', table 'Modules', column 'ModuleID'. The statement has been terminated. ---> System.Data.SqlClient.SqlException: INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_ModuleSettings_Modules'. The conflict occurred in database 'Plismor_nicomputing', table '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.Groups.CreateChildControls() at DotNetNuke.Modules.Forum.DNNForum.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.Modules.Forum.ForumBaseControl.EnsureChildControls() 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(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: ABJHW13


My SQL skills are not that great i've just started my SQL module at university,  any help would greatful. 

Does anyone know if this has been an issue before,

I've tried removing the module completly and then uploading it again but it still gives the same error. 

Thanks Pat
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumerror adding forum module to content pane error adding forum module to content pane


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