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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Store Procedure error in 5.5.1Store Procedure error in 5.5.1
Previous
 
Next
New Post
4/14/2011 2:00 PM
 
Hi

I have a 5.5.1 site which is throwing an exception when I attempt to add a module to a page. The error is thrown during the invocation of the AddModule stored proc, and indicates that ModuleTitle column referred to in the proc, is not valid.

When I look at the code in the proc, and the Modules table, there appears to be a mismatch. The proc has refers to the field, but it doesn´t exist in the table. However, if I look at the DotNetNuke.Schema.SqlDataProvider file in the Install and Upgrade packages for 5.5.1, the table schema includes the ModuleTitle column. Looking at the upgrade script for 5.5.0, on the other hand, the table schema has been changed and the ModuleTitle column removed.

This seems to indicate a bug in the SqlProvider scripts around this time. However, I would expect this to have affected many people, but I haven´t been able to find any information on this particular error Googling for it. The obvious solution would be to update the site to the latest version, but as I haven't found any other reports of this, I am wondering if my conclusion is correct.

Can anyone cast any light on this please? Is upgrading the solution?


Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
New Post
4/14/2011 10:28 PM
 
I ran into a problem like this the other day. It turned out to be a 'url re-write' module that was having problems. We ended up uninstalling the module and it fixed the problem. It ran fine up to version 5.5.1.

Carole Martin www.LeFeyHosting.com
 
New Post
4/17/2011 6:31 AM
 
Thanks for the reply, Carole. I do have the Ifinity Url Master module installed on the site, but I AFAIK, it does not alter the stored procedure in question. Which module did you have trouble with?


Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
New Post
4/17/2011 6:35 AM
 
I have successfully upgraded the site to 5.6.1, but the problem continues to occur. Have pasted the error message below (roughly translated from Spanish in the relevant places).

An error has occurred.
DotNetNuke.Services.Exceptions.ModuleLoadException: The column name 'ModuleTitle' is not valid. The column name 'ModuleTitle' is not valid. ---> System.Data.SqlClient.SqlException: The column name 'ModuleTitle' is not valid. The column name 'ModuleTitle' is not valid. in System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection) in System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection) in System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) en System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) en System.Data.SqlClient.SqlDataReader.ConsumeMetaData() en System.Data.SqlClient.SqlDataReader.get_MetaData() en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) en System.Data.SqlClient.SqlCommand.ExecuteScalar() en Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) en Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) en Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, String spName, Object[] parameterValues) en DotNetNuke.Data.SqlDataProvider.AddModule(Int32 ContentItemID, Int32 PortalID, Int32 ModuleDefID, Boolean AllTabs, DateTime StartDate, DateTime EndDate, Boolean InheritViewPermissions, Boolean IsDeleted, Int32 createdByUserID) en DotNetNuke.Entities.Modules.ModuleController.AddModuleInternal(ModuleInfo objModule) en DotNetNuke.Entities.Modules.ModuleController.AddModule(ModuleInfo objModule) en DotNetNuke.UI.ControlPanels.ControlPanelBase.AddNewModule(String title, Int32 desktopModuleId, String paneName, Int32 position, ViewPermissionType permissionType, String align) en DotNetNuke.UI.ControlPanels.IconBar.AddModule_Click(Object sender, EventArgs e) --- Fin del seguimiento de la pila de la excepción interna ---


Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
New Post
4/17/2011 6:58 AM
 
I have gone back through the upgrade logs until v5.4.2, and there are no problems indicated. It also turns out that looking at the upgrade scripts was a red herring, apologies: I have checked the actual stored proc code on the server using sp_helptext 'AddModule', and it shows that in fact, that stored proc does not reference the ModuleTitle column. There are no triggers on the Modules table, so I guess the reference to this column is in another, non-database component.

Anyone have any ideas where to look, please?


Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Store Procedure error in 5.5.1Store Procedure error in 5.5.1


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