Exception from .NET instrumentation running under limited user

  • Thread starter Thread starter aaron.randolph
  • Start date Start date
A

aaron.randolph

Running our application under a limited user throws this exception at weird
times and we cannot find any information on it:

Object reference not set to an instance of an object.
at System.Runtime.InteropServices.Marshal.ReleaseComObject(Object o)
at System.Management.Instrumentation.MetaDataInfo.Finalize()

The only common denominator seems to be it hits when we're running multiple
threads.

We're using 1.1 with SP1. We tried running both debug and release builds
with no luck. Tried setting tracing to max to get some idea of where it
was happening but no luck. Does anyone know what's happening?

Thanks,
Aaron
 
Running our application under a limited user throws this exception at
weird times and we cannot find any information on it:

Object reference not set to an instance of an object.
at System.Runtime.InteropServices.Marshal.ReleaseComObject(Object
o)
at System.Management.Instrumentation.MetaDataInfo.Finalize()
The only common denominator seems to be it hits when we're running
multiple threads.

We're using 1.1 with SP1. We tried running both debug and release
builds with no luck. Tried setting tracing to max to get some idea of
where it was happening but no luck. Does anyone know what's
happening?

Thanks,
Aaron

Fixed the problem. Luckily I had a vague memory of reading something on
the Enterprise Library and instrumenting. Found out I need to recompile
the Enterprise Library from this post:

http://blogs.msdn.com/tomholl/archive/2005/02/18/376187.aspx
 
Back
Top