RE: GDI+ error with Remote Desktop
- From: eXavier <eXavier@xxxxxxxxxxxxxxxx>
- Date: Wed, 17 Jan 2007 00:16:00 -0800
Hello,
1) The application runs well if not running through Remote Desktop (RD).
2) No specific operation - application is active and running without
interaction. Typical scenario is that user switch out of RD window (or
minimalize RD). After switching back in undetermined time(approx 15min) to
RD, the application throws GDI+ exception in Graphics.Clear() at
OnPaintBackground(). Referred control is inherited from
System.Windows.Forms.TabControl and OnPaintBackground method is not overrided.
3) We have observed this problem on all machines with the same symptoms.
Further we have found the same problem reported by someone else in another
newsgroup.
This problem is hard to replicate as we cannot see any specific condition
when this happens - not every swithing window causes the problem. Sometimes
it runs for few hours without crashing, sometimes it crashes in few minutes.
Thanks for your help
eXavier
"Linda Liu [MSFT]" wrote:
Hi,.
Based on my understanding, you have a WinForm application on a Windows
Server 2003 machine. When you connect to the Windows Server 2003 machine
from another machine using Remote Desktop Connection and run this
application, the application occasionaly crashes with GDI+ error. If I'm
off base, please feel free to let me know.
To make things clear, I'd like to ask several questions about this issue.
1. If you run the application directly from the Windows Server 2003
machine, does the application crash with GDI+ error?
2. What operation do you perform on the application before the GDI+ error
occurs?
3. Does this problem exist on all machines that connect to the Windows
Server 2003 machine using Remote Desktop Connection?
It's hard to diagnose what the problem is only depending on the general
exception stack information. If possible, could you send me a sample
project that could just reproduce the problem? To get my actual email
address, remove 'online' from my displayed email address.
Sincerely,
Linda Liu
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
- Follow-Ups:
- RE: GDI+ error with Remote Desktop
- From: Linda Liu [MSFT]
- RE: GDI+ error with Remote Desktop
- References:
- RE: GDI+ error with Remote Desktop
- From: Linda Liu [MSFT]
- RE: GDI+ error with Remote Desktop
- Prev by Date: Re: Launch IE with a complex string
- Next by Date: saving data with my .exe
- Previous by thread: RE: GDI+ error with Remote Desktop
- Next by thread: RE: GDI+ error with Remote Desktop
- Index(es):
Relevant Pages
|