Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Other SQL Server Topics (2005)
 SQL error message

Author  Topic 

macsterling
Yak Posting Veteran

56 Posts

Posted - 2008-11-19 : 20:24:50
In an application I am working on (2005) I am getting the following error message. What does it mean? (I am trying to save an employee record


" Object Reference not set to an instance of an object"

cvraghu
Posting Yak Master

187 Posts

Posted - 2008-11-19 : 23:38:15
This is a very generic error message. It means you are trying to access a property or invoke a method of an un-instantiated class.

How did you arrive at the conclusion that it is a sql error?
Go to Top of Page

macsterling
Yak Posting Veteran

56 Posts

Posted - 2008-11-19 : 23:55:19
dumb guess-being-very tired one. I am converting data from one accounting system to another. We open an employee, make a change, and save it, The message appears and if we try to save the record
we first get the above message, then one that says that record already exists.
Go to Top of Page

cvraghu
Posting Yak Master

187 Posts

Posted - 2008-11-20 : 00:25:24
You've debug the application to find out the real cause.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-11-20 : 03:32:30
is this a vb application?
Go to Top of Page
   

- Advertisement -