When you upload images in Dynamic Web TWAIN’s buffer, you may receive the following error message returned by the ErrorString property:
Please make sure the address of the server is available. To check this, you can ping the address from a client machine. Note: Both the machine name and the IP address of the server can be used for the HTTP Upload method.
Please make sure you specify the correct port. The default port is 80. If you are using other port, please use HTTPPort to specify it in code. We recommend you get the Port and Server value this way:
strHTTPServer = location.hostname; WebTWAIN.HTTPPort = location.port == "" ? 80 : location.port;
<httpRuntime maxRequestLength="1000000" /> //You can change the value by yourself.
upload_max_filesize = 2M //You can change the value by yourself.
Scenario #1: using ASP on IIS 6:
Scenario #2: using ASP on IIS 7:
In this article: