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...When trying to add module --> Invalid column name When trying to add module --> Invalid column name 'ModuleTitle'.
Previous
 
Next
New Post
8/20/2010 6:36 AM
 
Thanks for teh reply.

I have the following log files in the dir: http://www.sappy.nl/log.jpg . Al are empty log or log.resources files are empty.
 
New Post
8/20/2010 1:47 PM
 
Solved. I added the column 'ModuleTitle' in de table.modules in the SQL database.
 
New Post
8/20/2010 3:56 PM
 
Frank, I am getting that error as well. I upgraded from 5.4.4 to 5.5.

DotNetNuke.Services.Exceptions.ModuleLoadException: Invalid column name 'ModuleTitle'. Invalid column name 'ModuleTitle'. ---> System.Data.SqlClient.SqlException: Invalid column name 'ModuleTitle'. Invalid column name 'ModuleTitle'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.AddModule(Int32 ContentItemID, Int32 PortalID, Int32 ModuleDefID, Boolean AllTabs, DateTime StartDate, DateTime EndDate, Boolean InheritViewPermissions, Boolean IsDeleted, Int32 createdByUserID) at DotNetNuke.Entities.Modules.ModuleController.AddModuleInternal(ModuleInfo objModule) at DotNetNuke.Entities.Modules.ModuleController.AddModule(ModuleInfo objModule) at DotNetNuke.UI.ControlPanels.ControlPanelBase.AddNewModule(String title, Int32 desktopModuleId, String paneName, Int32 position, ViewPermissionType permissionType, String align) at DotNetNuke.UI.ControlPanels.IconBar.AddModule_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---


How do you add the column "ModuleTitle" in the db? Can you please please give me the steps. Thanks
 
New Post
8/21/2010 12:45 AM
 
The providers script for 5.5.0 (\DotNetNuke_Community_05.05.00_Upgrade\Providers\DataProviders\SqlDataProvider\05.05.00.SqlDataProvider) drops the "ModuleTitle" field from the Modules table.  This seems to be the reason the Events module is broken.  Not sure who made that call or why it wasn't tested.  Adding that field back to the table does indeed fix the Events module.  You can use a SQL statement like this from the Host menu SQL module 
   ALTER TABLE dbo.Modules ADD ModuleTitle nvarchar(254) NULL

Note that you need to change the "dbo." to whatever schema your tables are in, but this is probably the most common default schema.  This makes the missing column nullable and since it won't have any values it must be so.  There is a new Events module, version 5.1.4, that appears to be newer than what I have on my sites, so I will try that as well, but the version I have is 5.0.3 and it is broken when the ModuleTitle field is gone, works with it there.  If upgrading to the newer version is required to work with DNN 5.5, it would be nice to know up front.  'Nuf said.

Gene W
 
New Post
8/21/2010 1:14 AM
 
Gene,

This blog talks about it

http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2750/Do-not-forget-to-update-Events-to-version-5-1-4-if-you-are-upgrading-to-DNN-5-5.aspx



Robert Harriman
WEBMAZING.NET
AutoWebSuite / BrokerWebSuite

DNN Modules for Auto Dealers and Real Estate Professionals.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...When trying to add module --> Invalid column name When trying to add module --> Invalid column name 'ModuleTitle'.


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