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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreError When Editing a ProductError When Editing a Product
Previous
 
Next
New Post
1/7/2008 7:50 AM
 

Hi

I have aclean install of DNN 4.8 and have just set the store up. I added a product to a category and then saved it, and it displayed fine, however when I clicked edit on that product I get the following error displayed:

"A critical error has occurred.
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"

The Error Log contains the following details:

"AssemblyVersion: 04.08.00
PortalID: 0
PortalName: MYPORTALNAME
UserID: 1
UserName: MUSUPERUSER
ActiveTabID: 55
ActiveTabName: Portfolio
RawURL: /Portfolio/tabid/55/PageID/ProductAdmin/ProductID/2/PageIndex/0/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://MYDOMAIN/tabid/55/PageID/ProductAdmin/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ac139370-fe01-4213-ada3-0261b4854825
InnerException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Store.Components.StoreControlBase.OnLoad
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index ---> System.Exception: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at DotNetNuke.Modules.Store.Components.StoreControlBase.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: SERVERNAME"

Any help would be greatly appreciated. I am .NET Developer, but am new to DNN, so please forgive any simple oversights.

Cheers

Ian

 
New Post
1/7/2008 6:55 PM
 

Hi Ian,

Did you follow my advices from the chapter 3 (other chapters are about the source version only) of this post?

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
1/8/2008 7:15 AM
 

Hi Gilles

Many thanks for your quick reply. I removed what I had and started afresh with those steps and it worked. The only difference I notice is that I had the Store Admin on the same page as the Store Catalog / Store Menu / Store Mini Cart. I had the Store Admin module as only Admi users can use it and the rest as everyone can use them, perhaps my problem was that. Regardless, now I have seperated the Store Admin out to a serperate page it works.

Again, many thanks.

Ian

 
New Post
1/8/2008 1:31 PM
 

Hi Ian,

This is the most common error to place all modules on the same page!

I'm glad to help.

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
2/1/2008 10:48 AM
 

You rock,dude. exactly the problem. now I'm gonna put each module a page.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreError When Editing a ProductError When Editing a Product


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