HomeHome Product Discus... Product Discus...SmithCartSmithCarterror in product detail page and in minicart moduleerror in product detail page and in minicart module
Previous
 
Next
New Post
9/29/2014 9:16 PM
 
recently bought 6.72 SC and upgraded from 6.52.
error in product detail page

Error: Smith.ProductDetail is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: The base class includes the field 'IbCheckout', but its type (Smith.Modules.Common.SmithButton) is not compatible with the type of control (System.Web.UI.WebControls.LinkButton). ---> System.Web.HttpParseException: The base class includes the field 'IbCheckout', but its type (Smith.Modules.Common.SmithButton) is not compatible with the type of control (System.Web.UI.WebControls.LinkButton). ---> System.Web.HttpParseException: The base class includes the field 'IbCheckout', but its type (Smith.Modules.Common.SmithButton) is not compatible with the type of control (System.Web.UI.WebControls.LinkButton). at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildFieldDeclaration(ControlBuilder builder) at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) at System.Web.Compilation.TemplateControlCodeDomTreeGenerator.BuildMiscClassMembers() at System.Web.Compilation.BaseCodeDomTreeGenerator.BuildSourceDataTree() at System.Web.Compilation.BaseCodeDomTreeGenerator.GetCodeDomTree(CodeDomProvider codeDomProvider, StringResourceBuilder stringResourceBuilder, VirtualPath virtualPath) at System.Web.Compilation.BaseTemplateBuildProvider.GenerateCode(AssemblyBuilder assemblyBuilder) at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) --- End of inner exception stack trace --- at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at Smith.DNN.Modules.ProductDetail.ProductDetails.e() at Smith.DNN.Modules.ProductDetail.ProductDetails.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

and error in logviewer

ModuleId:1551

ModuleDefId:208

FriendlyName:Smith.ProductDetail

ModuleControlSource:DesktopModules/Smith.ProductDetail/ProductDetails.ascx

AssemblyVersion:7.2.2

PortalID:6

PortalName:

UserID:1

UserName:host

ActiveTabID:401

ActiveTabName:ProductDetail

RawURL:/ProductDetail/tabid/401/ProductID/20/Default.aspx

AbsoluteURL:/Default.aspx

AbsoluteURLReferrer:http://bratclub.com.au/Shop

UserAgent:Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:ccbdd25e-6107-4e68-9bd9-05af17b8a1b3

InnerException:The base class includes the field 'IbCheckout', but its type (Smith.Modules.Common.SmithButton) is not compatible with the type of control (System.Web.UI.WebControls.LinkButton).

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildFieldDeclaration

StackTrace:

Message:

DotNetNuke.Services.Exceptions.ModuleLoadException: The base class includes the field 'IbCheckout', but its type (Smith.Modules.Common.SmithButton) is not compatible with the type of control (System.Web.UI.WebControls.LinkButton). ---> System.Web.HttpParseException: The base class includes the field 'IbCheckout', but its type (Smith.Modules.Common.SmithButton) is not compatible with the type of control (System.Web.UI.WebControls.LinkButton). ---> System.Web.HttpParseException: The base class includes the field 'IbCheckout', but its type (Smith.Modules.Common.SmithButton) is not compatible with the type of control (System.Web.UI.WebControls.LinkButton). at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildFieldDeclaration(ControlBuilder builder) at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) at System.Web.Compilation.TemplateControlCodeDomTreeGenerator.BuildMiscClassMembers() at System.Web.Compilation.BaseCodeDomTreeGenerator.BuildSourceDataTree() at System.Web.Compilation.BaseCodeDomTreeGenerator.GetCodeDomTree(CodeDomProvider codeDomProvider, StringResourceBuilder stringResourceBuilder, VirtualPath virtualPath) at System.Web.Compilation.BaseTemplateBuildProvider.GenerateCode(AssemblyBuilder assemblyBuilder) at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) --- End of inner exception stack trace --- at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at Smith.DNN.Modules.ProductDetail.ProductDetails.e() at Smith.DNN.Modules.ProductDetail.ProductDetails.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

