Page 1 of 1

Auto-detection Page Size Access Violation

Posted: Wed Oct 26, 2011 8:44 pm
by Aaron Jones
When I scan a page using Page size auto detection, an AccessViolationException occurs after the scanner completes scanning the page.

This happens with both Acquire and AcquireModal functions.
I've made sure that I have the most recent scanner drivers for the scanners I am using.
This happens with both the .NET 2.0 and the .NET 4.0 VintaSoftTwain dll
Choosing any other page size from the UI other than Auto-detection does not throw the exception.
Both scanners show IAutomaticBorderDetection and IAutoSize in the capabilities list
The exception is thrown by using the scanner UI to select Auto-detection for page size and also when setting the .PageAutoSize = PageAutoSize.Auto

Operating System: Windows 7 64-bit
Scanners: Canon DR-2050C and Canon DR-2510C

I tried using the DetectBorder function for each page scanned, but the page is not re-sized on the Canon DR-2510C, but it is on the Canon DR-2050C
Is there a way to either prevent the exception from occurring or to make the DetectBorder function work the same with both scanners?


Re: Auto-detection Page Size Access Violation

Posted: Sun Oct 30, 2011 1:58 pm
by Alex
Hello Aaron,

Please generate log-file and send it and description of the problem to

Best regards, Alexander

Re: Auto-detection Page Size Access Violation

Posted: Tue Nov 22, 2011 11:43 am
by Alex
Hello Aaron,

The problem is fixed in version of VintaSoftTwain.NET SDK.

Best regards, Alexander