Loading...

error "can't open default source, twain state is: 1" citrix

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

error "can't open default source, twain state is: 1" citrix

Postby mabdullah » Wed Feb 09, 2011 1:31 pm

i am testing your product on citrix and while trying to scan it gives me an error "can't open default source, twain state is: 1"

and here is the log file created by TwainLogStart method, plz help

Code: Select all

#GdTwain Log Start. Version: 645

RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 1
-------------------
GetValidHwnd: Creating Proxy window.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 1
-------------------
Start: OpenSourceManager.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 1
-------------------
DSM library can not be loaded.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 1
-------------------
End: OpenSourceManager.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 1
-------------------
Start: OpenSourceManager.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 1
-------------------
DSM library can not be loaded.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 1
-------------------
End: OpenSourceManager.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 1
-------------------
mabdullah
 
Posts: 18
Joined: Sun Jan 16, 2011 11:44 am

Re: error "can't open default source, twain state is: 1" cit

Postby Loïc » Wed Feb 09, 2011 4:29 pm

Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: error "can't open default source, twain state is: 1" cit

Postby mabdullah » Wed Feb 09, 2011 8:30 pm



loic i already saw this post and my log says that

Code: Select all
DSM library can not be loaded:

and in this post this DSM library is TWAIN_32.DLL and it's already there in both client and server

so, what's next i can check, plz help cause i am finishing testing your product to buy it.
mabdullah
 
Posts: 18
Joined: Sun Jan 16, 2011 11:44 am

Re: error "can't open default source, twain state is: 1" cit

Postby Loïc » Thu Feb 10, 2011 6:41 pm

Hi,

The TWAIN_32.DLL is probably not accessible form users opening a session. You have to copy this dll in an accessible path, the call the TwainSetDSMPath() method providing the path.

IE:

Code: Select all
Object.TwainSetDMSPath("C:\myapp\dlls\TWAIN_32.DLL")


Hope this helps !

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest

cron