HomeHome Product Discus... Product Discus...SmithCartSmithCartUpgrade to 4.99Upgrade to 4.99
Previous
 
Next
New Post
5/9/2012 10:24 AM
 

DNN 6.1.5
Microsoft SQL Server 2005 - 9.00.3042.00
Smith Cart 4.99

 

I just upgraded my cart from version 4.93 to 4.99 and it seems to have broken it. When I navigate to my page with the buy now module, I get this error:

A critical error has occurred. Object reference not set to an instance of an object.
 
The dnn event viewer gives me this page load exception:
 

AssemblyVersion: 6.1.5

PortalID: 0

PortalName: My Website

UserID: 1

UserName: host

ActiveTabID: 84

ActiveTabName: Buy Now

RawURL: /BuyNow.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://thermal-edge-dnn.dev.com/OurServices.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: e74738b6-5575-4989-a973-9dda46f5aec3

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

FileName:

FileLineNumber: 0

FileColumnNumber: 0

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

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_ItemCreated(Object sender, DataListItemEventArgs e) at System.Web.UI.WebControls.DataList.OnItemCreated(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() 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 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 ---

Source:

Server Name: DevWeb1

 

 

I ent ahead and completely unistalled smith cart and then reinstalled the latest version. After I set everything back up, I get the same error.

 
 
New Post
5/9/2012 10:30 AM
 
Nevermind, I just found out about the page templates.
 
New Post
5/9/2012 3:04 PM
 
Collin Kemble wrote:
Nevermind, I just found out about the page templates.

It would be good if this particular null reference was caught and the message shown said something like "have you checked out page templates for version 4.99 and above?". At least that would save poor Colin from having a heart attack.

 
New Post
5/9/2012 9:59 PM
 

Hi Daniel,

That's a great suggestion, however if I understand correctly, the issue is not that there is a null caused from the Page Templates being saved, it's that the Product Listing page has been totally redesigned and possibly there are old stored procs cached and/or dlls stuck in the GAC as we have tested upgrades from many previous versions and unfortunatly cannot replicate the issue on our end. The simplest solution is saving the Page Templates which initiates your site to use the templates instead of looking for the previous Product Listing page. 

Thanks for your feedback!

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartUpgrade to 4.99Upgrade to 4.99