mean while, could not check out, goes back to buy now page and minicart got a error

error shows in minicart
A critical error has occurred. Object reference not set to an instance of an object.

AssemblyVersion:7.2.2

PortalID:6

PortalName:

UserID:1

UserName:host

ActiveTabID:400

ActiveTabName:Shop

RawURL:/Shop/tabid/400/ctl/Cart/mid/1291/Default.aspx

AbsoluteURL:/Default.aspx

AbsoluteURLReferrer:http://bratclub.com.au/Shop/tabid/400/ctl/Cart/mid/1291/Default.aspx

UserAgent:Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:3d153f01-b5cd-43c7-96ea-843f4d56f5c7

InnerException:Object reference not set to an instance of an object.

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:Smith.DNN.Modules.BuyNow.Cart.a

StackTrace:

Message:

DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Smith.DNN.Modules.BuyNow.Cart.a(NameValueCollection A_0) at Smith.DNN.Modules.BuyNow.Cart.ac() at Smith.DNN.Modules.BuyNow.Cart.Checkout() at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
 Is it something to do with upgrading?
Please help
 
New Post
9/30/2014 5:28 PM
 
Hi Wayne,

Sounds like a Page Template issue. Please see the "Upgrade Notes" forum thread at the following link for a possible solution: Upgrade Notes
 
New Post
9/30/2014 5:52 PM
 
Hi Kevin,

Thank you for your reply.
I don't think it is the template issue. as I can see all product list, I just can't click through and view the product detail.

In addition, I added the SC module to another portal of my DNN instance to do a test. 
I did not add any SC module on that portal before.

good news is the I can see the product detail. Yeah
but I still get errors when trying to check out.
for that new portal,I repair installed the module(6.72), went through the wizard, and selected the simplest settings, Credit Card only, free shipping, no tax.

Still have the same error msg just above the buy now module.
A critical error has occurred.Object reference not set to an instance of an object.

error in the event log:

AssemblyVersion:7.2.2

PortalID:5

PortalName:TrimWithTim

UserID:1

UserName:host

ActiveTabID:357

ActiveTabName:shop

RawURL:/shop/tabid/357/ctl/Cart/mid/1552/Default.aspx

AbsoluteURL:/Default.aspx

AbsoluteURLReferrer:http://trimwithtim.com/shop/tabid/357/ctl/Cart/mid/1552/Default.aspx

UserAgent:Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:52117cf3-da62-4267-aa9b-26f2e18c08f1

InnerException:Object reference not set to an instance of an object.

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:Smith.DNN.Modules.BuyNow.Cart.a

StackTrace:

Message:

DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Smith.DNN.Modules.BuyNow.Cart.a(NameValueCollection A_0) at Smith.DNN.Modules.BuyNow.Cart.ac() at Smith.DNN.Modules.BuyNow.Cart.Checkout() at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 

Source:


Do you have any idea why it doesn't work?

Thanks

Wayne
 
New Post
9/30/2014 6:38 PM
 
Please take the following steps:

1. From the store admin menu, click on the page template button to go into the page template editor and delete all your page templates.

2. In file explorer, navigate to your \portals\[portalid]\smithcart\tenplates folder

3. Delete all the files in the \portals\[portalid]\smithcart\templates folder

4. Reset iis and restart the application from the dnn host menu

5. Check for the error
 
New Post
9/30/2014 6:39 PM
 
Hi Kevin,

I did what's told in the Upgrade Note.
Thanks to you, I can view the product detail now.

However, products are not in the place they should be .
only the first product is in the smith.buynow module, all the rest are on the top left of the page our side the module.
Could you please tell me why this is happening can how can I put the products back to the list.

Still cannot check out.

Wayne
 
New Post
10/1/2014 12:12 AM
 
Try clearing your cache, resetting iis and restart the application from the dnn host menu.
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCarterror in product detail page and in minicart moduleerror in product detail page and in minicart module