Consultor Eletrônico



Kbase P170167: Put {&webstream} control null(0) does not work for IIS 7
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/27/2010
Status: Unverified

SYMPTOM(s):

Put {&webstream} control null(0) does not work for IIS 7

Flushing WebSpeed web stream output does not work with IIS 7

FACT(s) (Environment):

Windows
OpenEdge 10.x
IIS 7.0

CAUSE:

IIS 7 by default enables dynamic content compression in case you have
that module installed causing buffering even for the cgi scripts.


FIX:

In order to prevent this buffering, locate following file :

%windir%\system32\inetsrv\config\applicationHost.config

Open it with text editor and find the cgi handler mapping in that xml file.
It will have something similar to :

<add name="CGI-exe" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" responseBufferLimit="0"/>
depending on the used name at the time it was created.

Notice the responseBufferLimit="0" that should be added to that definition.
It will prevent buffering and revert behavior for dynamic content streaming to be the same as it is in IIS 6.

This map handler can be defined on various levels : system, site, directory,
so one has to make sure to add that attribute to every cgi handler that exists
in the %windir%\system32\inetsrv\config\applicationHost.config file.