When you upload images in Dynamic Web TWAIN’s buffer, you may receive the following error messages returned by the ErrorString property:
If you are using IIS 6:
If you are using IIS:
If you are using ASP.NET, you can change the value at the following line in the “Web.Config” file.
<httpRuntime maxRequestLength="1000000" /> //You can change the value by yourself.
If you are using PHP, you can change the value at the following line in the php.ini file: upload_max_filesize = 2M (You can change the value by yourself.)
Please set the port number of the HTTP server in your code. You can use the HTTPPort property to set the port number. Click here for more information about this property.
The problem may occur when you use “localhost” as the server name in the HTTP Upload method, when actually, you specified the address of your server using an IP address. In this case, please modify the server name to an available IP address in your code and then try again.
In this article: