Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 2 Jahren, 6 Monaten
Letzter Beitrag:
vor 2 Jahren, 6 Monaten
Beteiligte Autoren:
Michael Drechsel, Fabrice Harari, Kingdr, kinddr

[WB20] Windows Server 2012 R2 (IIS 8) can´t response large requests

Startbeitrag von Michael Drechsel am 27.11.2015 12:20


I have a problem with a Windows 2012 R2 Server with IIS8.

I can´t receive a large HTTPRequest (filetoarray from a query, then serialize())

A smaller works. Same code at my Laptop with win7 and IIS7.5 works.

The httpresponse is empty, no errorcodes at all.

Any ideas ?



Pls chk conf file in IIS as you might reach the default max limit ie
"http request limit exceeded"



von kinddr - am 27.11.2015 12:29

I don´t have any config file at my webserver at my laptop. Why should IIS8 works different as IIS7.5 in that case ?

If can download GB of data, why not a 20 MB httpresponse ?

von Michael Drechsel - am 27.11.2015 13:05
Hi Michael,

from the top of my head, IIS has THREE different time out settings. One is for the SIZE of transfert and is listed in the webdev help, and 2 are real time outs (one for cgi, the other for???)

If any of them isreadh during a query, you'll have this kind of problems.

And of course yo have a setting file both on the server and on your laptop, or your web sites couldn't work at all

Best regards

von Fabrice Harari - am 27.11.2015 13:42
Hi Fabrice,

the request needs 5 seconds, the result (I tested it with fsavebuffer(myBuffer)) is 1,7 MB

This can´t be a limit ....

For a year I had a similar problem with the webservice and you give me the hint with the *.awp page.

Now another project, a new server ... and the old problem :-(

von Michael Drechsel - am 27.11.2015 13:52
Hi Micahel
Michael Drechsel
This can´t be a limit ....

Sure it can... Are you doing your httprequest in GET mode (size limit, as it's supposed to be a simple URL) or in POST mode?

For this =kind of things you need post

Best regards

von Fabrice Harari - am 27.11.2015 18:01
Yes, its httppost.

cmyresponse = HTTPSend(cmyrequest)

cMyResponse shows:
Content= RoughHeader="" StatusCode=0 DescriptionStatusCode="" ContentType="" Header=

Completly empty. An array with 5000 members works, with 10.000 not.
At my Laptop both works. It must be a Win2K12 Server thing, or an IIS8 issue. I don´t know.

Anybody using IIS8 with httpSend ????

von Michael Drechsel - am 28.11.2015 10:29
and pls see the link as below:


in section of Configuration
maxAllowedContentLength Optional uint attribute.
Specifies the maximum length of content in a request, in bytes.
The default value is 30000000, which is approximately 28.6MB.

von Kingdr - am 28.11.2015 12:38

Re: [WB20] Windows Server 2012 R2 (IIS 8) can´t response large requests [SOLVED]

Ok, after 2 days try and error and loosing of a couple of my hairs:

cMyresponse...timeout is the reason why it works at my laptop and not at my server, which stands in the company.

The timeout is per default=20 seconds, the request needs 22 seconds with the server and only 5 seconds at my laptop.

WARNING: WEBDEV gives no error code in the MyResponse..StatusCode, so it is difficult to catch the error, if the connection is to slow for the request.

von Michael Drechsel - am 29.11.2015 12:27
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.