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.NullRefe renceException
Stack Trace:
at System.Windows. Forms.UnsafeNat iveMethods.Call WindowProc(IntP tr
wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows. Forms.NativeWin dow.DefWndProc( Message& m)
at System.Windows. Forms.Control.D efWndProc(Messa ge& m)
at System.Windows. Forms.Control.W mUpdateUIState( Message& m)
at System.Windows. Forms.Control.W ndProc(Message& m)
at System.Windows. Forms.Scrollabl eControl.WndPro c(Message& m)
at System.Windows. Forms.Container Control.WndProc (Message& m)
at System.Windows. Forms.ParkingWi ndow.WndProc(Me ssage& m)
at System.Windows. Forms.ControlNa tiveWindow.OnMe ssage(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.WndP roc(Message& m)
at System.Windows. Forms.NativeWin dow.Callback(In tPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)Source:
System.Windows. FormsTargetSite .Name:
CallWindowProcT argetSite.Decla ringType.FullNa me:
System.Windows. Forms.UnsafeNat iveMethods
UnsafeNativeMet hods
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.NullRefe renceException
Stack Trace:
at System.Windows. Forms.UnsafeNat iveMethods.Call WindowProc(IntP tr
wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows. Forms.NativeWin dow.DefWndProc( Message& m)
at System.Windows. Forms.Control.D efWndProc(Messa ge& m)
at System.Windows. Forms.Control.W mUpdateUIState( Message& m)
at System.Windows. Forms.Control.W ndProc(Message& m)
at System.Windows. Forms.Scrollabl eControl.WndPro c(Message& m)
at System.Windows. Forms.Container Control.WndProc (Message& m)
at System.Windows. Forms.ParkingWi ndow.WndProc(Me ssage& m)
at System.Windows. Forms.ControlNa tiveWindow.OnMe ssage(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.WndP roc(Message& m)
at System.Windows. Forms.NativeWin dow.Callback(In tPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)Source:
System.Windows. FormsTargetSite .Name:
CallWindowProcT argetSite.Decla ringType.FullNa me:
System.Windows. Forms.UnsafeNat iveMethods
UnsafeNativeMet hods