Print Page | Close Window

Object variable error

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=689
Printed Date: November/13/24 at 9:56am
Software Version: Web Wiz Forums 11.04 - http://www.webwizforums.com


Topic: Object variable error
Posted By: ShaneS
Subject: Object variable error
Date Posted: March/20/07 at 12:37pm
when I atempt to run an order retrieval I get this error. This used to work and I cannot see what would cause this error..

Any Ideas??




Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object variable or With block variable not set.

Source Error:


Line 28: 'Do stuff with the record set
Line 29:
Line 30: RS.PageSize = thePageSize
Line 31: numPages = RS.PageCount
Line 32: move = Request("move")


Source File: C:\Inetpub\wwwroot\KaplanOnline\KaplanEcommSite\online\3_sho wall.aspx    Line: 30

Stack Trace:


[NullReferenceException: Object variable or With block variable not set.]
   Microsoft.VisualBasic.CompilerServices.Con tainer..ctor(Object Instance) +247140
   Microsoft.VisualBasic.CompilerServices.New LateBinding.LateSet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean OptimisticSet, Boolean RValueBase, CallType CallType) +124
   Microsoft.VisualBasic.CompilerServices.New LateBinding.LateSet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments) +33
   ASP.online_3_showall_aspx.Page_Load() in C:\Inetpub\wwwroot\KaplanOnline\KaplanEcommSite\online\3_sho wall.aspx:30
   System.Web.Util.CalliHelper.ArglessFunctio nCaller(IntPtr fp, Object o) +5
   System.Web.Util.CalliEventHandlerDelegateP roxy.Callback(Object sender, EventArgs e) +784031
   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





Replies:
Posted By: admin
Date Posted: May/03/07 at 2:23pm
Could it be this?

http://support.salescart.com/kb/KB-details.asp?key=5532



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