【问题标题】:POS For .NET: Failed to set property DeviceEnabled property of MSR.NET 的 POS:无法设置 MSR 的 DeviceEnabled 属性
【发布时间】:2011-10-10 13:24:54
【问题描述】:

.NET 的 POS: 我正在尝试将 MSR 与 .net 的 POS 连接,但我无法设置属性 DeviceEnabled = true。 它给了我以下异常

编辑: 无法启用设备。有关详细信息,请参阅内部异常。

{“访问被拒绝”}

在 Microsoft.PointOfService.ExampleServiceObjects.HidReader.HidThread.StartReading() 在 Microsoft.PointOfService.ExampleServiceObjects.HidReader.OpenDevice() 在 Microsoft.PointOfService.ExampleServiceObjects.ExampleMsr.set_DeviceEnabled(布尔值)

【问题讨论】:

  • 您给了我们异常的堆栈跟踪,但没有提供异常message,甚至没有提供异常的type。这些都可能是非常有用的信息。

标签: .net point-of-sale opos


【解决方案1】:

我写错了硬件 ID。我写了 HID 键盘模拟器。 实际上它应该是HID设备。 此错误仅表示仍未检测到您的设备。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-03-01
    • 2019-03-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多