Re: C# app works perfectly on XP but not on 2003 server
- From: Collin Bennett <collin_bennett@xxxxxxxxxxx>
- Date: Thu, 01 Sep 2005 09:20:22 -0400
What I really should say, is your problem lies with the Garbage Collection. On your development machine, in debug mode, GC can take it's sweet time to clean up thing. Therefore if you access an object that have managed resources, you could be trying to access those resources when they have already been disposed of. In production/release mode on Windows 2003 production server where you have many things going on, the GC is probably doing it's job more efficiently and getting rid of objects that you closed/disposed or set to nothing. ANd like I was trying to say earlier, your object during it's dispose/finalize event it could be trying to access a managed resource that has already be taken care of.
OfurGørn wrote:
Hi everybody - here is an easy one (hopefully)
I have a funny error, that is driving me nuts !!! I have a application that I have written on a Windows XP SP2 machine, and tuned to near-perfection - then I copied the program to the target system, a Windows 2003 standard server, the program works fine for 5-10 minutes, and then comes up with an exception. The problem is, that whenever I put any debug code in the code that generates the exception, the exception does not come again, but another exception comes. I have so far received exceptions like:
- System.IO.IOException: Transfer complete.
- System.NullReferenceException
I am having a hard time fixing this, as I am running an Release version on the remote server, and have no debug information. I suspect that there is something basic I have forgotten in making my code work for Windows 2003 Server.
hoping the solution is quick and simple !
________________________ Gunnar Gudmundsson
.
- Prev by Date: Re: C# app works perfectly on XP but not on 2003 server
- Next by Date: Re: Anchor Layout Oversizes Controls
- Previous by thread: Re: C# app works perfectly on XP but not on 2003 server
- Next by thread: Re: Starting a Form App Hidden and Minimized - It shouldn't be this difficult!
- Index(es):
Relevant Pages
|