RE: GDI+ error with Remote Desktop



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.


.



Relevant Pages

  • RE: System time change notification
    ... have a windows UI, it is not an actual issue for me. ... But since server application will run in Session 0 in Vista, ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.win32.programmer.tools)
  • Re: interrupting a lengthy sequence
    ... Winform GUI normally runs in a single thread, so when the GUI thread is ... Windows messages currently in the message queue. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Remote Desktop Web Connection Wont Show Up in Browser
    ... public address - many routers and firewalls don't support this).... ... Jeffrey Randow (Windows Net. ... >I'm trying to set up Remote Desktop Web Connection. ... >Under Internet Information Services, ...
    (microsoft.public.windowsxp.work_remotely)
  • RE: Problem with Process.GetCurrentProcess() when starting a servi
    ... System is Windows XP. ... to send the sample project to me by removing "online." ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.general)
  • RE: The debugger component on the server failed to connect to the
    ... my computer is running under Windows XP ... In Component Services, expand Component Services, expand Computers, and ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.debugging)