HomeHome Product Discus... Product Discus...SmithCartSmithCartMiniCart errorMiniCart error
Previous
 
Next
New Post
6/1/2010 3:42 PM
 

Hi,

I have two pages which have the MiniCart on which generate an error when clicked. The only thing different on these pages (from the other dozen or so where I have a MiniCart) is that they dont have a BuyNow module on.

Thanks,

Jeff

Input string was not in a correct format.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Input string was not in a correct format.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +7471335
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119
   DotNetNuke.Common.Globals.IsAdminSkin() +263
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 tabID, PortalInfo portal) +1212
   DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabID, PortalAliasInfo objPortalAliasInfo) +99
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2969
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

 
New Post
6/1/2010 3:48 PM
 

If the mini cart module is on the same page as the buynow module then no additional configuration is required. If you add the mini cart to a page that does not have the buynow module on it then you must add the following line in your web.config:

<add key="MiniCartSetting" value="Home"/>

Replace “Home” with the page name that has the buynow module. The page name property can be found in the page settings.

This is also documented on page 133 of the users guide http://www.smith-consulting.com/Porta...


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartMiniCart errorMiniCart error