To work around this problem, use one of the following
methods, depending on your situation.
Method 1: Add the MaxCopyThreshold registry entry
You may also experience this problem in applications that use the
WriteClient API for asynchronous calls and that make two or more
WriteClient calls per HTTP response. If you suspect that you are experiencing
this problem, add the MaxCopyThreshold registry entry to the following registry
key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters
To improve performance and memory usage, we recommend that you set
the MaxCopyThreshold registry entry to the lowest possible value. We recommend
that you test the following values, and then use the lowest value that corrects
this problem:
- 8192
- 16384
- 32768
- 65536
- 131072
To add the MaxCopyThreshold registry entry, follow these steps:
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
- Click Start, click Run,
type regedit in the Open box, and then
click OK.
- In Registry Editor, locate and then click the following
registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters
- On the Edit menu, point to
New, and then click DWORD Value.
- In the right pane of Registry Editor, type
MaxCopyThreshold, and then press ENTER.
- Double-click the MaxCopyThreshold
registry entry. The Edit DWORD Value dialog box
appears.
- Type the appropriate value in the Value
data box, and then click OK.
- Quit Registry Editor.
- Restart the computer.
Method 2: Add the EnableCopySend registry entry
Use this method only for ISAPIs that perform synchronous send
operations. You can also use this workaround if at least one synchronous ISAPI
experiences a network delay. However, this method does not work in an
environment where the majority of the clients use slow links, such as
modems.