Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

DotTwain and UserControl embedded within IE web page

Last post 15 Mar 2008, 6:23 PM by Glenn. 5 replies.
Sort Posts: Previous Next
  •  26 Sep 2007, 11:28 AM 12591

    DotTwain and UserControl embedded within IE web page

    I have a web page which references a user control that uses DOTTwain to capture the scanned image. It was based on the sample DOTTwain code. However, when running it, after clicking the acquire button, the Driver interface pop up, I then click SCAN, the application froze. I turned on the tracing and found nothing significant.

     How can I trouble shoot this problem?

     

    Thanks

  •  27 Sep 2007, 2:13 PM 12601 in reply to 12591

    Re: DotTwain and UserControl embedded within IE web page

    Make sure you have set the Device.ModalAcquire property to true.  This is required to use DotTwain from within IE.
    Glenn Chittenden Jr.
    Atalasoft Development Team
  •  06 Mar 2008, 11:29 PM 13427 in reply to 12601

    Re: DotTwain and UserControl embedded within IE web page

    Hi, I am new to Atalasoft and trying to use sample of web DotTwain, but getting nothing. It would be helpful if you can provide me steps to implement DotTwain for web scanning.

  •  07 Mar 2008, 3:25 PM 13433 in reply to 13427

    Re: DotTwain and UserControl embedded within IE web page

    Have you looked at the "Twain Control Demo" source installed with our product?  That should get you started.  There is also a KB on web deploying here:  http://www.atalasoft.com/KB/article.aspx?id=10163&cNode=6N5H4J
    Glenn Chittenden Jr.
    Atalasoft Development Team
  •  12 Mar 2008, 9:29 AM 13466 in reply to 13433

    Re: DotTwain and UserControl embedded within IE web page

    Thanks for the reply.

    I am trying to create by own user control with a thumbnail and a workspace viewer, and using DotTwain for scanning.

    I am getting follwing exception while running it:

    An unhandled exception of type 'System.TypeInitializationException' occurred in Unknown Module.

    Additional information: The type initializer for 'Atalasoft.Imaging.AtalaImage' threw an exception.

    Filed under:
  •  15 Mar 2008, 6:23 PM 13489 in reply to 13466

    Re: DotTwain and UserControl embedded within IE web page

    Looks like a licensing error.  The license file needs to be in the same folder as our assemblies on the web site.  For testing from "localhost" you can use your SDK license.  If you have a DotImage Document Imaging license, you can use it for both DotImage and DotTwain.  If you don't have a Document Imaging license then you need both DotImage and DotTwain license files.

    For this to work on anything other than "localhost" you have to get a server license.  For that you need to contact sales@atalasoft.com.

    Depending on your server, you may also need to add ".lic" to your MIME types before the server will allow our components to download the license file. 


    Glenn Chittenden Jr.
    Atalasoft Development Team
View as RSS news feed in XML