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 ForumsForm and ListForm and ListGetting Multiple Errors When Trying To Edit UDT (User Defined Table)Getting Multiple Errors When Trying To Edit UDT (User Defined Table)
Previous
 
Next
New Post
3/20/2009 12:53 PM
 

I'm running DNN 04.08.04 and UDT 03.05.01.

 

I have a UDT that has been working fine and members have been able to add and edit records until recently. Now when a user clicks on the Edit button to the left of the record, it bombs out saying the module can't be loaded. When I do the same thing when logged in as host, I get a more detailed error, which is in two parts.

Any idea why this is happening? About the only thing I tried was deleting everything out of the DNN Recycle Bin. I don't want to make anything worse than it already is since I don't know a lot about troubleshooting DNN stuff.

Thanks!
Jeff

Here's the first error:

Error: Edit User Defined Table is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index) at DotNetNuke.Modules.UserDefinedTable.EditControls.get_Item(String Fieldtitle) at DotNetNuke.Modules.UserDefinedTable.EditUserDefinedTable.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Here's the second error:

Unhandled error loading module.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.formatException: String was not recognized as a valid DateTime. at System.DateTimeParse.Parse(String s, DateTimeformatInfo dtfi, DateTimeStyles styles) at DotNetNuke.Modules.UserDefinedTable.EditTime.set_Value(String Value) at DotNetNuke.Modules.UserDefinedTable.EditTime..ctor(String FieldTitle, String FieldType, Int32 FieldID, String ControlHelpText, String DefaultValue, Boolean Required, String ValidationRule, String ValidationMsg, String InputSettings, Boolean Normalize, Int32 ModuleID) at DotNetNuke.Modules.UserDefinedTable.EditDateTime..ctor(String FieldTitle, String FieldType, Int32 FieldID, String ControlHelpText, String DefaultValue, Boolean Required, String ValidationRule, String ValidationMsg, String InputSettings, Boolean Normalize, Int32 ModuleID) at DotNetNuke.Modules.UserDefinedTable.EditControls.Add(String FieldTitle, String FieldType, Int32 FieldID, String ControlHelpText, String DefaultValue, Boolean Required, String ValidationRule, String ValidationMsg, String InputSettings, String OutputSettings, Boolean NormalizeFlag) at DotNetNuke.Modules.UserDefinedTable.EditUserDefinedTable.BuildEditform() at DotNetNuke.Modules.UserDefinedTable.EditUserDefinedTable.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 ---

 
New Post
3/20/2009 5:52 PM
 
  • backup your database
  • export UDT module data
  • delete the module instance from the page
  • install an new instance
  • import exported data
  • adjust settings

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/21/2009 6:11 AM
 

Did you alter the datatype of one of your columns to date/ date time/ time before?

Goto ManageUDT and switch these columns back to Text.

 
New Post
3/21/2009 12:25 PM
 

Thanks for the info.

 

Sebastian- I tried what you suggested but I get the same errors. Stefan- I think you're on to something. One of the contributers to the table tried adding a couple new columns and the errors seem to have started after that, even after I tried deleting those new columns.

 

I created a new UDT and it works fine, so it seems to only be an issue with the existing table. There's not a ton of data in it, so I guess I could create a new table and manually enter the data into if I had to - unless either of you have any more ideas.

 

Thanks,
Jeff

 
New Post
3/21/2009 1:11 PM
 

You may send me your export per mail, and I can look whether it is caused by a bug or not.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListGetting Multiple Errors When Trying To Edit UDT (User Defined Table)Getting Multiple Errors When Trying To Edit UDT (User Defined Table)


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