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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...GetListGetList' doesn't exist
Previous
 
Next
New Post
2/21/2006 2:08 PM
 

Hello when i click Host/lists i get this exception.

I have Reinstaled  DNN 4.002 but the same exception

Error: Lists is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The stored procedure 'dbo.GetList' doesn't exist. ---> System.InvalidOperationException: The stored procedure 'dbo.GetList' doesn't exist. at System.Data.SqlClient.SqlCommand.DeriveParameters() at System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.GetList(String ListName, String ParentKey, Int32 DefinitionID) at DotNetNuke.Common.Lists.ListController.GetListInfoCollection(String ListName, String ParentKey, Int32 DefinitionID) at DotNetNuke.Common.Lists.ListController.GetListInfoCollection() at DotNetNuke.Common.Lists.ListEditor.BindTree() in E:\VB\web\DotNetNuke\Admin\Lists\ListEditor.ascx.vb:line 457 at DotNetNuke.Common.Lists.ListEditor.Page_Load(Object sender, EventArgs e) in E:\VB\web\DotNetNuke\Admin\Lists\ListEditor.ascx.vb:line 78 --- End of inner exception stack trace ---

 
New Post
2/22/2006 4:13 PM
 

I dont know why getlist doesnt exist.

i resolved the problem by execute this sql script.

In the orginal script are errors !??

Original:

Order By E.[Level], e.[Displayname] error !

changed:

 Order By E.[Level], e.[ListName] ok!

CREATE procedure GetList
 @ListName nvarchar(50),
 @ParentKey nvarchar(150),
 @DefinitionID int
AS

If @ParentKey = ''
Begin
 Select DISTINCT  
 E.[ListName],
 E.[Level], 
 E.[DefinitionID],
 E.[ParentID], 
 (SELECT MAX([SortOrder]) FROM Lists WHERE [ListName] = E.[ListName]) As [MaxSortOrder],
 (SELECT COUNT(EntryID) FROM Lists WHERE [ListName] = E.[ListName] AND ParentID = E.[ParentID]) As EntryCount,
 IsNull((SELECT [ListName] + '.' + [Value] + ':' FROM Lists WHERE [EntryID] = E.[ParentID]), '') + E.[ListName] As [Key], 
 IsNull((SELECT [ListName] + '.' + [Text] + ':' FROM Lists WHERE [EntryID] = E.[ParentID]), '') + E.[ListName] As [DisplayName],
 IsNull((SELECT [ListName] + '.' + [Value] FROM Lists WHERE [EntryID] = E.[ParentID]), '') As [ParentKey],
 IsNull((SELECT [ListName] + '.' + [Text] FROM Lists WHERE [EntryID] = E.[ParentID]), '') As [Parent],
 IsNull((SELECT [ListName] FROM Lists WHERE [EntryID] = E.[ParentID]),'') As [ParentList]
 From Lists E (nolock)
 where  ([ListName] = @ListName or @ListName='')
 and (DefinitionID = @DefinitionID or @DefinitionID = -1)
 Order By E.[Level], e.[ListName]
End
Else
Begin

 DECLARE @ParentListName nvarchar(50)
 DECLARE @ParentValue nvarchar(100)
 SET @ParentListName = LEFT(@ParentKey, CHARINDEX( '.', @ParentKey) - 1)
 SET @ParentValue = RIGHT(@ParentKey, LEN(@ParentKey) -  CHARINDEX( '.', @ParentKey))
 Select DISTINCT  
 E.[ListName],
 E.[Level], 
 E.[DefinitionID],
 E.[ParentID], 
 (SELECT MAX([SortOrder]) FROM Lists WHERE [ListName] = E.[ListName]) As [MaxSortOrder],
 (SELECT COUNT(EntryID) FROM Lists WHERE [ListName] = E.[ListName] AND ParentID = E.[ParentID]) As EntryCount,
 IsNull((SELECT [ListName] + '.' + [Value] + ':' FROM Lists WHERE [EntryID] = E.[ParentID]), '') + E.[ListName] As [Key], 
 IsNull((SELECT [ListName] + '.' + [Text] + ':' FROM Lists WHERE [EntryID] = E.[ParentID]), '') + E.[ListName] As [DisplayName],
 IsNull((SELECT [ListName] + '.' + [Value] FROM Lists WHERE [EntryID] = E.[ParentID]), '') As [ParentKey],
 IsNull((SELECT [ListName] + '.' + [Text] FROM Lists WHERE [EntryID] = E.[ParentID]), '') As [Parent],
 IsNull((SELECT [ListName] FROM Lists WHERE [EntryID] = E.[ParentID]),'') As [ParentList]
 
 From Lists E (nolock)
 where  [ListName] = @ListName And
 [ParentID] = (SELECT [EntryID] From Lists Where [ListName] = @ParentListName And [Value] = @ParentValue) 
 Order By E.[Level], e.[ListName]

End

I user SQL2005 Express, after DNN install ther is no Getlist.

By using SQL2000 there is GetList.

is there a BUG?

thx

 

 

 

 
New Post
2/24/2006 10:40 AM
 
I reported this on DNN Issue Tracker a while back.
That should be fixed in the next releases. At least I hope.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...GetListGetList' doesn't exist


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