I just got off the phone with a Microsoft support person. I was having this weird problem with Visual Studio at work, and seeing as we’re in the first week of a development cycle, having to stop for four hours to fix one’s development environment just plain sucks.
After speaking with two very polite people, I got to speak with Alden. Alden was friendly, got to the point, wasn’t condescending, and, in the end (after 3 hours!) fixed my problem. I owe him big.
Here’s my problem, so that someone, somewhere, might see this and learn from it: last week, after a restart due to Windows Update, the program I’m working on here at work wouldn’t work. It gave this really weird error at runtime: “Delegates must be of the same type”. This is a weird error for two reasons: because this is something that the compiler should have caught in the first place, and because the source file in question (where the runtime exception was being thrown from) hadn’t changed in about a week. Suddenly, after I do a Windows Update, my C# compiler is generating bad code? Weird.
I uninstalled the hotfixes, re-installed the framework, the third-party component that we’re using that was slightly involved, and, eventually, Visual Studio .NET 2003 itself (two, count’em two hours for that alone). Finally, the problem disappeared. However, in the back of my mind was the sneaking suspicion that it would be back.
Which it was, today. Since it happened again, I figured that I’d better bring in the big guns and get some Microsoft support through our MSDN subscription… turns out that the Windows Update that went through today (requiring a restart) munged up Crystal Reports… Now, I don’t need Crystal Reports, nor have I ever even used Crystal Reports, but I’m a completist, so I installed everything I could when installing Visual Studio last time. After removing Crystal Reports, everything smoothed right out. Voila!
So… thanks, Alden. And, if you’ve just got a Windows Update and Visual Studio doesn’t work anymore, try uninstalling Crystal Reports. Is that enough keywords for you, Google?