You are here Support Forums
Search:  
"Error loading module" DNN 2.0.4
Last Post 16 Nov 2005 10:20 AM by Martyn Croft. 5 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev
You are not authorized to post a reply.
Author Messages
Martyn Croft
New Member
New Member
Posts:2

--
16 Nov 2005 10:20 AM  
Hi,

I just purchased Module Rotator and am having a slight problem after installation.

The installation went smoothly with no errors.

I then tried to put an instance of the module on a page

only to receive this error:
Error loading module
DotNetNuke.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.Data.SqlClient.SqlException: Invalid object name 'dbo.DNNStuff_ModuleRotator_ModuleRotator'. at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DNNStuff.ModuleRotator.SqlDataProvider.DNNStuff_ModuleRotator_GetModuleRotator(Int32 ModuleId) at DNNStuff.ModuleRotator.ModuleRotator.RenderModules() at DNNStuff.ModuleRotator.ModuleRotator.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.Skin.InjectModule(Control objPane, ModuleSettings ModuleSettings, PortalSettings PortalSettings) --- End of inner exception stack trace ---

I'm a newb at the DNN code aspect so I can't really figure out whats going on and don't have much time honestly.  I would greatly apprectiate any advice or solutions.

Thanks in advance,
Jay Murphy
Richard Edwards
DNNStuff Founder
Veteran Member
Veteran Member
Posts:1149
Avatar

--
16 Nov 2005 11:03 AM  

Hi Jay,

I am in contact with Jody from your site and will work this problem through with email.

I have just retested the install and functionality on fresh installs of DNN 2.0.4 and DNN 2.1.2 without any issues so I'm not sure what the problem is at this point.

It looks like the DNNStuff_ModuleRotator_ModuleRotator table is missing from the database.

Richard



Richard Edwards
DNNStuff Founder
Did you receive excellent support? Consider leaving a testimonial
Martyn Croft
New Member
New Member
Posts:2

--
20 Nov 2005 12:37 PM  
Thanks for all your help!

We got it working now and are working on figuring out the setup for the module(s)

Thanks again
JEff Kook
New Member
New Member
Posts:2

--
09 Dec 2005 08:37 AM  
Richard, I just purchased your Module Rotator for DNN. I too ran into the above error. I am testing in localhost for DNN V3.1.1. I also had purchased the Aggregator earlier and this module was installed at my site. What I found was a reference in the 03.00.00SQLPROVIDER to the Aggregator table instead of the ModuleRotator of: if not exists (select * from dbo.sysobjects where id = object_id(N'{databaseOwner}{objectQualifier}DNNStuff_Aggregator_Aggregator') and OBJECTPROPERTY(id, N'IsUserTable') = 1) Should be: if not exists (select * from dbo.sysobjects where id = object_id(N'{databaseOwner}{objectQualifier}DNNStuff_ModuleRotator_ModuleRotator') and OBJECTPROPERTY(id, N'IsUserTable') = 1) Since I had the Aggregator installed, the ModuleRotator tables and procedures were not created, hence the error condition when module was used on a page. Once this line was modified, the module uninstalled and re-install everything worked as advertised. Both modules are very useful and plan on using both once I go live. Thanks, Steve Diehl
Richard Edwards
DNNStuff Founder
Veteran Member
Veteran Member
Posts:1149
Avatar

--
09 Dec 2005 08:53 AM  
Thanks Steve, I had just worked through that same problem last night with another customer and posted an update to SnowCovered. Darn copy and paste :(


Richard Edwards
DNNStuff Founder
Did you receive excellent support? Consider leaving a testimonial
JEff Kook
New Member
New Member
Posts:2

--
09 Dec 2005 12:33 PM  
I make liberal use of copy/paste myself, been known to make similar mistakes. Earlier post on this issue pointed me in the right direction. Thanks, Steve
You are not authorized to post a reply.

Active Forums 4.1
Privacy StatementTerms Of UseCopyright (c) 2004-2012 DNNStuff