Error at enabling the Data Source - minolta network scanner

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Moderator: Alex

Post Reply
placentiusz
Posts: 2
Joined: Wed Jul 29, 2009 10:26 pm

Error at enabling the Data Source - minolta network scanner

Post by placentiusz »

When i set ShowUI=false i have this error:
Error at enabling the Data Source

When showUi=true all works.

In advanced demo i can't get device capabilities(error below).
I test konica minolta bizhub C203 (network scanner) twain 1.8 driver.

placentiusz

************** Tekst wyjątku **************
System.NullReferenceException: Odwołanie do obiektu nie zostało ustawione na wystąpienie obiektu.
w ..(Object )
w Vintasoft.Twain.VSTwain.(DeviceCapability )
w Vintasoft.Twain.VSTwain.GetPageSizes()
w TwainAdvanced.DevCapsForm.BGetCaps_Click(Object sender, EventArgs e)
w System.Windows.Forms.Control.OnClick(EventArgs e)
w System.Windows.Forms.Button.OnClick(EventArgs e)
w System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
w System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
w System.Windows.Forms.Control.WndProc(Message& m)
w System.Windows.Forms.ButtonBase.WndProc(Message& m)
w System.Windows.Forms.Button.WndProc(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Zestawy załadowane **************
mscorlib
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TwainAdvanced
Wersja zestawu: 1.0.0.0
Wersja Win32: 1.0.0.0
CodeBase: file:///C:/Program%20Files/VintaSoft/VSTwain.NET.5_0/Bin/v2.0/TwainAdvanced.exe
----------------------------------------
System.Windows.Forms
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Vintasoft.Twain
Wersja zestawu: 5.0.3.5
Wersja Win32: 5.0.3.5
CodeBase: file:///C:/Program%20Files/VintaSoft/VSTwain.NET.5_0/Bin/v2.0/Vintasoft.Twain.DLL
----------------------------------------
System.Xml
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_pl_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Alex
Site Admin
Posts: 2313
Joined: Thu Jul 10, 2008 2:21 pm

Re: Error at enabling the Data Source - minolta network scanner

Post by Alex »

Hello,

Please genarate a log-file of scanner work and send it to support@vintasoft.com.

Here are steps which you should do to generate a log-file of scanner's work:
  • Set the IsLoggingEnabled property to True before the StartDevice method.
  • Set the path to log-file with the LogFilePath property if path "c:\vstwain.log" is not accessible by your application.
  • Run your application.
  • Send us a log-file and detailed description of the problem.
Best regards, Alexander
Post Reply