I thought i'd post this to save someone the 15 hours I just wasted.
Disclaimer: I am a novice C#/Windows developer (at best).
We have a component of our application that is written on C# and compiled against the .NET 2.0 framework. This application had always executed successfully on Windows XP and Vista until this weekend: Executing on XP, no problem. Executing on Vista, got an APPCRASH and some "beautiful" Hex (my Hex is rusty).
After many hours of trying everything i ran out of options (because of course I assumed it was my code changes or the embedded code being executed by C#). After many cigarettes and even more cups of coffee, i had a suspicion the problem might be caused by the .NET framework itself. I had a look and noticed that .NET was updated (without my knowledge, or consent to Service Pack 2). Hmmmm. Oh, by the way, you can't roll back the update.
Tested my theory by compiling my application on a system that only had .NET 2.0 SP 1 installed. The application works perfectly on Windows XP and Vista now.
*sigh*
Sunday, May 17, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment