Forum Home Forum Home > Legacy Products > SalesCart NET
  New Posts New Posts RSS Feed - Object variable error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedObject variable error

 Post Reply Post Reply
Author
Message
ShaneS View Drop Down
Newbie
Newbie
Avatar

Joined: January/03/07
Location: United States
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote ShaneS Quote  Post ReplyReply Direct Link To This Post Topic: Object variable error
    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


Back to Top
admin View Drop Down
Admin Group
Admin Group

Forum Administrator

Joined: March/11/04
Status: Offline
Points: 329
Post Options Post Options   Thanks (0) Thanks(0)   Quote admin Quote  Post ReplyReply Direct Link To This Post Posted: May/03/07 at 2:23pm
Could it be this?

http://support.salescart.com/kb/KB-details.asp?key=5532
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.04
Copyright ©2001-2015 Web Wiz Ltd.

Copyright 2015 by ComCity® LLC and SalesCart™.  All Rights Reserved