BrowserHawk IQ now available! Click here for the full scoop!
Search:
Object reference not set to an instance of an object error when calling LogData from ASP.NET
Created: 9/26/2002    Updated: 9/26/2002
Q   I am receiving the following error message when trying to call LogData from ASP.NET: Object reference not set to an instance of an object.

A   To avoid this error message it is necessary to specify default parameters for the method call. For example, under ASP you can just use "bhObj.LogData". But under ASP.NET, if you want to use all the defaults, explictly pass in all the default values like this:
  bhObj.LogData(0,"","","","","")

    FAQ Home  |  Search FAQ  |  Show New Items  |  Ask a FAQ  |  Notify Me  |  Most Popular     
 
 
Copyright © 1994-2020 cyScape, Inc. All Rights Reserved. ()
ASP, ASP.NET, ColdFusion MX, CFMX, JSP, PHP