Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Error Messages

Reply
Thread Tools

Error Messages

 
 
Aziz
Guest
Posts: n/a
 
      12-30-2005
Hi,

A web applications error output is like this:

[NullReferenceException: Object reference not set to an instance of an
object.]
Gor.Forms.Page.SecurityCheck(Object sender, EventArgs e) +40
System.Web.UI.Control.OnInit(EventArgs e) +67
Agromax.main.OnInit(EventArgs e) +50
[...]


Should I look for a Page object not set to an instance, or something
else? I'm not used to .NET and VS error messages...

Thanks
 
Reply With Quote
 
 
 
 
Marina
Guest
Posts: n/a
 
      12-30-2005
The page is fine. It is a variable or a function return value - something
there is null but you always expect it to have a value. According to the
stack it's in your OnInit implementation.

"Aziz" <aziz@spam_mania.com> wrote in message
news:...
> Hi,
>
> A web applications error output is like this:
>
> [NullReferenceException: Object reference not set to an instance of an
> object.]
> Gor.Forms.Page.SecurityCheck(Object sender, EventArgs e) +40
> System.Web.UI.Control.OnInit(EventArgs e) +67
> Agromax.main.OnInit(EventArgs e) +50
> [...]
>
>
> Should I look for a Page object not set to an instance, or something
> else? I'm not used to .NET and VS error messages...
>
> Thanks



 
Reply With Quote
 
 
 
 
Jim Cheshire
Guest
Posts: n/a
 
      12-30-2005
Aziz wrote:
> Hi,
>
> A web applications error output is like this:
>
> [NullReferenceException: Object reference not set to an instance of an
> object.]
> Gor.Forms.Page.SecurityCheck(Object sender, EventArgs e) +40
> System.Web.UI.Control.OnInit(EventArgs e) +67
> Agromax.main.OnInit(EventArgs e) +50
> [...]
>
>
> Should I look for a Page object not set to an instance, or something
> else? I'm not used to .NET and VS error messages...
>


You would want to look here:

Gor.Forms.Page.SecurityCheck(Object sender, EventArgs e) +40

In other words, at an offset of 40 inside of the SecurityCheck function.

Where did this error message appear?

--
Jim Cheshire
================================
Blog: http://blogs.msdn.com/jamesche

Latest entry: Digging into Objects
Describes the details of digging into
memory usage with the debugger.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
There are no more messages on this topic. All messages in this topic may have expired or been deleted Coach 02 Computer Support 1 03-12-2007 03:44 PM
absence of router advertisment messages in reponse to roiuter solicitation messages sonia sainani Software 0 10-20-2006 09:20 AM
System error/Machine Error Messages =?Utf-8?B?TEFPRkE=?= Windows 64bit 7 07-25-2005 11:13 AM
i sent 2 messages about double messages monique Computer Support 0 11-27-2004 07:18 PM
will all these messages cause a problem . I am a new subscriber and my computer is downloading 100,000 messages. Will this cause any kind of a problem with my ability to store other items?? Camille White Camille White Computer Support 9 11-08-2004 01:13 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57