RPC returns an out-of-memory error incorrectly when you use an RPC over HTTP client to connect to an RPC over HTTP server in Windows Server 2008 or in Windows Vista
Consider the following scenario:
- You run a remote procedure call (RPC) over HTTP client on a computer that is running Windows Server 2008 or Windows Vista.
- You use the client to connect to an RPC over HTTP server.
- The password in the RPC over HTTP credentials that is passed to the RPC over HTTP client is specified as blank.
In this scenario, RPC returns an out-of-memory error incorrectly.
Note: This issue typically occurs when the RPC over HTTP client uses a UserTargetcredential together with the RpcBindingSetAuthInfoEx function.
For example, consider the following scenario:
- On a computer that is running Windows Server 2008, Microsoft Outlook tries to connect to Microsoft Exchange Server by using RPC over HTTP.
- Outlook passes in a blank password in the RPC over HTTP credentials when Outlook tries to execute the RPC call on the Exchange server.
In this scenario, RPC returns an out-of memory-error incorrectly. Therefore, you are prompted multiple times to type credentials for the same account to authenticate with multiple servers.
For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB2521448.