Using Twain Dot Net in XBAP (Deployed via ASP.NET)
- by Kaveh Shahbazian
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