Tips and Tricks for:
.Net, C#, VB.Net,
Updater Application Block (UAB)
The Problem: Updater
Application block is Broken by BITS 2.0
BITS 2.0 adds additional security to Windows XP. However, it breaks
existing programs that rely on The Updater Application Block for automatic
software distribution. BITS 2.0 can be downloaded by Windows Update
or added to your system when Windows XP Service Pack 2 is installed.
Solution: Either update the
UAB (C# only) or modify the registry to remove the new check..
There is a unsupported updated version of the UAB code that works
with BITS 2.0. You can find it on GotDotNet. However,
there is no VB.Net version of the code.
The alternative solution is to modifty the registry to add the
entry UseLmCompat to the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\BITS
The attached zip file has a .reg file that makes the entry for
you. Although it's small, it must be in a ZIP to allow it
through various firewall and antivirus programs.

|