Web Connection
Post Buffer too Big
Gravatar is a globally recognized avatar based on your email address. Post Buffer too Big
  Bob Lucas
  All
  Mar 4, 2015 @ 10:08am
I have a website that occasionally generates an error:

Request data conversion failed or the POST buffer was too big.

This happens with the uploading of PDF files which is a big part of the internal side of the website.
The pdf files are not too big, generally under a MB in size.

I think it is a message from the web connection dll and when this happens the only solution is to reboot the server.

Restarting IIS does not make a difference.
The server is IIS6 on windows server 2006.

I'd like to find a solution beyond a server reboot.
So if anyone has some idea of the cause of this, I am all ears!

Bob

Gravatar is a globally recognized avatar based on your email address. Re: Post Buffer too Big
  Rick Strahl
  Bob Lucas
  Mar 4, 2015 @ 01:15pm
Hi Bob,

There's a post buffer limit flag in wc.ini that you can set. I think the default is 2 megs or somewhere in that range. set the number to 0 or a large number to account for your largest upload.

;*** Limits the size of data posted to the Web Server
;*** In bytes. 0 means allow any size. Note: Oversize
;*** buffers result in Server 500 errors.
PostBufferLimit=0

+++ Rick ---



I have a website that occasionally generates an error:

Request data conversion failed or the POST buffer was too big.

This happens with the uploading of PDF files which is a big part of the internal side of the website.
The pdf files are not too big, generally under a MB in size.

I think it is a message from the web connection dll and when this happens the only solution is to reboot the server.

Restarting IIS does not make a difference.
The server is IIS6 on windows server 2006.

I'd like to find a solution beyond a server reboot.
So if anyone has some idea of the cause of this, I am all ears!

Bob



Rick Strahl
West Wind Technologies

Making waves on the Web
from Maui

Gravatar is a globally recognized avatar based on your email address. Re: Post Buffer too Big
  Bob Lucas
  Rick Strahl
  Mar 4, 2015 @ 02:15pm
Hi Rick;

I do have this boosted.

The problem is that there are probably 50 or more pdf files uploaded daily.
Most are between 200KB and 600KB. There may be some over a MB on occasion (although it is possible from some other web page to upload a larger file).

However, when the office staff get this message, they can't upload any more files of any size until the server is reboot.
Now, this might not happen for a couple of months or a couple of weeks, although it seems to be a little more regular now (every week or so). No stats kept really.

Even restarting IIS doesn't solve the issue (so reloading the wc.dll doesn't fix the problem). But I think it is some IIS related component. I think I may at one time have tested a .aspx page when the issue surfaced and it also had an issue. Or maybe it didn't, I don't remember!

But this is from a web connect page, at least, once the query hits the wc.dll.
So I am kind of perplexed on what is happening!

Bob



Hi Bob,

There's a post buffer limit flag in wc.ini that you can set. I think the default is 2 megs or somewhere in that range. set the number to 0 or a large number to account for your largest upload.

;*** Limits the size of data posted to the Web Server
;*** In bytes. 0 means allow any size. Note: Oversize
;*** buffers result in Server 500 errors.
PostBufferLimit=0

+++ Rick ---



I have a website that occasionally generates an error:

Request data conversion failed or the POST buffer was too big.

This happens with the uploading of PDF files which is a big part of the internal side of the website.
The pdf files are not too big, generally under a MB in size.

I think it is a message from the web connection dll and when this happens the only solution is to reboot the server.

Restarting IIS does not make a difference.
The server is IIS6 on windows server 2006.

I'd like to find a solution beyond a server reboot.
So if anyone has some idea of the cause of this, I am all ears!

Bob



Gravatar is a globally recognized avatar based on your email address. Re: Post Buffer too Big
  Rick Strahl
  Bob Lucas
  Mar 4, 2015 @ 02:20pm
There are also POST buffer limits in IIS.

I don't recall what those settings are in IIS 6/Server 2003 though.

On IIS7 and later it's on the <httpRuntime> configuration item and maxRequestLength. I think it's similar in IIS 6 but in application host.config and in the admin UI somewhere.

+++ Rick ---



Hi Rick;

I do have this boosted.

The problem is that there are probably 50 or more pdf files uploaded daily.
Most are between 200KB and 600KB. There may be some over a MB on occasion (although it is possible from some other web page to upload a larger file).

However, when the office staff get this message, they can't upload any more files of any size until the server is reboot.
Now, this might not happen for a couple of months or a couple of weeks, although it seems to be a little more regular now (every week or so). No stats kept really.

Even restarting IIS doesn't solve the issue (so reloading the wc.dll doesn't fix the problem). But I think it is some IIS related component. I think I may at one time have tested a .aspx page when the issue surfaced and it also had an issue. Or maybe it didn't, I don't remember!

But this is from a web connect page, at least, once the query hits the wc.dll.
So I am kind of perplexed on what is happening!

Bob



Hi Bob,

There's a post buffer limit flag in wc.ini that you can set. I think the default is 2 megs or somewhere in that range. set the number to 0 or a large number to account for your largest upload.

;*** Limits the size of data posted to the Web Server
;*** In bytes. 0 means allow any size. Note: Oversize
;*** buffers result in Server 500 errors.
PostBufferLimit=0

+++ Rick ---



I have a website that occasionally generates an error:

Request data conversion failed or the POST buffer was too big.

This happens with the uploading of PDF files which is a big part of the internal side of the website.
The pdf files are not too big, generally under a MB in size.

I think it is a message from the web connection dll and when this happens the only solution is to reboot the server.

