Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Forum Module [L...  Lists Error Fix - Advanced Hosts Only!
Previous Previous
 
Next Next
New Post 11/5/2007 12:27 AM
Informative
User is offline Crispy
3349 posts
www.apptheory.com
4th Ranked










Lists Error Fix - Advanced Hosts Only! 
Modified By Crispy  on 11/5/2007 4:27:44 AM)

 

If you are having errors that might be related to "Lists", which I would have probbably noted in a thread reply to you, then this should fix your issues. I know a few of the posts involved an error showing ratings or "BindMemberType" (or similar).

You will need to go to Host -> SQL and select "Run as script" and make sure there are several extra spaces at the end.

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

DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'ThreadStatus'

DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'Emailformat'

DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'GroupView'

DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'ForumMemberName'

DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'ForumThreadRate'

DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'TrackingDuration'

DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'DisplayPosterLocation'

DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'ForumType'


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', '2', 'Normal', 0, 0, 1, @ModuleDefId)

INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumType', '2', '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

 

 

 



 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Forum Module [L...  Lists Error Fix - Advanced Hosts Only!
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com
Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl
FREE Skins, Modules & Control Panel!
Choose how much you want to pay on our Skins, Modules, Containers and Control Panel - Starting from FREE!
www.dnngroup.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP