Print Page | Close Window

Object variable or With block . . .

Printed From: SalesCart
Category: Legacy Products
Forum Name: SalesCart NET
Forum Description: For SalesCart NET developers and designers to converse with other SalesCart NET owners
URL: http://forum.salescart.com/forum/forum_posts.asp?TID=596
Printed Date: November/23/24 at 5:32pm
Software Version: Web Wiz Forums 11.04 - http://www.webwizforums.com


Topic: Object variable or With block . . .
Posted By: kdonovan
Subject: Object variable or With block . . .
Date Posted: August/01/06 at 12:02pm
Has anyone encountered the error "Object variable or With block variable not set."? When I attempt to add a product to the cart, this is the error I receive. I'm using SalesCart NET. Here is the StackTrace:

[NullReferenceException: Object variable or With block variable not set.]
   Microsoft.VisualBasic.CompilerServices.Con tainer..ctor(Object Instance) +247076
   Microsoft.VisualBasic.CompilerServices.New LateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) +139
   ASP.cgi_bin_shop1_aspx.GetOrder() +1069
   ASP.cgi_bin_shop1_aspx.Page_Load() +55
   System.Web.Util.CalliHelper.ArglessFunctio nCaller(IntPtr fp, Object o) +5
   System.Web.Util.CalliEventHandlerDelegateP roxy.Callback(Object sender, EventArgs e) +781871
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Bool ean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

Thanks in advance.



Replies:
Posted By: mikeb
Date Posted: August/08/06 at 5:36pm
This is a typical error when the version of ASP.NET that SalesCart NET has in the /bin folder is different than the version you are running on your server.


Posted By: kdonovan
Date Posted: August/09/06 at 9:42am
I am running version 2.0? Does SalesCart NET only support the 1.x version of the framework? I don't want to have to install both . . .


Posted By: mikeb
Date Posted: August/09/06 at 9:56am
Which version of 2.0...there are multiple versions? We provide two different ones.


Posted By: kdonovan
Date Posted: August/09/06 at 10:20am
Version 2.0.50727. Will that work?


Posted By: mikeb
Date Posted: August/09/06 at 11:16am
Your issue is more complex in that your database schema is incorrect. Just work through support with the tasks that have handed to you.


Posted By: kdonovan
Date Posted: August/09/06 at 2:37pm
Do I contact support, or will they contact me with those tasks?


Posted By: mikeb
Date Posted: August/10/06 at 9:21am
Two emails where sent from support but there has been no response from you?!???



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.04 - http://www.webwizforums.com
Copyright ©2001-2015 Web Wiz Ltd. - http://www.webwiz.co.uk