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: (taken 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
|