Results 1 to 3 of 3

Thread: [RESOLVED] Automation Error Catastrophic Failure

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2005

    Resolved [RESOLVED] Automation Error Catastrophic Failure

    I'm using Ciansoft's TwainControlX control to scan documents. It's working great most places but today I did my usual install and every time I go to scan I get this message:

    Error Number -2147418113 Automation Error Catastrophic Failure.

    The scanner is a HP LaserJet M1319fMFP and it does work with the software it came with.

    My software has also worked in the past with at least 10 different types of scanners.


  2. #2
    Super Moderator Hack's Avatar
    Join Date
    Aug 2001
    Searching for mendhak

    Re: Automation Error Catastrophic Failure

    What is your "usual install"?
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2005

    Re: Automation Error Catastrophic Failure

    Ok.. CianSoft (maker of the Twain OCX I use in my program) got me to run a few log files. Turns out that the HP driver for the 1319 isn't 100% TWAIN compliant.

    As I understand it, a TWAIN interface can be told to set 1 for Black, 0 for White or it can be told to do the reverse (1 for White, 0 for Black). The default is 1 for black but just to be safe the Ciansoft's OCX sends a message to the TWAIN driver saying "1 for Black". To date this has worked on at least 10 different scanners and it's totally TWAIN compliant.

    But it doesn't work with the HP 1319. It's driver (and possibly other HP drivers) don't understand the "1 for Black" message so it returns a Catastrophic Failure message that the OCX passes up to my program. Result: My customer hits SCAN and my program says "Catastrophic Failure". Thanks HP!

    Ian over at CianSoft figured out the problem and just turned that "1 for Black" command off for HP scanners then sent me a new OCX. Worked like a charm.

    What's amazing is that this guy in the UK is working so hard to support his control. He's busy checking logs and recompiling his code on a Sunday just to help me out. I paid about $110 back 2 years ago and this guy is giving me tech support and free updates. Amazing. And this is a big deal for me. My customer is opening a new office on Tuesday and with my application saying "Catastrophic Failure" I would have looked lke a total dufus. Ian really came through for me and saved my bacon.

    If you need a decent TWAIN OCX and you want one cheap with amazing support I can't say enough good things about the CianSoft TwainControlX.

    Last edited by Darkbob; Aug 3rd, 2008 at 01:30 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Click Here to Expand Forum to Full Width