S
Stephen
Could someone help me figure out this (unhandled) exception I am receiving
every time I shut down my windows service. I have made my service
interactive and have created a form (which doesn't get shown) and added a
third party activeX control to it. If I remove the activeX control the
service shuts down fine.
I am writing all unhandled exceptions to the event log. Every time I stop
the service I see two of the following exceptions:
System.NullReferenceException: Object reference not set to an instance of an
object.
at System.Windows.Forms.IConnectionPoint.Unadvise(Int32 cookie)
at System.Windows.Forms.ConnectionPointCookie.Disconnect()
at System.Windows.Forms.ConnectionPointCookie.Finalize()
plus one that looks like:
System.NullReferenceException: Object reference not set to an instance of an
object.
at System.Windows.Forms.IConnectionPoint.Unadvise(Int32 cookie)
at System.Windows.Forms.ConnectionPointCookie.Disconnect()
at System.Windows.Forms.OleInterfaces.Finalize()
every time I shut down my windows service. I have made my service
interactive and have created a form (which doesn't get shown) and added a
third party activeX control to it. If I remove the activeX control the
service shuts down fine.
I am writing all unhandled exceptions to the event log. Every time I stop
the service I see two of the following exceptions:
System.NullReferenceException: Object reference not set to an instance of an
object.
at System.Windows.Forms.IConnectionPoint.Unadvise(Int32 cookie)
at System.Windows.Forms.ConnectionPointCookie.Disconnect()
at System.Windows.Forms.ConnectionPointCookie.Finalize()
plus one that looks like:
System.NullReferenceException: Object reference not set to an instance of an
object.
at System.Windows.Forms.IConnectionPoint.Unadvise(Int32 cookie)
at System.Windows.Forms.ConnectionPointCookie.Disconnect()
at System.Windows.Forms.OleInterfaces.Finalize()