HomeHome Product Discus... Product Discus...SmithCartSmithCartFeatured Products Not WorkingFeatured Products Not Working
Previous
 
Next
New Post
5/10/2010 12:44 PM
 

When I click on any product listed in the Featured Products list, it produces the following error message:

InnerException: Can't get TabId for given Portalid=29 and TabName=''
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.FeaturedProducts.FeaturedProducts.GetTabIdByTabName
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Can't get TabId for given Portalid=29 and TabName='' ---> System.ApplicationException: Can't get TabId for given Portalid=29 and TabName='' at Smith.DNN.Modules.FeaturedProducts.FeaturedProducts.GetTabIdByTabName(Int32 portalId, String tabName) at Smith.DNN.Modules.FeaturedProducts.FeaturedProducts.NavigateToOtherTabModuleViewControl(PortalModuleBase currentModuleInstance, String tabName, String moduleName, String controlKey) at Smith.DNN.Modules.FeaturedProducts.FeaturedProducts.btnImage_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Am I doing something wrong?

Also, if you check Hide Add to Cart, it doesn't (same as Hide Price).

Thanks, John

 
New Post
5/10/2010 2:18 PM
 

In version 2.85 of the cart we added the ability to place the featured products module on any page of the cart. In order to do this we had to add a new setting to the featured products module called "BuyNow Page Name" so the featured products module knows which instance of the buynow module to redirect to since you can have multiple instances of the buynow module on your site. To fix the error you are getting go to the featured products module and set the BuyNow Page Name property and it will work for you.

Here is an excerp from the users guide on the new setting:

BuyNow Page Name – If the featured products module is on the same page as the buynow module then you can leave this field blank. If you add the featured products module to pages without the buynow module then you must enter the page name that has the buynow module.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
5/10/2010 3:15 PM
 

Scott,

Thanks. I don't reread the manual with every release so I missed that change. I added the page name as you suggested and it works on the original page containing the Featured Products module. Unfortunately, I placed additional instances of that same module on every secondary page on the site. It works great on the original page containing the Feature Products module but it blows up on all of the instances of it. It displays the following error message when you click on any product in the Featured PRoducts module on all pages except the original one. It doesn't make any entries in the event log

Thanks a bunch, John

500 Server Error

An error occured during processing : if possible, check the event log of the server
Administrators : Obtain more information by changing to debug mode and switching custom errors off in the configuration.
Input string was not in a correct format.

 
New Post
5/10/2010 7:23 PM
 

John,

I setup a test portal with cart version 2.85 to try to replicate the error you report and was unable to replicate the error. Here is the link to the test portal http://www9.smith-consulting.com I added two pages "FeaturedProducts1" and "FeaturedProducts2" and added the feeatured products module to those pages. On both the featured products modules I configured settings for the "BuyNow Page Name" to "Home" where the main buynow module is located. Please email me at skelly@smith-consulting.com if you want me to send you a login so you can see the settings.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
5/10/2010 8:00 PM
Accepted Answer 

Scott,

After looking into it further, it looks like I still have to set up the module settings on every page even though they are instances of the same module. I'm guessing this is my problem. I will make these things and I suspect this will resolve the problem

Thanks for your help and patience!

John

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartFeatured Products Not WorkingFeatured Products Not Working