Products

Solutions

Resources

Partners

Community

About

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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...GetListEntryInfoCollection ExceptionGetListEntryInfoCollection Exception
Previous
 
Next
New Post
10/23/2007 1:44 AM
 

 

Hi,

I am new to DotNetNuke (Using 4.01.01 - have been told by I have to use this version) and I am trying to get an existing site running on a test machine I am setting up. I keep getting the following error whenever the function: GetListEntryInfoCollection  is called in the code.

I tried to open the site settings by clicking on site under common settings and this is the error I get. It appears in the site settings section of the page and I tracked the error to likes like this: Dim colProcessor As Common.Lists.ListEntryInfoCollection = ctlList.GetListEntryInfoCollection("Processor")

 

Dim colList As Common.Lists.ListEntryInfoCollection = ctlList.GetListEntryInfoCollection("Currency")

As I am new to the framework I have no idea where to even start looking. I search google and have seen similar errors but I do not understand how the solutions provided can help me. Any help provided would be greatly appreciated.

Is there a settings file somewhere which needs this setup? Is this in the database? What does this function do? and what does the value passed into it do, eg. Processor and Currency?

Thanks in advance.

Error: Site Settings is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Parameter count does not match Parameter Value count. ---> System.ArgumentException: Parameter count does not match Parameter Value count. at Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues(SqlParameter[] commandParameters, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.GetListEntriesByListName(String ListName, String Value, String ParentKey) at DotNetNuke.Common.Lists.ListController.GetListEntryInfoCollection(String ListName, String Value, String ParentKey) at DotNetNuke.Common.Lists.ListController.GetListEntryInfoCollection(String ListName, String Value) at DotNetNuke.Common.Lists.ListController.GetListEntryInfoCollection(String ListName) at DotNetNuke.Modules.Admin.PortalManagement.SiteSettings.Page_Load(Object sender, EventArgs e) in C:\Development\Web\AcquisitionsDB\admin\Portal\SiteSettings.ascx.vb:line 316 --- End of inner exception stack trace ---

 

 
New Post
10/23/2007 8:46 PM
 

Please note I made a typo with the Version, I meant to say Version 4.04.01

 
New Post
10/23/2007 9:12 PM
 

I think it might be something to do with passing the wrong number of paramaters to a stored proc? Most likley the getList or getListEntries stored procs. I still have no idea how to fix it as a do not have the DNN code base installed and when I try to debug it it just throws the exceptions when it runs this line.

Dim colProcessor As Common.Lists.ListEntryInfoCollection = ctlList.GetListEntryInfoCollection("Processor")

I deleted these Stored Procedures and reimported them from a working site I have, I also tried reseting the permissions for the user. I looked in the database Lists table and I found where this data is coming from but I still can not work out why I am getting this error.

The error only seems to occur when I am logged in to the host account.

 
New Post
10/23/2007 9:25 PM
 

Sorry for replying to my own post so much, could the fact the database version is different to the dnn version cause a problem?

Current Assembly Version: 04.04.01

Current Database Version: 04.05.03

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...GetListEntryInfoCollection ExceptionGetListEntryInfoCollection Exception


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