Outlook OAB downloads fail (0x80190197)


To totally unlock this section you need to Log-in


Login

An Outlook 2007/2010/2013 client now uses web services for most of its features (OAB, OFF, Calendar, etc.) when connecting to an Exchange 2007/2010/2013/Online server.

One thing that might not be very apparent is that when an Outlook client makes it's connections it will check the Internet Explorer proxy settings of the Windows client via Windows API calls. If an Outlook clients IE proxy settings are pointing to an invalid or inaccessible proxy server it can cause connection problems.

One error you will see when the proxy settings are invalid when you are trying to download the OAB is the following error: 0x80190197.

C:\err 0x80190197

# for hex 0x80190197 / decimal -2145844841
BG_E_HTTP_ERROR_407 bitsmsg.h
# 1 matches found for "0x80190197"

The error being reported is an HTTP 407-Proxy Authentication issue.

How it works

Here is how the client works with proxy settings:

  • Outlook makes connection attempt.
  • Outlook will look for the proxy configuration script to determine what proxy settings should be used for the URL we are trying to connect to.
  • If Outlook detects that there are no proxy settings are being used it will try to connect directly.
  • If there is a configuration script being used the Outlook client retrieves the proxy settings and tries to connect using those settings.
  • If Outlook's connection attempt fails, Outlook will not try a direct connection and you will get an error.

NOTE: When an Outlook client is using BITS 2.0 the Outlook client may also receive error code 0x80190197. This problem occurs when all the following conditions are true:

  • The client program that is using BITS 2.0 does not specify that the credentials of the client can be used by calling the IBackgroundCopyJob2::SetCredentials method.
  • The Microsoft LAN Manager compatibility level (LmCompatibilityLevel) on the BITS 2.0 client contains a value that is set to 1 or to 0. You can find the LAN Manager compatibility level entry on the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\LmCompatibilityLevel

  • The file transfer is performed through a Windows-based server or a Windows-based Internet proxy server that requires Integrated Windows Authentication.

Solution

UseLmCompat registry value in the subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\BITS

Then add a DWORD value of 0. To do this, follow these steps on the BITS 2.0 client computer:

  1. Click Start, click Run, and then type regedit.
  2. Locate the following subkey:
  3. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\BITS
    

  4. Right-click BITS, point to New, click DWORD Value, type UseLmCompat, and then press ENTER.
  5. In the right pane, right-click UseLmCompat, and then click Modify.
  6. In the Value data box, type 0, and then click OK.
  7. Quit Registry Editor.
  8. Restart the BITS 2.0 service.

1 thought on “Outlook OAB downloads fail (0x80190197)”

Comments are closed.