HomeHome Product Discus... Product Discus...SmithCartSmithCartStep1.GetTaxRate Object reference not set to an instance of an objectStep1.GetTaxRate Object reference not set to an instance of an object
Previous
 
Next
New Post
6/20/2011 9:08 AM
 

Cart Version: 4.36
DNN Version: 5.6.1

SQL Version: 2008R2
 

I'm receiving the following error after putting in my information in Checkout Step 1 and clicking Next. I am using the Tax Tables and have already imported all of my counties into the database. I am NOT requiring users to log on or create a new DNN account in order to place an order.

 

Any suggestions?

 

ActiveTabName: MyStore
RawURL: /MyStore/tabid/67/ctl/step1/mid/714/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: https://www.teracorpinc.com/MyStore/tabid/67/ctl/step1/mid/714/Default.aspx
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e80bf8de-38d2-4def-b6de-93ddc9e53253
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Step1.GetTaxRate
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.Step1.GetTaxRate(Boolean useStep1DDTax) at Smith.DNN.Modules.BuyNow.Step1.GetTotalAfterTax(Boolean useStep1DDTax) at Smith.DNN.Modules.BuyNow.Step1.ibNext_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 
New Post
6/20/2011 11:38 PM
 

Hi Nick,

Could you send me the CSV file that was imported to kevin@smith-consulting.com?

Thanks

 
New Post
7/2/2011 1:49 PM
 

Has there been any update? I see the post was flagged as resolved but after installing 4.38 the problem still existed.

Thanks

 
New Post
7/5/2011 9:57 PM
 

Hi Nick,
In the buynow settings tax setup section did you check the box titled "Use Step1 Dropdown List in Tax Lookup"?
If so, you need to enable the custom dropdown on the step 1 page and populate your tax districts or counties as dropdown list items. To enable the dropdown list on the step 1 page go to the buynow settings "Step 1 Setup" section and check the box to show the dropdown list and populate the dropdown list values with your counties/tax districts for your tax regions. The value selected in the step 1 dropdown is used as an additional lookup field in the tax table when calculating tax if you checked "Use Step1 Dropdown List in Tax Lookup".

Dave


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
7/6/2011 10:52 AM
 

Okay. Thanks.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartStep1.GetTaxRate Object reference not set to an instance of an objectStep1.GetTaxRate Object reference not set to an instance of an object