HomeHome Product Discus... Product Discus...SmithCartSmithCartError Upgrading from 5.65 to 5.68Error Upgrading from 5.65 to 5.68
Previous
 
Next
New Post
11/9/2013 8:43 AM
 
DNN 7.0.6 Upgrading Smith Cart from 5.65 to 5.68. I have an existing maintenance license.
the only changes I made to the 5.65 install was styling changes.

Installation Wizard Upgrade message states successful install
Loading the page containing the BuyNow module throws an error
----A critical error has occurred. Object reference not set to an instance of an object.----

BuyNow Module page has no admin menu. Using the module settings button I can get to the Smith Cart Settings page. All settings appear to be correct. There is a new required page titled Vendor Page. I added a vendor page to the site and added the vendor module. Received a notification to purchase a license. Should this happen since I have a maintenance agreement? New license won't help since I can not get to the SC Admin menu.

I deleted the templates from the portals/0/smithcart/templates folder and tried a repair install. Received the same error.

The event viewer error message follows: any recommendations would be appreciated.
Event viewer error message:

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

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: Smith.DNN.Modules.BuyNow.ProductsList.dtProductslist_ItemDataBound

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.ProductsList.dtProductslist_ItemDataBound(Object sender, DataListItemEventArgs e) at System.Web.UI.WebControls.DataList.OnItemDataBound(DataListItemEventArgs e) at System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.BaseDataList.DataBind() at Smith.DNN.Modules.BuyNow.ProductsList.bindDtProductList(String mySearchVID) at Smith.DNN.Modules.BuyNow.ProductsList.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at Smith.DNN.Modules.BuyNow.StoreModuleBase.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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 
New Post
11/9/2013 10:13 PM
 
Update: On a test portal I did a complete uninstall and a fresh install of 5.68. 
While developing the cart setup, after completing the basic setup and adding a manufacture, category, product, tax, shipping the buy now page looked good but the Product Detail page threw the following error.


Error: Smith.ProductDetail is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: c:\inetpub\wwwroot\Aesdnn\DesktopModules\Smith.ProductDetail\ProductMain.ascx(649): error CS1061: 'ASP.desktopmodules_smith_productdetail_productmain_ascx' does not contain a definition for 'ibLogin_Click' and no extension method 'ibLogin_Click' accepting a first argument of type 'ASP.desktopmodules_smith_productdetail_productmain_ascx' could be found (are you missing a using directive or an assembly reference?) ---> System.Web.HttpCompileException: c:\inetpub\wwwroot\Aesdnn\DesktopModules\Smith.ProductDetail\ProductMain.ascx(649): error CS1061: 'ASP.desktopmodules_smith_productdetail_productmain_ascx' does not contain a definition for 'ibLogin_Click' and no extension method 'ibLogin_Click' accepting a first argument of type 'ASP.desktopmodules_smith_productdetail_productmain_ascx' could be found (are you missing a using directive or an assembly reference?) 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 ---



 
New Post
11/11/2013 6:56 AM
 
i have encountered an additional issues on the product listing page. If I use more than two tabs in the description section the listing page throws an error. This was repeated on a test portal using my skin plus the gravity skin. it also occurred on my live site. I did a clean install on the live site and the error was repeatable. I also received the error described above on the product detail page.
 
New Post
11/11/2013 5:05 PM
 
Hi Rick,

To fix the error after the upgrade you will need to make sure the Page Templates have been deleted from your server before recreating them.

Take 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. Check for the error.

Hope this helps!
 
New Post
11/11/2013 5:22 PM
 
Kevin, As you will note in my first posting I deleted the templates. I did a completed clean install, deleted all modules, deleted all database tables and stored procedures, deleted all folders from the Desktop Modules, deleted the templates from the portal/o/ directory, cleared the cache and restarted the application. Then installed the smith cart module. I did this on two systems, twice on one of them. the failures persist.
 
New Post
11/11/2013 5:30 PM
 
Hi Rick,

Sounds like the installation package you downloaded may have somehow been corrupted in the file download. I recommend re-downloading the latest package from the SmithCart Downloads page and trying a repair install.

Hope this helps!
 
New Post
11/11/2013 5:40 PM
 
Okay, I will try that.
 
New Post
11/11/2013 5:49 PM
 
Thanks Rick, let us know how it goes.
 
New Post
11/13/2013 7:07 PM
 
Issue Resolved! Thanks for your assistance Kevin
 
New Post
11/14/2013 2:57 PM
 
Thanks for confirming Rick, always happy to help!
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartError Upgrading from 5.65 to 5.68Error Upgrading from 5.65 to 5.68