Problem beim Identifizieren der Quelle von 2 Ausnahmen



Hallo alle,



Ich habe ein Problem mit 2 Ausnahmen für die ich die Quelle in meinem
Quellcode nicht finde. Ich habe mir den StackTrace angeschaut aber es kommen
keine Zeilen von meinem Code sondern .Net Framework Funktionen vor. Hier die
2 Ausnahmen:



1.



Ereignistyp: Fehler

Ereignisquelle: ExceptionManagerPublishedException

Ereigniskategorie: Keine

Ereigniskennung: 0

Datum: 25.04.2006

Zeit: 08:23:50

Benutzer: Nicht zutreffend

Computer: AD-TS1

Beschreibung:



General Information

*********************************************

Additional Info:

ExceptionManager.MachineName: AD-TS1

ExceptionManager.TimeStamp: 25.04.2006 08:23:50

ExceptionManager.FullName: AD.FRAMEWORK, Version=1.0.2254.26302,
Culture=neutral, PublicKeyToken=null

ExceptionManager.AppDomainName: ERP.WIN.exe

ExceptionManager.ThreadIdentity:

ExceptionManager.WindowsIdentity: AD-NET\ifflulr



1) Exception Information

*********************************************

Exception Type: System.OutOfMemoryException

Message: Nicht genügend Arbeitsspeicher.

TargetSite: System.Drawing.Graphics FromHdcInternal(IntPtr)

HelpLink: NULL

Source: System.Drawing



StackTrace Information

*********************************************

at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc)

at System.Windows.Forms.PaintEventArgs.get_Graphics()

at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e,
Rectangle rectangle)

at System.Windows.Forms.Control.OnPaintBackground(PaintEventArgs pevent)

at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e,
Int16 layer, Boolean disposeEventArgs)

at System.Windows.Forms.Control.WmPaint(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.MdiClient.WndProc(Message& m)

at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)



2.



Ereignistyp: Fehler

Ereignisquelle: ExceptionManagerPublishedException

Ereigniskategorie: Keine

Ereigniskennung: 0

Datum: 25.04.2006

Zeit: 08:23:49

Benutzer: Nicht zutreffend

Computer: AD-TS1

Beschreibung:



General Information

*********************************************

Additional Info:

ExceptionManager.MachineName: AD-TS1

ExceptionManager.TimeStamp: 25.04.2006 08:23:49

ExceptionManager.FullName: AD.FRAMEWORK, Version=1.0.2254.26302,
Culture=neutral, PublicKeyToken=null

ExceptionManager.AppDomainName: ERP.WIN.exe

ExceptionManager.ThreadIdentity:

ExceptionManager.WindowsIdentity: AD-NET\ifflulr



1) Exception Information

*********************************************

Exception Type: System.OutOfMemoryException

Message: Es konnte keine mit dem Bildschirm kompatible Bitmap erstellt
werden, um die Formatinformationen abzufragen.

TargetSite: Boolean bFillBitmapInfo(IntPtr, IntPtr, BITMAPINFO_FLAT ByRef)

HelpLink: NULL

Source: System.Windows.Forms



StackTrace Information

*********************************************

at System.Windows.Forms.DibGraphicsBufferManager.bFillBitmapInfo(IntPtr
hdc, IntPtr hpal, BITMAPINFO_FLAT& pbmi)

at
System.Windows.Forms.DibGraphicsBufferManager.CreateCompatibleDIB(IntPtr
hdc, IntPtr hpal, Int32 ulWidth, Int32 ulHeight, IntPtr& ppvBits)

at System.Windows.Forms.DibGraphicsBufferManager.CreateBuffer(IntPtr src,
Int32 offsetX, Int32 offsetY, Int32 width, Int32 height)

at System.Windows.Forms.DibGraphicsBufferManager.AllocBuffer(Graphics
targetGraphics, IntPtr targetDC, Rectangle targetBounds)

at
System.Windows.Forms.DibGraphicsBufferManager.AllocBufferInTempManager(Graphics
targetGraphics, IntPtr targetDC, Rectangle targetBounds)

at System.Windows.Forms.DibGraphicsBufferManager.AllocBuffer(IntPtr
target, Rectangle targetBounds)

at System.Windows.Forms.Control.WmPaint(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.Label.WndProc(Message& m)

at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)





Hat wer von euch eine Idee was ich machen muss damit ich diese 2 Ausnahmen
nicht mehr bekomme? Nachdem ich in den StackTrace keine Funktion von meinem
Sourcecode sehe weiss ich auch nicht wo ich zugreifen muss. Diese 2 Fehler
sind leider auch nicht fix reproduzierbar also sie treten ab und zu auf
(random).



Vielen Dank, George.


.



Relevant Pages


Loading