I have installed the cart software (I have been through this more than 1 time before) – I have installed the license file no issues at all…
	I go to add a product detail module to child page below the Smith.Cart Buy.Now page and I get the following error:
	 
	
		
			| 
					 | 
					A critical error has occurred.Object reference not set to an instance of an object
 | 
		
			| 
					  | 
					  | 
	
	This particular store will not have any gateway as they only bill later and take phone payment, however no emails come through. This has been an ongoing issue with me on my sites.
	I have DNN 5.6.3 and the latest version of the cart (4.42)
	Here a few event logs from when I try to reach the page by clicking on an item that has variants:
	AssemblyVersion: 5.6.3
	PortalID: 1
	UserID: 144
	ActiveTabID: 286
	ActiveTabName: OUPS Product Details
	RawURL: /Home/PromotionalCatalog/OUPSPromotionalCatalog/OUPSProductDetails.aspx
	AbsoluteURL: /Default.aspx
	AbsoluteURLReferrer: http://oups.org/Home/PromotionalCatal...
	UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; BO1IE8_v1;ENUS)
	DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
	ExceptionGUID: 5daef2a9-fab6-4510-84ea-89b5767b3327
	InnerException: Object cannot be cast from DBNull to other types.
	FileName:
	FileLineNumber: 0
	FileColumnNumber: 0
	Method: System.DBNull.System.IConvertible.ToBoolean
	StackTrace:
	Message: System.InvalidCastException: Object cannot be cast from DBNull to other types. at System.DBNull.System.IConvertible.ToBoolean(IFormatProvider provider) at System.Convert.ToBoolean(Object value) at Smith.DNN.Modules.ProductDetail.ProductDetails.AddProductVariants(ProductsInfo pinfo) at Smith.DNN.Modules.ProductDetail.ProductDetails.Page_Init(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.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content) at DotNetNuke.UI.Modules.ModuleHost.LoadUpdatePanel() at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.UI.Containers.Container.get_ModuleControl() at DotNetNuke.UI.Containers.Container.ProcessModule() at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo objModule)
	Source:
	Server Name: WEBSERV01
	ModuleId: -1
	ModuleDefId: -1
	FriendlyName:
	ModuleControlSource:
	AssemblyVersion: 5.6.3
	PortalID: 1
	UserID: 144
	ActiveTabID: 286
	ActiveTabName: OUPS Product Details
	RawURL: /Home/PromotionalCatalog/OUPSPromotionalCatalog/OUPSProductDetails.aspx
	AbsoluteURL: /Default.aspx
	AbsoluteURLReferrer: http://oups.org/Home/PromotionalCatal...
	UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; BO1IE8_v1;ENUS)
	DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
	ExceptionGUID: 0284cfe1-d648-4d81-9019-3ab70cdecb38
	InnerException: Object reference not set to an instance of an object.
	FileName:
	FileLineNumber: 0
	FileColumnNumber: 0
	Method: DotNetNuke.UI.Containers.ActionBase.get_ActionRoot
	StackTrace:
	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 DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
	Source:
	Server Name: WEBSERV01
	 
	Please let me know what the issue possibly. I need to get this setup for my client and don’t understand why these issues keep coming up – especially the email problems.
	Keep in mind. I can send a test DNN SMTP email from the host setting and I get that test message fine. But the cart software itself does not send the message. This is happening on both this new site I am setting up and also a site I had setup which uses our own custom gateway. At this point I can hold the gateway responsible for teh email issues since this new deployment is set to manually fulfill the order.
	UPDATE: Just as a follow up… I get an email from the system, but it is completely blank… no subject or contents at all. It routes to my junk folder (most likely due to not having any content) I assume it is from the cart because the time stamp does coincide when I would have placed the test orders.
	Please advise.