TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

TWAIN data source error.

Forums › TWAIN Classic › TWAIN data source error.

  • This topic has 5 replies, 4 voices, and was last updated 6 years ago by JTinAZ.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • September 10, 2013 at 6:51 pm #22889 Reply
    orbian
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    When running my application on some Windows systems, I am seeing an unusual error.

    “The device could not be locked. Check that another application isn’t using the device. (-4630)”

    I’m not sure what is putting up this dialog box but I am assuming twain_32.dll. It only happens on some systems and can’t be easily reproduced. It does appear that the close data source request hangs for a few seconds when it normally returns rather quickly. The close data source returns success but any attempt at opening the data source after that results in the above error. Only rebooting the machine will fix the problem, restarting the application has no effect.

    [attachment=0:t5m6fdkq]lock.JPG[/attachment:t5m6fdkq]

    September 10, 2013 at 7:40 pm #26007 Reply
    MarkM
    Participant
    • Topics - 1
    • Replies - 135
    • Total Posts - 136

    Please reference this site: http://www.scan2soft.com/10

    The error code -4630 is PIX_ERR_LOCKFAILED “The device could not be locked. Check that another application isn’t using the device.” This is defined in the pixerr.h include file, and is an error code for an ISIS driver, suggesting that the TWAIN driver you’re using is built on top of an ISIS driver.

    The dialog box is being raised by the ISIS driver, or some software layer provided by EMC or the scanner vendor. It is not coming from the TWAIN Data Source Manager. You’ll have to contact either EMC or the scanner vendor to get help for this problem.

    July 18, 2014 at 10:50 pm #26008 Reply
    JTinAZ
    Participant
    • Topics - 1
    • Replies - 3
    • Total Posts - 4

    Was this issue resolved? If so, how?

    Thanks!

    August 7, 2014 at 5:44 pm #26009 Reply
    JTinAZ
    Participant
    • Topics - 1
    • Replies - 3
    • Total Posts - 4

    @orbian wrote:

    When running my application on some Windows systems, I am seeing an unusual error.

    “The device could not be locked. Check that another application isn’t using the device. (-4630)”

    I’m not sure what is putting up this dialog box but I am assuming twain_32.dll. It only happens on some systems and can’t be easily reproduced. It does appear that the close data source request hangs for a few seconds when it normally returns rather quickly. The close data source returns success but any attempt at opening the data source after that results in the above error. Only rebooting the machine will fix the problem, restarting the application has no effect.

    [attachment=0:3pxw9saq]lock.JPG[/attachment:3pxw9saq]

    Hello again! I am having the same problem. Were you able to resolve this issue? If so, can you share how?

    I appreciate it!

    February 23, 2015 at 12:17 pm #26010 Reply
    barcelo
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    Hi,

    I have the same problem… did you solve it?

    Thanks in advance.

    February 23, 2015 at 3:51 pm #26011 Reply
    JTinAZ
    Participant
    • Topics - 1
    • Replies - 3
    • Total Posts - 4

    Unfortunately, not. Still hoping for a reply. 🙂

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Reply #26011 in TWAIN data source error.
Your information:




Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • Scanner starts transfer when console gets closed (CITRIX)
  • Kodak RFS 3600
  • Didn’t save enough file scan
  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.