April 2003 Blog Posts

Outlook 2003 Beta 2 Users: Here's the Fix for All the Instabilities

To fix Outlook 2003 beta 2, you must delete your current Outlook profile and create a new one. The problem is that when you delete your profile, you essentially lose all the information in your local folders (e.g., email, calendar, contacts), so note all your email account settings and back up your local folders before beginning the fix process. (I usually just export the relevant folders to individual .pst files, but--again--drop me a note if you need help with this process.) Then, to delete your profile, right-click Microsoft Outlook in the top of the Windows XP Start Menu (or open the Control Panel Mail applet), then click the Show Profiles button. Select your current profile (it will probably be the only profile), and click Remove. Remember: You MUST back up your data before deleting the profile. Click Add to create a new profile, supply a name, and, if the new profile is the only profile, choose the option "Always use this profile". When you restart Outlook, you'll need to reenter your email account information and import all the data you exported. I've been testing this fix for 2 weeks, and I haven't had many hard crashes; every once in a while, Outlook hangs briefly but then springs back to life. In the past, the beta crashed every hour or two. The fix is a huge improvement, and yes, the problem is already fixed in post-beta 2 builds internally at Microsoft. Let me know if you have any questions. And, please: Back up before you apply this fix!

There's also a tip for Fixing Outlook 2003 Beta 2 with Exchange.

I've been looking at the HTML Tidy Library Project based on Dave Raggett's HTML Tidy program and I wanted a way to call into the library from .NET. The two links to .NET bindings on the site point to code that uses COM Interop which seemed a little odd. Surprisingly, Charles Reitzel's Tidy Add-ons page says "Managed C++ is simply too different from real C++ to be useful, imo. Or, as I like to say,Managed C++ is neither." Now, that can't be right can it? :o)

So this is my first cut at a MC++ binding for HTML Tidy. I pulled down the source to libtidy, converted the VC6 workspace to VC7 and built a release library (that's included in the libtidy\lib folder of the zip download). This zip file contains the source and a release binary. I haven't included support for callbacks or for processing thr HTML Node model because I don't need those right now.

How to run ASP.NET 1.0 and 1.1 on the same box.

Old news I'm sure, but here's a great FAQ on how to simultaneously run ASP.NET 1.0 and 1.1 on the same box (using Windows .NET Framework 1.0 and Windows .NET Framework 1.1 on various IIS "Applications"). Useful stuff, and very easy. [Scott Hanselman's Weblog]

Unfortunately, when you install .NET 1.1 through Windows Update, it doesn't give you the option to not have it upgrade your ASP.NET applications (I realise by reading this after having done the update!).

Network Security -or- "Don't ask. You can always apologize later.".

Huh? I guess I misunderstood some fundamentals of security, firewalls and trustworthy computing. Let me rephrase this requirement: "If you want your server application to receive the 'Designed for Windows XP' logo, it should detect firewalls and re-configure them automatically to allow inbound traffic. Do this without any intervention by the user. Don't care about network security - your application won't have any unsafe buffers, right?. You really shouldn't care about the user who maybe wouldn't want internet connectivity to your application because he doesn't trust your skills."

Or as some kids would put it "Don't ask. You can always apologize later."

I guess this requirement should be dropped immediately. Let's just assume we've never ever seen it, ok? [Ingo Rammer's Weblog]

To be fair, it doesn't actually say what Ingo suggests it does. My reading is that it says that manual configuration of NAT port mappings are unwelcome by customers, and so they are. It doesn't say anywhere that you must go around opening up ports without confirming that this is okay with the user. My mother doesn't know or care about TCP port mappings and she certainly won't be hand editing them. On the other hand, if she chooses to run a piece of software that carries out some sort of network connectivity, it's probably fair to say she can choose to run it or not.

Speaking of ASP.NET, I hit chapter 4 (the HTTP Pipeline) in Fritz Onion's book, and let me tell you, this book is a keeper. It's not the book I'd recommend for newbies, as it's going to be over some people's heads, but it does cover some of the more advanced topics in good detail. If you're doing any serious ASP.NET development, I'd highly recommend this book, and I'm not even finished with it yet! [The .NET Guy]

I absolutely second that. I finished the last chapter yesterday and I'd have bought it just for the HTTP Pipeline chapter. It's difficult to say whether I learned a tremendous amount of new content from this book. Certainly, I knew a fair amount about the different areas it covered, but I feel like a have a more solid grounding and fundamental understanding of how different features are implemented and why they work the way they do. Another "must buy" book.

In fact, the only issue I have with the whole book is that it seems like none of the example code includes any using statements to import namespaces. This means I'm often left wondering which namespace to include to pull in a particular class or interface.

Daniel Bright @ 04/02/2003 10:52 AM
This looks like a typo on our end - sorry for the confusion. As is always
the case with the DVDs, you replace all of an existing color with the new
color you were shipped. So, go ahead and toss the old Red DVDs, and replace
them with the new ones.

Andy Boyd
Program Manager
MSDN Subscriber Downloads
(remove the .online from the return address for direct e-mail)

Google groups link

[YACCS Comments]

Daniel Bright @ 04/02/2003 10:59 AM.
Oh, and Im pretty sure Andy ment to say GREEN as well... [YACCS Comments]

Thanks Daniel. :o)

When you get an MSDN subscription refresh that says "All DVDs in this shipment are red. You may archive all previous red DVDs." but all the DVDs in the box are green, do you a) archive all the red DVDs; b) archive all the green DVDs; or c) seek advice from the nearest optician about the incidence of sudden colour blindness?