HomeHome Product Discus... Product Discus...SmithCartSmithCartObj Ref Not Set error on prod details page after upgrading to 5.45Obj Ref Not Set error on prod details page after upgrading to 5.45
Previous
 
Next
New Post
4/8/2013 7:38 PM
 
I had a working cart (5.37) on a DNN 6.2 hosted at PowerDNN.  I upgraded smithcart to 5.45 and the product details page is giving a:
 
"Message: DotNetNuke.Services.Exceptions.ModuleLoadException: 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.ProductDetail.ProductMain.BindDetails() at Smith.DNN.Modules.ProductDetail.ProductMain.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Maybe another clue - I have checked the 'Hide add to cart' button but it still displays.
No other errors in any of the smith-cart pages.
Can anyone point me in the right direction?

Thanks
John
 
New Post
4/8/2013 7:58 PM
 
Hi John,

Try taking the following steps to resolve this issue:

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. Go to product listing page and see if your products are displayed.

Please postback if the above resolves the issue.

Thanks!
 
New Post
4/9/2013 5:02 AM
 
You're a genius - that fixed the issue. Thank you.
I had updated the product details template to hide the sku, I guess that is where the issue came from.

Thanks again,
John
 
New Post
4/15/2013 2:55 PM
 
Always glad to help!
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartObj Ref Not Set error on prod details page after upgrading to 5.45Obj Ref Not Set error on prod details page after upgrading to 5.45