VintaSoft Twain .NET SDK v10.2
In This Topic
    Troubleshooting
    In This Topic

    If you have a problem with the scanner or other TWAIN device we recommend trying the following things:

    1. Get the latest version of the scanner's driver from the manufacturer's web site and re-install it.

    2. Make sure you have the latest version of VintaSoft Twain .NET SDK.

    3. Some "bad" TWAIN drivers may fail if application tries to set "not supported" capabilities of driver.
      Try to test scanner work using our TWAIN Simple Demo because TWAIN Simple Demo is very simple application, it just scans images from scanner and does not set any device capability. All other our demos (TWAIN Advanced Demo, etc) set device capabilities.

    4. If you still have the problem, please send information about your problem to our support team and we will try to help you.
      We need:
      • Snippet of your code, working project which demonstrates the problem will be welcome
      • Log-file generated by the TWAIN Data Source Manager
      • Log-file generated by VintaSoft Twain .NET SDK

    Here are steps you should do if you want to get the log-files generated by the TWAIN Data Source Manager and VintaSoft Twain .NET SDK:
    1. Enable logging for the TWAIN Data Source Manager (add the system variable "TWAINDSM_LOG" with value "d:\twain.log")
      • Right click on "My Computer" icon
      • Select the "Properties" menu from the context menu
      • Select the "Additional" tab
      • Click the "Environment variables" button
      • Add system variable
    2. Enable logging for VintaSoft Twain .NET SDK (add the line below to code of your application):

      TwainEnvironment.EnableDebugging("d:\vstwain.log")

    3. Run your application
    4. Log-file generated by
      • TWAIN Data Source Manager 1.x can be found here: "C:\users\User\appdata\local\temp\twain.log"
      • TWAIN Data Source Manager 2.x can be found here: "d:\twain.log"
    5. Log-file generated by VintaSoft Twain .NET SDK can be found here: "d:\vstwain.log"