Restarting IIS does not make a difference.
The server is IIS6 on windows server 2006.

I'd like to find a solution beyond a server reboot.
So if anyone has some idea of the cause of this, I am all ears!

Bob






Rick Strahl
West Wind Technologies

Making waves on the Web
from Maui

Gravatar is a globally recognized avatar based on your email address. Re: Post Buffer too Big
  Bob Lucas
  Rick Strahl
  Mar 9, 2015 @ 12:48pm
Hi Rick;

So after the last reboot of the server (Last Tues) the files were uploading fine until this afternoon, when the users suddenly are getting the message

The request data conversion failed or the POST buffer was too big.

So the web server is being rebooted and this should fix the issue for probably a week.

I really would like to find the reason this happens and why only a reboot will fix it.

Bob


There are also POST buffer limits in IIS.

I don't recall what those settings are in IIS 6/Server 2003 though.

On IIS7 and later it's on the <httpRuntime> configuration item and maxRequestLength. I think it's similar in IIS 6 but in application host.config and in the admin UI somewhere.

+++ Rick ---



Hi Rick;

I do have this boosted.

The problem is that there are probably 50 or more pdf files uploaded daily.
Most are between 200KB and 600KB. There may be some over a MB on occasion (although it is possible from some other web page to upload a larger file).

However, when the office staff get this message, they can't upload any more files of any size until the server is reboot.
Now, this might not happen for a couple of months or a couple of weeks, although it seems to be a little more regular now (every week or so). No stats kept really.

Even restarting IIS doesn't solve the issue (so reloading the wc.dll doesn't fix the problem). But I think it is some IIS related component. I think I may at one time have tested a .aspx page when the issue surfaced and it also had an issue. Or maybe it didn't, I don't remember!

But this is from a web connect page, at least, once the query hits the wc.dll.
So I am kind of perplexed on what is happening!

Bob



Hi Bob,

There's a post buffer limit flag in wc.ini that you can set. I think the default is 2 megs or somewhere in that range. set the number to 0 or a large number to account for your largest upload.

;*** Limits the size of data posted to the Web Server
;*** In bytes. 0 means allow any size. Note: Oversize
;*** buffers result in Server 500 errors.
PostBufferLimit=0

+++ Rick ---



I have a website that occasionally generates an error:

Request data conversion failed or the POST buffer was too big.

This happens with the uploading of PDF files which is a big part of the internal side of the website.
The pdf files are not too big, generally under a MB in size.

I think it is a message from the web connection dll and when this happens the only solution is to reboot the server.

Restarting IIS does not make a difference.
The server is IIS6 on windows server 2006.

I'd like to find a solution beyond a server reboot.
So if anyone has some idea of the cause of this, I am all ears!

Bob






Gravatar is a globally recognized avatar based on your email address. Re: Post Buffer too Big
  Rick Strahl
  Bob Lucas
  Mar 9, 2015 @ 03:35pm
Where is the message coming from? Is this an IIS message or Web Connection Message (you should be able to tell the difference based on the formatting).

It sounds like a Web Connection error message.

If it is a Web Connection message there are two things that cause this:

* The buffer size is bigger than what's configured in wc.ini/web.config for PostBufferLimit
* The server/apppool is running out of memory

+++ Rick ---



Hi Rick;

So after the last reboot of the server (Last Tues) the files were uploading fine until this afternoon, when the users suddenly are getting the message

The request data conversion failed or the POST buffer was too big.

So the web server is being rebooted and this should fix the issue for probably a week.

I really would like to find the reason this happens and why only a reboot will fix it.

Bob


There are also POST buffer limits in IIS.

I don't recall what those settings are in IIS 6/Server 2003 though.

On IIS7 and later it's on the <httpRuntime> configuration item and maxRequestLength. I think it's similar in IIS 6 but in application host.config and in the admin UI somewhere.

+++ Rick ---



Hi Rick;

I do have this boosted.

The problem is that there are probably 50 or more pdf files uploaded daily.
Most are between 200KB and 600KB. There may be some over a MB on occasion (although it is possible from some other web page to upload a larger file).

However, when the office staff get this message, they can't upload any more files of any size until the server is reboot.
Now, this might not happen for a couple of months or a couple of weeks, although it seems to be a little more regular now (every week or so). No stats kept really.

Even restarting IIS doesn't solve the issue (so reloading the wc.dll doesn't fix the problem). But I think it is some IIS related component. I think I may at one time have tested a .aspx page when the issue surfaced and it also had an issue. Or maybe it didn't, I don't remember!

But this is from a web connect page, at least, once the query hits the wc.dll.
So I am kind of perplexed on what is happening!

Bob



Hi Bob,

There's a post buffer limit flag in wc.ini that you can set. I think the default is 2 megs or somewhere in that range. set the number to 0 or a large number to account for your largest upload.

;*** Limits the size of data posted to the Web Server
;*** In bytes. 0 means allow any size. Note: Oversize
;*** buffers result in Server 500 errors.
PostBufferLimit=0

+++ Rick ---



I have a website that occasionally generates an error:

Request data conversion failed or the POST buffer was too big.

This happens with the uploading of PDF files which is a big part of the internal side of the website.
The pdf files are not too big, generally under a MB in size.

I think it is a message from the web connection dll and when this happens the only solution is to reboot the server.

Restarting IIS does not make a difference.
The server is IIS6 on windows server 2006.

I'd like to find a solution beyond a server reboot.
So if anyone has some idea of the cause of this, I am all ears!

Bob









Rick Strahl
West Wind Technologies

Making waves on the Web
from Maui

© 1996-2024