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 ForumsGalleryGalleryLookup Users: Server Error in Lookup Users: Server Error in '/' Application
Previous
 
Next
New Post
10/21/2006 1:05 AM
 

When I try to change the owner of an album, I get this error in the user lookup popup after clicking the 'Go' button:

"INSERT statement conflicted with COLUMN FOREIGN KEY constraint in 'FK_ModuleSettings_Modules'. The conflict occured in database '<dbname>', table 'Modules', column 'ModuleID' ."

I'm using DNN 4.3.5 and Gallery 3.0.12.

Is there anything I can do?

 
New Post
10/25/2006 10:35 PM
 

I'm having the Same Problem.  Using DNN 4.3.5

Any Idea?? 

 

guerito wrote

When I try to change the owner of an album, I get this error in the user lookup popup after clicking the 'Go' button:

"INSERT statement conflicted with COLUMN FOREIGN KEY constraint in 'FK_ModuleSettings_Modules'. The conflict occured in database '', table 'Modules', column 'ModuleID' ."

I'm using DNN 4.3.5 and Gallery 3.0.12.

Is there anything I can do?

 
New Post
10/26/2006 4:59 PM
 

Could you explain the problem a little more.

You say that you are changing the owner on a album.  Maybe I just can't find it, but I only find a place to change the owner on the GALLERY not on an individual albums--is that what you mean?  Where do you find this option that you are changing?

The window that comes up to pick the user is it the "Gallery Data Lookup" window?

Are you trying to search for someone in the lookup window or just pressing GO to see everyone?  As there is a bug in the released code that if you try to search for a particular persons name it will error.  Workaround--just press the go button and then find/select the person you want.

 
New Post
10/29/2006 4:55 PM
 

I am having the exact same problem when using the Gallery Data Lookup window, but in my case the error occurs when I try to select a Role (DNNRole) instead of a User. Even when I leave the "Find:" field empty and press "GO", the error comes up.

This is the complete message from the Log Viewer...:

Message: System.Exception: Unhandled Error: ---> System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Data.SqlClient.SqlException: INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_ModuleSettings_Modules'. The conflict occurred in database 'DotNetNuke', 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.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) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.desktopmodules_gallery_popup_popupdata_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---

 

 
New Post
10/29/2006 8:33 PM
 

In version 3.0.12 of the gallery the Data lookup window has issues in that the code behind the "GO" button doesn't work correctly.  They should have this fixed in the next version, otherwise you can download my patched version at:  www.Jegers.com

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryLookup Users: Server Error in Lookup Users: Server Error in '/' Application


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