Using Twain Dot Net in XBAP (Deployed via ASP.NET)
Posted
by Kaveh Shahbazian
on Stack Overflow
See other posts from Stack Overflow
or by Kaveh Shahbazian
Published on 2010-05-09T09:52:32Z
Indexed on
2010/05/23
7:20 UTC
Read the original article
Hit count: 1105
First Version: Is there a way to use Twain Dot Net in a XBAP (WPF in browser)?
Second Version: I have a setup exe (installation) that puts TwainDotNet.dll and TwainDotNet.Wpf.dll on client machine and registers them in GAC (using gacutil.exe).
I have also a XBAP page on my server (IIS). (The XBAP part of the project works fine locally and I am using those 2 twin libraries registered in GAC locally too. And on client machine I have registered my generated certification in Trusted Root and Publishers. I have tested my XBAP without Twin libs on the client machine(s) and it works fine; test XBAP edits a text file on client machine hard).
Now; when I browse my XBAP on a client, I get : "Error getting information about the default source: Failure"; which I think happens in GetDefault of DataSource class.
Is there any work around?
Thanks
© Stack Overflow or respective owner