VintaSoft Twain .NET SDK Discussions

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Board index < VintaSoft Twain < VintaSoft Twain .NET SDK Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Bad protocol error on device.open



Bad protocol error on device.open

Post by ricrempel »

When I call Device.open, I get a Twain Error: "General failure in response to DAT_CAPS. Bad protocol error."

This happens in my own code, but also in the demos provided by VintaSoft. The error is shown in a message box, displayed by the scanner software.

My scanner is a VistaScan, used to scan dental radiographies, so not a very common equipment.

After I close the message, scanning proceeds and I can acquire the images.

My setup: Windows 8 64bits, VintaSoftTwain.NET SDK 8.3 (x86), scanner uses Twain 1.9. Same problem happens on a Windows 7 machine. I have tried changing various parameters, to no avail.

I'm about to purchase Vintasoft's solution, but cannot until this problem is solved. Please, can someone help me?

Thanks!


Re: Bad protocol error on device.open

Post by Alex »

Hello,

Please generate log-file and send it to our support team at support@vintasoft.com for analyze.

Here are steps which you should do if you want to generate an extended log-file of scanner's work:
1. Enable logging (add the lines below to code of your application):
TwainEnvironment.EnableDebugging("d:\vstwain.log")
TwainEnvironment.DebugLevel = DebugLevel.Debug
2. Run your application.
3. Send us a log-file and detailed description of the problem.

Best regards, Alexander


Page 1 from 1: 1