none
Windows 7 and Scanner not opening

    Question

  • It's a Honeywell Orbit 7120, and I set it up using MetrOPOS Admin. The scanner shows up on the list

    Type SoName Enabled Path
    Scanner Orbit03 Yes
    

    I get the full list of scanners, it passes the correct scanner to the ActivateScanner:

     Public Sub ActivateScanner(ByVal selectedScanner As DeviceInfo)
    If Not selectedScanner Is Nothing And Not selectedScanner.IsDeviceInfoOf(activeScanner) Then
    DeactivateScanner()
    UpdateEventHistory("Activate Scanner: " & selectedScanner.ServiceObjectName)
    Try
    activeScanner = explorer.CreateInstance(selectedScanner)
    activeScanner.Open() 'Error is thrown here
    activeScanner.Claim(1000)

    activeScanner.DeviceEnabled = True
    AddHandler activeScanner.DataEvent, AddressOf activeScanner_DataEvent
    AddHandler activeScanner.ErrorEvent, AddressOf activeScanner_ErrorEvent
    activeScanner.DecodeData = True
    activeScanner.DataEventEnabled = True
    lblScanner.Text = "Scanner: " & activeScanner.DeviceName & " : Active"
    Catch ex As PosControlException
    UpdateEventHistory("Activation Failed: " & selectedScanner.ServiceObjectName & " - " & ex.ToString)
    activeScanner = Nothing
    End Try
    End If
    End Sub

    Here's the error:

    Microsoft.PointOfService.PosControlException: Method Open threw an exception. Configuration information error.
    at Microsoft.PointOfService.Legacy.LegacyProxy.ThrowLegacyMethodException(String methodName, Int32 ResultCode, Exception e) at Microsoft.PointOfService.Legacy.LegacyProxy.InvokeMethod(String methodName, Object[]& parameters, Boolean[] byRef)
    at Microsoft.PointOfService.Legacy.LegacyProxy.InvokeMethod(String methodName, Object parameter)
    at Microsoft.PointOfService.Legacy.LegacyProxy.Open()
    at Microsoft.PointOfService.Legacy.LegacyScanner.Open()
    at Processing.frmMain.ActivateScanner(DeviceInfo selectedScanner) in H:\Processing\Processing\frmMain.vb:line 45
    ErrorCode: 403
    ErrorCodeExtended: 0

    "C:\Program Files (x86)\Common Files\microsoft shared\Point Of Service\Control Configurations" is empty, and "C:\Program Files\Common Files\microsoft shared\Point Of Service\Control Configurations" doesn't exist.

    • Edited by AndyD27 Wednesday, March 09, 2011 9:02 PM Title was inaccurate
    Wednesday, March 09, 2011 6:38 PM

Answers

  • Solved:

    I had been instructed to use the scanner in POS USB mode by honeywell tech support for windows 7, but in the past we had been using it in RS232 mode in windows XP. I gave that a try and it started working.

    • Marked as answer by AndyD27 Wednesday, March 09, 2011 9:02 PM
    Wednesday, March 09, 2011 9:02 PM

All replies

  • Solved:

    I had been instructed to use the scanner in POS USB mode by honeywell tech support for windows 7, but in the past we had been using it in RS232 mode in windows XP. I gave that a try and it started working.

    • Marked as answer by AndyD27 Wednesday, March 09, 2011 9:02 PM
    Wednesday, March 09, 2011 9:02 PM
  • Have you given a logical name to the scanner? If no then give a logical name. Further check if the mode of scanner is usb/HID. Also cofiguration as per logical name shpuld be placed in

    C:\Program Files\Common Files\microsoft shared\Point Of Service\Control Configurations

    <PointOfServiceConfig Version="1.0">
     <ServiceObject Type="Scanner" Name="myScanner" Override="yes">
      <HardwareId From="USB\VID_03EB&amp;Pid_6201" To="USB\VID_03EB&amp;Pid_6201" />
      <HardwareId From="USB\VID_03EB&amp;PID_6201&amp;REV_0001" To="USB\VID_03EB&amp;PID_6201&amp;REV_0001" /> 
     </ServiceObject>
    </PointOfServiceConfig>

    Here your HardwareID may be different which could be found from Device manager.

    Monday, May 09, 2011 3:59 PM
  • I dont have any Configuration file in the below address

    C:\Program Files\Common Files\microsoft shared\Point Of Service\Control Configurations

    I,m encouter with this error Microsoft.PointOfService.Legacy.LegacyScanner.Open()

    How i can fix this

    Friday, March 30, 2012 8:36 PM