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 ForumsHelpHelpError in DNN 5.4.4 - Please assign a category module using module settingsError in DNN 5.4.4 - Please assign a category module using module settings
Previous
 
Next
New Post
7/3/2010 5:25 PM
 
I have a site running in DNN 5.4.4 which was upgraded from 5.4.3.
I have had the Help Module installed since I first created the portal,but have only now placed it on a page.

I am getting a message that states "Please assign a category module using module settings."
I CANNOT add a tutorial because no category can be assigned. There are none that show in the display of categories in the "add" interface.
I can successfully create a new category in the Category Module, but it does not display in the Help Module when I try to add a tutorial.

When I add the module on the page, two modules are created - Help and Category.

I have checked the Help Module > Settings > Categories and the list is blank even after creating several categories in the Category Module.

I did try to uninstall this extension (and deleted the files) and then re-installed. No errors were shown on either the initial or subsequent installs.


Every time I try to access the module a General Exception is logged in the Event Viewer.
Here are the important details from the Event Viewer:




UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 8849e93b-f3b4-4feb-ab99-ecede58b8666
InnerException: Content
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.ProviderBase.FieldNameLookup.GetOrdinal
StackTrace:
Message: System.IndexOutOfRangeException: Content at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) at System.Data.SqlClient.SqlDataReader.get_Item(String name) at DotNetNuke.Entities.Content.ContentItem.FillInternal(IDataReader dr) at DotNetNuke.Entities.Modules.ModuleInfo.Fill(IDataReader dr) at DotNetNuke.Common.Utilities.CBO.FillObjectFromReader(Object objObject, IDataReader dr)




Has anyone else experienced this behavior in DNN 5.4.4?
Has anyone solved this?
Can you provide a solution?


I have been using the Help Module for over a year on several other installs of DNN up to version 5.1.4 and they work fine.

Here are the details of my current install:
DNN 5.4.4 (upgraded from 5.4.3)
SQL Server 2008
ASP Net 4.0
Shared/hosted environment
I am using the "latest" version of the help module 3.0.2

thanks for any help you can provide.
 
New Post
7/14/2010 6:21 AM
 
I have exactly the same problem. On a 5.4.4 I'm unable to use the help module. On another 5.2.3 test environment i have no problems.

The list in the Help module > Setting > Categories is just emty even if the module is right below it and some catergories are defined. When trying to add a tutorial the list of categories is not visible.

Besides the error mentioned by the previous poster i get a additional event log:

UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 1f22670f-d2ee-401e-bba7-6ccd81d1f715
InnerException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_ModuleSettings_Modules". The conflict occurred in database "Intranetdb", table "dbo.Modules", column 'ModuleID'. The statement has been terminated.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.SqlClient.SqlConnection.OnError
StackTrace:
Message: System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_ModuleSettings_Modules". The conflict occurred in database "Intranetdb", table "dbo.Modules", column 'ModuleID'. The statement has been terminated. 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.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.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.AddModuleSetting(Int32 ModuleId, String SettingName, String SettingValue, Int32 createdByUserID) at DotNetNuke.Entities.Modules.ModuleController.UpdateModuleSetting(Int32 ModuleId, String SettingName, String SettingValue)

Thanks for any help!
 
New Post
7/16/2010 4:34 PM
 
Did anyone get an answer to this? I have exactly the same problem.
 
New Post
7/28/2010 9:34 AM
 
Regarding the exception from the OP, it looks like the first error is generated because of some missing fields not being returned by the Help_GetCategoryModules SP.

I ran the following to fix this, but make sure you take a backup of the original first:

ALTER procedure [dbo].[Help_GetCategoryModules]
@TabId int
AS
SELECT    
    *
FROM         
dbo.ModuleDefinitions AS MD INNER JOIN
dbo.Modules AS M ON MD.ModuleDefID = M.ModuleDefID INNER JOIN
dbo.ContentItems AS CI ON M.ContentItemID = CI.ContentItemID LEFT OUTER JOIN
dbo.TabModules AS TM ON M.ModuleID = TM.ModuleID
       
WHERE     
    (MD.FriendlyName = N'Category') AND
    (TM.TabID = @TabId)
    and M.IsDeleted=0
order by
    TM.TabID

Steve White
 
New Post
7/28/2010 9:42 AM
 
Once I ran that update, the categories also magically appeared in the Add Tutorial screen.

Steve White
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsHelpHelpError in DNN 5.4.4 - Please assign a category module using module settingsError in DNN 5.4.4 - Please assign a category module using module settings


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