Null Reference Exception Help

  • Thread starter Thread starter Matthew Sajdera
  • Start date Start date
M

Matthew Sajdera

All -

I need some help debugging a Null Reference Exception error I keep getting
when callling a specific method from a COM object reference.

I need help getting started where to look to see what may be causing this
error. Other method calls to this COM object perform normally, but this
specific call returns the following error:

Sysyem.NullReferenceException: Object reference not set to an instance of an
object.

Thanks in advance for the help.

- Matt
 
First thing to check is that the COM object interface you are testing with is the same as the reference you used when you developed the project. I got some strange behaviour using one of our COM objects, then discovered that the version registered on the test server was different to the version I had built my project against.
 
Back
Top