Hi, I've tried searching for this issue with no luck, but I'm getting the following issue when adding a forum to a group. I get the following error
ModuleControlSource: DesktopModules/Forum/Forum_ForumEdit.ascx
AssemblyVersion: 04.09.03
ActiveTabID: 26029
ActiveTabName: Forum
RawURL: /TravelTalk/Forum/tabid/26029/ctl/ForumEdit/mid/35555/groupid/17/language/en-GB/Default.aspx
AbsoluteURL: /Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: f34b84d8-d77e-4921-b284-01fbfd62cb8c
InnerException: Must specify valid information for parsing in the string.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Enum.Parse
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Must specify valid information for parsing in the string. ---> System.ArgumentException: Must specify valid information for parsing in the string. at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase) at DotNetNuke.Modules.Forum.ForumEdit.HandleForumBehavior() at DotNetNuke.Modules.Forum.ForumEdit.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
If someone can point me in the right direction, I've run the following script to fix the issue of editing the forum module which was originally created by crispy and then edited by another person as the script had errors.
DECLARE @ModuleDefID int
SELECT @ModuleDefID = ModuleDefID FROM {databaseOwner}{objectQualifier}ModuleDefinitions WHERE FriendlyName = 'Forum'
IF @ModuleDefID > 0
BEGIN
DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = @ModuleDefId
END
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ThreadStatus', '0', 'NoneSpecified', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ThreadStatus', '1', 'Unanswered', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ThreadStatus', '2', 'Answered', 0, 0, 3, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ThreadStatus', '3', 'Informative', 0, 0, 4, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('EmailFormat', '0', 'Text', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('EmailFormat', '1', 'HTML', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('GroupView', '0', 'AllExpanded', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('GroupView', '-1', 'AllCollapsed', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('GroupView', '1', 'AsLastViewed', 0, 0, 3, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumMemberName', '0', 'Username', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumMemberName', '1', 'DisplayName', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '0', 'Rate0', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '1', 'Rate1', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '2', 'Rate2', 0, 0, 3, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '3', 'Rate3', 0, 0, 4, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '4', 'Rate4', 0, 0, 5, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '5', 'Rate5', 0, 0, 6, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '6', 'Rate6', 0, 0, 7, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '7', 'Rate7', 0, 0, 8, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '8', 'Rate8', 0, 0, 9, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '9', 'Rate9', 0, 0, 10, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '10', 'Rate10', 0, 0, 11, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '0', 'Today', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '3', 'PastThreeDays', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '7', 'PastWeek', 0, 0, 3, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '14', 'PastTwoWeek', 0, 0, 4, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '30', 'PastMonth', 0, 0, 5, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '92', 'PastThreeMonth', 0, 0, 6, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '365', 'PastYear', 0, 0, 7, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '-1', 'LastVisit', 0, 0, 8, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '3650', 'AllDays', 0, 0, 9, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('DisplayPosterLocation', '0', 'None', 0, 0, 0, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('DisplayPosterLocation', '1', 'ToAdmin', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('DisplayPosterLocation', '2', 'ToAll', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumType', '0', 'Normal', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumType', '1', 'Notification', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumType', '2', 'Link', 0, 0, 3, @ModuleDefId)
GO
Thanks in advance