SYMPTOMS
CONDITIONS: The job is equal to or bigger than 30MB in size. Microsoft Internet Information Services (IIS) 7 or 7.5 is used to host the ZyLAB Web Client ZySCAN is exporting to. "ERROR ZyExport - HTTP error 404 while performing ZyAction" is logged in the ZyScan.log file if data is transferred with no application level encryption, using HTTP rather than HTTPS.
CAUSE
HTTP error 404.13 is returned by the Microsoft Internet Information Services (IIS) server's worker process. This is due to the default Request Limits settings.
RESOLUTION
By default Microsoft Internet Information Services (IIS) 7 and 7.5 allow up to 28.6MB to be transferred for each request.
Maximum allowed content length option applies on a per-document basis to the way HTTP/HTTPS Export in ZySCAN currently works. In other words, multiple documents could be transferred in a single ZySCAN job, but if one of them is bigger than 28.6MB in size the 'Maximum allowed content length' will be reached.
We are looking to improve this mechanism for future releases, however as a workaround you can consider temporarily changing the 'Maximum allowed content length' value (in Bytes) in Microsoft Internet Information Services (IIS) to allow the transfer of this/these big document(s). You can do this in command line or via Microsoft Internet Information Services (IIS) Manager console.
• From command line.
(1) Access the windows command line with Administrative rights on the Microsoft Internet Information Services (IIS) server.
(2) Launch the following command to adjust the 'maxAllowedContentLength' configuration key. In this example the 'maxAllowedContentLength' is set to 76.2MB for the "Default Web Site" only.
%windir%\system32\inetsrv\appcmd.exe set config "Default Web Site" -section:system.webServer/security/requestFiltering -requestLimits.maxAllowedContentLength:80000000
(3) Complete the ZySCAN job(s).
(4) Launch the following command to adjust the 'maxAllowedContentLength' configuration key back to default. In this example the 'maxAllowedContentLength' is set back to 28.6MB for the "Default Web Site" only.
%windir%\system32\inetsrv\appcmd.exe set config "Default Web Site" -section:system.webServer/security/requestFiltering -requestLimits.maxAllowedContentLength:30000000
• From Microsoft Internet Information Services (IIS) Manager console.
(1) Launch Microsoft Internet Information Services (IIS) Manager (inetmgr).
(2) In the left pane, select the Web Site the ZyLAB Web Client runs under.
(3) In the central pane, double click Request Filtering.
(4) In the right pane, under the Actions tab, click on Edit Feature Settings.
(5) In the Edit Request Filtering Settings window, change the Maximum allowed content length to a value in Bytes that would suit you.
NOTE: There is no need to restart Microsoft Internet Information Services (IIS) after applying the configuration changes suggested above. You can refer to the following Microsoft article for more information.
Request Limits
http://www.iis.net/configreference/system.webserver/security/requestfiltering/requestlimits
APPLIES TO
6.2; 6.3; 6.4; 6.5
Comments
0 comments
Article is closed for comments.