VintaSoft Twain .NET SDK 14.1: Documentation for .NET developer
In This Topic
    Troubleshooting
    In This Topic
    If you have a problem with TWAIN scanner, we recommend to try the following things:
    1. Get the latest version of TWAIN driver for TWAIN scanner from web site of TWAIN scanner manufacturer and re-install the TWAIN driver.

    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 TWAIN driver.
      Try to test TWAIN scanner work using our TWAIN Simple Demo because TWAIN Simple Demo is very simple application, it just scans images from TWAIN scanner and does not set any capability of TWAIN device. 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"