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 ForumsGalleryGalleryError:INSERT statement conflicted with COLUMN FOREIGN KEY constraint Error:INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_ModuleSettings_Modules'
Previous
 
Next
New Post
12/14/2006 11:12 AM
 

Folks:    When I try to add Download Roles to my existing Gallary, I get the following error.  This happens when I do a "DNN Role Lookup" and hot the "Go" button to find the role I'd like allow download privaliges...  Please advise: 

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 12/14/2006 10:51:14 AM

Event time (UTC): 12/14/2006 3:51:14 PM

Event ID: 571821730f7342cdb98bf12027f7e0bb

Event sequence: 22

Event occurrence: 1

Event detail code: 0

Application information:

Application domain: /LM/W3SVC/69740686/Root-2-128105848490965650

Trust level: Full

Application Virtual Path: /

Application Path: E:\ceatWeb\

Machine name: DEVWEB01

Process information:

Process ID: 5784

Process name: w3wp.exe

Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:

Exception type: SqlException

Exception message: INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_ModuleSettings_Modules'. The conflict occurred in database 'CoxEntArch', table 'Modules', column 'ModuleID'.

The statement has been terminated.

Request information:

Request URL: http://ea.traderpubdev.net/DesktopModules/Gallery/Popup/popupdata.aspx?datasource=gallery&objectclasses=102&tabid=135&mid=0&objectclass=102&location=&searchvalue=role

Request path: /DesktopModules/Gallery/Popup/popupdata.aspx

User host address: 10.50.8.61

User: host

Is authenticated: True

Authentication Type: Forms

Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:

Thread ID: 6

Thread account name: NT AUTHORITY\NETWORK SERVICE

Is impersonating: False

Stack trace: 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.Gallery.GalleryPreConfig.PreConfig(Int32 ModuleId, Int32 PortalId, Int32 UserId)

at DotNetNuke.Modules.Gallery.Config..ctor(Int32 ModuleID)

at DotNetNuke.Modules.Gallery.Config.GetGalleryConfig(Int32 ModuleID)

at DotNetNuke.Modules.Gallery.PopupControls.PopupGalleryData..ctor(PopupData Popup)

at DotNetNuke.Modules.Gallery.PopupControls.PopupData.CreateObject()

at DotNetNuke.Modules.Gallery.PopupControls.PopupData.CreateChildControls()

at System.Web.UI.Control.EnsureChildControls()

at DotNetNuke.Modules.Gallery.PopupControls.PopupControl.EnsureChildControls()

at System.Web.UI.Control.PreRenderRecursiveInternal()

at System.Web.UI.Control.PreRenderRecursiveInternal()

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 

 

 

 

 
New Post
12/15/2006 12:17 AM
 

Well, unfortunately the download roles security settings doesn't work in the currently released (beta) version of the gallery.  Your version of the error is a little different than what most people get, but since the code is messed up...it just doesn't work.

You might try out my patched version at  www.jegers.com

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryError:INSERT statement conflicted with COLUMN FOREIGN KEY constraint Error:INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_ModuleSettings_Modules'


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