Hi all
I just recently installed DotNetNuke and i must say it is a wonderful project especially coming from a Java Back ground. I have a project that would employ the use of DotNetNuke, i have added my module to the DotNetNuke solution, i employed the use of code smith to autogenerate the necessary DataProvider,SqlDataProvider and the controller class. My questions go thus:
1) Is it a good idea to make use of code smith, as it autogenerates loads of stuff i usually dont make use.
2)If i am to develop a module that would make use of two tables and i am to autogenerate a controller class(using code smith), i realise that i can only do it for one table, and i figure out that only on table can be a controller
3) I got the following error while uploading my modules(I apologise cause it is long)
An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: Multiple controls with the same ID 'ctr368_DD' were found. FindControl requires that controls have unique IDs. ---> System.Web.HttpException: Multiple controls with the same ID 'ctr368_DD' were found. FindControl requires that controls have unique IDs. at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id) at DotNetNuke.UI.Skins.Skin.AddPageMessage(Skin objSkin, String Heading, String Message, ModuleMessageType objModuleMessageType) in C:\Inetpub\wwwroot\DNNSource\admin\Skins\Skin.vb:line 717 at DotNetNuke.UI.Skins.Skin.Page_Init(Object sender, EventArgs e) in C:\Inetpub\wwwroot\DNNSource\admin\Skins\Skin.vb:line 1096 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.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Framework.CDefault.Page_Init(Object sender, EventArgs e) in C:\Inetpub\wwwroot\DNNSource\Default.aspx.vb:line 524 at System.Web.UI.Control.OnInit(EventArgs e) at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) in C:\Inetpub\wwwroot\DNNSource\components\Shared\PageBase.vb:line 209 at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---
I dont really know how to trace the problem, it refers to duplicate components having the same key.
Any other way to help point me in the right direction will highly be appreciated. Thanks