Dosadi home  

Go Back   Dosadi Forum > Dosadi > EZTwain Pro Library

Thread Tools Search this Thread Display Modes
Old 01-24-2008, 09:18 PM
ChrisJ ChrisJ is offline
Join Date: Jan 2008
Posts: 1
Default Error - "Unable to open default TWAIN device"

Our application utilizes EZTwain so that users can scan their own documents into the program. It works very well, except for on a particular user's computer. When we first loaded our application onto their computer, EXTwain worked without complications. However, the harddrive on that computer had to be wiped due to a virus, and ever since then we receive the following message whenever we try to utilize EZTwain:

"Unable to open default TWAIN device"

The computer is loaded the exact same way it was before (WindowsXP, same scanner drivers), and we loaded the same version of our application onto the machine as well. The scanner works when using the scanning tool provided by the manufacturer. The other computers running our application on that network can utilize EZTwain without any issues. We even tried to take the scanner from a computer that did work, and load it onto the computer in question, and it still did not function. This seems to indicate that something is not set up correctly on that particular computer, but we're unsure of what could be wrong. Anyone have any ideas?

Reply With Quote
Old 01-28-2008, 07:13 AM
Spike's Avatar
Spike Spike is offline
Join Date: Oct 2004
Location: Northampton, MA
Posts: 1,664

Hi Chris - Try digging our Twerp32.exe sample program out of the EZTwain Pro toolkit on a development machine - should be in Program Files\EZTwain\Release
Put on the problem machine and run it, then do Help - About. The About dialog will show all installed TWAIN devices, with the default device highlighted. If it's something simple, that will show it - driver not in the list, etc.

You can also do File - Select Source and if your scanner shows up in the list, select it and click [OK]. That *should* make it the default TWAIN device on the system. Try File - Acquire as a check - it should open that scanner's dialog.
-spike _/\_
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 04:19 AM.

Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content 2007-2009 Dosadi