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 ForumsDocumentsDocumentsDNN errorDNN error
Previous
 
Next
New Post
11/23/2009 1:56 PM
 

Hi,

 I need some help ASAP.

Portal has following setup:

Windows 2003 server, IIS6, SQL 2005,  DNN5.1.4 and DMX 5. I am building document management portal using DMX 5. I've added new test user to the portal and run in to trouble with the portal.  While trying to access Users in Common Tasks I got the following error:

DotNetNuke Error


 

Error An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: A column named 'Owner' already belongs to this DataTable. ---> System.Data.DuplicateNameException: A column named 'Owner' already belongs to this DataTable. at System.Data.DataColumnCollection.RegisterColumnName(String name, DataColumn column, DataTable table) at System.Data.DataColumnCollection.BaseAdd(DataColumn column) at System.Data.DataColumnCollection.AddAt(Int32 index, DataColumn column) at System.Data.DataColumnCollection.Add(String columnName, Type type) at DotNetNuke.Common.Globals.ConvertDataReaderToDataTable(IDataReader reader) at Bring2mind.DNN.Modules.DMX.Business.EntriesController.GetCollectionContents(PortalSettings& Portal, UserInfo& User, Boolean UserIsAdmin, Int32 EntryId, Boolean IncludeDeleted) at Bring2mind.DNN.Modules.DMX.ViewCollection.ᜂ(Object A_0, EventArgs A_1) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: A column named 'Owner' already belongs to this DataTable. ---> System.Data.DuplicateNameException: A column named 'Owner' already belongs to this DataTable. at System.Data.DataColumnCollection.RegisterColumnName(String name, DataColumn column, DataTable table) at System.Data.DataColumnCollection.BaseAdd(DataColumn column) at System.Data.DataColumnCollection.AddAt(Int32 index, DataColumn column) at System.Data.DataColumnCollection.Add(String columnName, Type type) at DotNetNuke.Common.Globals.ConvertDataReaderToDataTable(IDataReader reader) at Bring2mind.DNN.Modules.DMX.Business.EntriesController.GetCollectionContents(PortalSettings& Portal, UserInfo& User, Boolean UserIsAdmin, Int32 EntryId, Boolean IncludeDeleted) at Bring2mind.DNN.Modules.DMX.ViewCollection.ᜂ(Object A_0, EventArgs A_1) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 
New Post
11/23/2009 6:33 PM
 

Chris,

I'm not familiar with DMX from an architectural perspective but from the error message it appears to be the DMX Controller that's generating the error.  This type of error can be caused by module caching.  If the object already exists in the data cache and the module tries to dynamically add to this object you can run into this.  Go to the settings of the DMX module and make sure the cache setting is set to 0 (meaning do not cache the module).

I hope this helps,

Chuck

 
New Post
3/16/2010 2:26 PM
 
Hi Chris, Indeed the error originated in DMX. It was a result of adding a custom attribute with a name ("Owner") already in the main table. The architecture has been improved in the meantime to resolve this issue of name clashes. Peter

Peter Donker
Bring2mind http://www.bring2mind.net
Home of the Document Exchange,
the professional document management solution for DNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsDocumentsDocumentsDNN errorDNN error


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