hi, we developed an erp project using vb .Net and the project running on
terminal server, Server 2003 operating system. Some times, our users having
the error below, randomly and we don't know why the error happening and
where. The try-catch block does'nt catch the error. Can any one help?
Object reference not set to an instance of an object.
System.NullReferenceException
Stack Trace:
at System.Windows.Forms.UnsafeNativeMethods.CallWindo wProc(IntPtr
wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Messa ge& m)
at System.Windows.Forms.Control.DefWndProc(Message& m)
at System.Windows.Forms.Control.WmUpdateUIState(Messa ge& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.ParkingWindow.WndProc(Message & m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)Source:
System.Windows.FormsTargetSite.Name:
CallWindowProcTargetSite.DeclaringType.FullName:
System.Windows.Forms.UnsafeNativeMethods
UnsafeNativeMethods