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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...No portal alias found?No portal alias found?
Previous
 
Next
New Post
10/26/2006 11:13 AM
 

I'm having a problem with the GetPortalAliasArrayByPortalID API call. Apparently it is returning nothing for my portal ID, however I have two aliases defined.

This call is being made by the Portal Store module 6.59 on my DNN 3.2.2 installation. I have the basic store configuration done, and created a catalog and product. I have two portal aliases, www.goldenjoysticks.com and goldenjoysticks.com. I don't think it matters, but I also have Catalook installed and used on a different page on this site. I have a total of 4 parent portals on my installation and no children portals.

When I try to view the catalog in the main store module, the module errors with this error:

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

And I get this error in the log (followed by Richard Cox's (Portal Store) response) :

AssemblyVersion: 03.02.02
Method: System.Collections.ArrayList.get_Item
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 5
PortalName: Golden Joysticks
UserID: 1
UserName: host
ActiveTabID: 279
ActiveTabName: Portal Store
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.goldenjoysticks.com/PortalStore/tabid/279/ctl/Edit/mid/720/Default.aspx
ExceptionGUID: 26d0de04-b041-4f37-b0a4-3cf0bdbfe549
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
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.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.Collections.ArrayList.get_Item(Int32 index) at ByDesign.BDPDT.Portals.DNN32.GetPortalInfo(Int32 portalid) at ByDesign.PortalStore.UIFunctions.DashboardContentUpdate(Int32 currenttabid, Int32 portalid, Int32 userid, String FeaturedTemplate, String TopTemplate, String FormatText, StoreDetails Store, Catalog catalog, Int32 selectedcurrency, HttpContext currContext, String RootPath) at ByDesign.PortalStore.ProductObjects.ProductListIntroText.InitControl() at ByDesign.PortalStore.MainProductList.InitControls(Boolean nomenu) at ByDesign.PortalStore.MainProductList.Page_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.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.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: ARA
 

Richard Cox:
well, something odd with your DNN config and here's the reason why:
GetPortalAliasArrayByPortalID(portalid) is returning no values for your portal.
which is an impossibility - and yes, that's a DNN API call

What else should I look for? I really don't want to remove the Catalook installation because it is a beast to configure and I do have it working.

Thanks in advance.
Jereme

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...No portal alias found?No portal alias found?


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