TWAIN ActiveX Control, Plug-in, Scanner SDK, Component, HTTP Control/SDK

Dynamsoft TWAIN Products

Support Community for TWAIN Control/Component/SDK for Scanning Solutions
* Login   * Register
* FAQ    * Search

It is currently Tue May 22, 2012 2:53 am




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: uploads and downloads
PostPosted: Wed Mar 22, 2006 10:30 am 
Offline

Joined: Wed Mar 22, 2006 10:16 am
Posts: 1
Hi,
I am having problems running dynamic web twain on a web server. It is all working correctly on my local machine but when I put it on the web server, the problems start.

1. I have one pc where everything works correctly. This machine does not have the dev software on it.

2. On most of the machines the page loads and displays correctly, but when I try to upload images I get an error that says, The server returned an invalid or unrecognized response, in the errorstring property. I tried the httppostresponsestring but that showed nothing. The really weird part is every once in a while it works, this has happened maybe twice. This has happened on machines with the dev software and without it.

3. On most of these machines, but not all, when I try to download images from the server to be displayed in the control ie. just hangs for approximately 5 min. and never gets the image or an error that I can tell.

This is driving me crazy so any help would be appreciated.

Thanks, Keith Parrish

_________________
Keith Parrish
Custom Data Processing, Inc.


Top
 Profile  
 
 Post subject: SSL Related?
PostPosted: Thu Mar 23, 2006 6:53 am 
Offline

Joined: Wed Mar 15, 2006 5:33 pm
Posts: 5
I am experiencing the exact same symptoms, but the cause, for me, seems to be related to switching from a completely unencrypted site to a pure https/ssl site. I can keep my web pages SSL'd, but if I post on port 443 instead of port 80, then I get those intermittent results that you described. I hope this helps.
FYI - Here is the code I use to upload:
Code:
function btnUpload_onclick_duplex()
   {

      //frmScan.DynamicWebTwain1.IfDuplexEnabled   = true;
      frmScan.DynamicWebTwain1.XferCount = 50;
      //frmScan.DynamicWebTwain1.HTTPPort = 80;                     //the web service's port
      frmScan.DynamicWebTwain1.HTTPPort = 443;                     //the web service's SSL port
      frmScan.DynamicWebTwain1.HTTPUploadAllThroughPostAsMultiPageTIFF("<?=$_SERVER["SERVER_NAME"]?>", "<?=getUrl()?>remotescan_saveToFile.php", "doesnmatter_will_be_overwritten_on_save.tiff");

      if (frmScan.DynamicWebTwain1.ErrorCode != 0) {
         alert("Error:" + frmScan.DynamicWebTwain1.ErrorString);
         alert("Error: Technical Details" + frmScan.DynamicWebTwain1.HTTPPostResponseString);
      }
      else                                       //succeded
         frmScan.submit();
   }


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 23, 2006 3:15 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1075
Hi kwpcdp,

As we have discussed over the phone, please email your .lpk, .cab and a simplified web page to twainsupport@dynamsoft.com and we will pinpoint the problem for you.

Thanks.

_________________
Catherine Sea
TWAIN Support Team
TWAIN ActiveX/Plug-in for Web Applications, Scanner COM Control
TWAIN .NET Component/SDK for Desktop Applications

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 23, 2006 3:16 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1075
Hi jjrohrer,

Can you upload to port 80 successfully?

_________________
Catherine Sea
TWAIN Support Team
TWAIN ActiveX/Plug-in for Web Applications, Scanner COM Control
TWAIN .NET Component/SDK for Desktop Applications

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject: 80 works fine
PostPosted: Thu Mar 23, 2006 4:01 pm 
Offline

Joined: Wed Mar 15, 2006 5:33 pm
Posts: 5
Uploading to port 80 works fine. I've tested uploading to port 80 from an http page and from an https page - both work great.
JJ


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 07, 2006 9:16 pm 
Offline

Joined: Mon Jan 16, 2006 12:08 am
Posts: 7
Hi,

I am facing the same problems with the Upload method, especially the weird part where it worked with me for about 3 times.

We bought the control since 1 month and we are still unable to deploy it because of this problem.

On my machine it works fine when giving the host name for the method, but if you are giving the IP address it doesnot work fine. On the production web server it doesnot work even if you provide the host name.

Check my post on this issue:

http://www.dynamsoft.com/forum/viewtopic.php?t=402


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 25, 2006 3:30 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1075
The problem described above is caused by a bug of Dynamic Web TWAIN.

The new version has gone through our internal test and the official version will be released in 1 week.

Here, I want to thank those customers who participate in the beta test of the new version.

Thanks.

_________________
Catherine Sea
TWAIN Support Team
TWAIN ActiveX/Plug-in for Web Applications, Scanner COM Control
TWAIN .NET Component/SDK for Desktop Applications

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 25, 2006 8:55 pm 
Offline

Joined: Mon Jan 16, 2006 12:08 am
Posts: 7
How are we going to get this new release?
What about uploading to servers behind a proxy? Do we have a solution for this issue too?

Thanks for your update and support.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 28, 2006 9:56 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1075
We will release the new version and email all the purchased customers next week.

Quote:
What about uploading to servers behind a proxy? Do we have a solution for this issue too?


Could you please describe the proxy issue so that we can look into it?

Thanks.

_________________
Catherine Sea
TWAIN Support Team
TWAIN ActiveX/Plug-in for Web Applications, Scanner COM Control
TWAIN .NET Component/SDK for Desktop Applications

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

It is currently Tue May 22, 2012 2:53 am


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Copyright © 2010 Dynamsoft Corporation. All Rights Reserved. | Knowledge Base | Source Control Blog