TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

Could not instantiate Web Twain ActiveX control

Forums › TWAIN Classic › Could not instantiate Web Twain ActiveX control

  • This topic has 0 replies, 1 voice, and was last updated 15 years ago by islam123.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • April 10, 2006 at 3:45 pm #21909 Reply
    islam123
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    when I try to crate object to get Image the Application throws Exception below:

    Could not instantiate ActiveX control ‘ffc6f181-a5cf-4ec4-a441-093d7134fbf2’ because the current thread is not in a single-threaded apartment.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Threading.ThreadStateException: Could not instantiate ActiveX control ‘ffc6f181-a5cf-4ec4-a441-093d7134fbf2’ because the current thread is not in a single-threaded apartment.

    Source Error:

    Line 24: Private Sub InitializeComponent()
    Line 25: Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(scan))
    Line 26: Me.WebTwain = New AxDYNAMICWEBTWAINCTRLLib.AxDynamicWebTwain // throws the Exception
    Line 27: CType(Me.WebTwain, System.ComponentModel.ISupportInitialize).BeginInit()
    Line 28:

    tell me please how can I solve this problem by programming.

    thanks.

  • Author
    Posts
Viewing 1 post (of 1 total)
Reply To: Could not instantiate Web Twain ActiveX control
Your information:




Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • TWAIN for dental imaging integration
  • PDF/R For who and where?
  • Making searchable PDF with PDF/R
  • Backward compatibility with PDF/A and traditional PDF
  • could not open the twain source. Make sure there is a valid source for your sca
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.