Error to Share Smart Card

When trying to share a Smart Card I get an error "There was a mistake using this device"

And this log generated,

2018-06-24 07:33:40 INFO :Installing driver for class SmartCardReader {50DD5230-BA8A-11D1-BF5D-0000F805F530}
2018-06-24 07:33:40 INFO :Downloading https://www.virtualhere.com/sites/default/files/usbserver/windows/win32…
2018-06-24 07:33:41 INFO :Downloading https://www.virtualhere.com/sites/default/files/usbserver/windows/win32…
2018-06-24 07:33:42 INFO :Downloading https://www.virtualhere.com/sites/default/files/usbserver/windows/win32…
2018-06-24 07:33:45 INFO :OK driver installed try again...
2018-06-24 07:33:45 ERROR :Could not bind installed server driver for class SmartCardReader
2018-06-24 07:33:45 ERROR :Error binding device 7 [058f:9540] to connection 1, BIND_ERROR

Thanks!

#2

Client App Log

18:30:38 INFO :Retrying to use device at address 5, as the previous bind failed with an error
18:30:42 INFO :Retrying to use device at address 5, as the previous bind failed with an error
18:30:45 INFO :Retrying to use device at address 5, as the previous bind failed with an error
18:30:53 INFO :Retrying to use device at address 5, as the previous bind failed with an error
18:30:57 INFO :Retrying to use device at address 5, as the previous bind failed with an error
18:31:00 INFO :Retrying to use device at address 5, as the previous bind failed with an error
18:31:07 INFO :In file ../src/msw/window.cpp at line 564: 'SetFocus' failed with error 0x00000057 (El parámetro no es correcto.).
18:34:54 INFO :Connection 38 remotely disconnected gracefully (rx)
18:35:04 INFO :Server ping timeout, shutting down connection 38...
18:35:28 INFO :Could not connect to 25.83.46.101:7575
18:35:58 INFO :Could not connect to 25.83.46.101:7575
18:36:28 INFO :Could not connect to 25.83.46.101:7575
18:36:58 INFO :Could not connect to 25.83.46.101:7575
18:37:28 INFO :Could not connect to 25.83.46.101:7575
18:37:58 INFO :Could not connect to 25.83.46.101:7575
18:38:28 INFO :Could not connect to 25.83.46.101:7575
18:38:52 INFO :In file ../src/msw/window.cpp at line 564: 'SetFocus' failed with error 0x00000057 (El parámetro no es correcto.).
18:39:15 INFO :In file ../src/msw/window.cpp at line 564: 'SetFocus' failed with error 0x00000057 (El parámetro no es correcto.).

#3

What operating system version is the server running on?

#4

32 Bits W7

#5

On the server take a look in C:\windows\inf\setupapi.dev.log and look for lines starting with !!! And the driver vhsd. Can you paste in this post those lines

#6

2018-07-25 13:36:16 INFO :Installing driver for class SmartCardReader {50DD5230-BA8A-11D1-BF5D-0000F805F530}
2018-07-25 13:36:16 INFO :Downloading https://www.virtualhere.com/sites/default/files/usbserver/windows/win64…
2018-07-25 13:36:17 INFO :Downloading https://www.virtualhere.com/sites/default/files/usbserver/windows/win64…
2018-07-25 13:36:17 INFO :Downloading https://www.virtualhere.com/sites/default/files/usbserver/windows/win64…
2018-07-25 13:36:18 INFO :OK driver installed try again...
2018-07-25 13:36:18 ERROR :Could not bind installed server driver for class SmartCardReader
2018-07-25 13:36:18 ERROR :Error binding device 84 [058f:9540] to connection 5, BIND_ERROR

#7

ndv: Flags: 0x00000000
dvi: Class GUID of device changed to: {36fc9e60-c465-11cf-8056-444553540000}.
ndv: Driver package 'C:\WINDOWS\System32\DriverStore\FileRepository\vhsd_usb.inf_amd64_d50892457b7acb2e\vhsd_usb.inf' is already imported.
dvi: Driver Node Name: vhsd_usb.inf:ed86ca11620928ee:DriverInstall:15.45.8.407:usb\vhsd,
dvi: Driver Store Path: C:\WINDOWS\System32\DriverStore\FileRepository\vhsd_usb.inf_amd64_d50892457b7acb2e\vhsd_usb.inf
dvi: Searching for hardware ID(s):
dvi: usb\vid_1d5c&pid_2000&rev_0200
all was ok before, any help will be apreciate it

#8

!!! dvi: Add Service: Binary 'C:\Windows\system32\DRIVERS\wpdusb.sys' for service 'WpdUsb' is not present.
!!! inf: {Install Inf Section [MTP.NT.Services] exit(0xe0000217)}
!!! dvi: Error while installing services.
!!! dvi: Cleaning up failed installation
dvi: {Install DEVICE exit (0xe0000217)}
!!! dvi: Cleaning up failed installation (e0000217)
!!! dvi: Class installer: failed(0xe0000217)!

#9

Can you guys email me the c:\windows\inf\setupapi.dev.log file. I will try to fix. im away on holidays so this may not occur until i get back.

I got another log from another customer with the same issue, and i want to compare the logs.

#10

2019-02-25 14:38:08 INFO :Downloading https://www.virtualhere.com/sites/default/files/usbserver/windows/win64…
2019-02-25 14:38:09 INFO :OK driver installed try again...
2019-02-25 14:38:09 ERROR :Could not bind installed server driver for class SmartCardReader
2019-02-25 14:38:09 ERROR :Error binding device 14 [058f:9540] to connection 2, BIND_ERROR
2019-02-25 14:38:09 INFO :Installing driver for class SmartCardReader {50DD5230-BA8A-11D1-BF5D-0000F805F530}
2019-02-25 14:38:09 INFO :Downloading https://www.virtualhere.com/sites/default/files/usbserver/windows/win64…
2019-02-25 14:38:10 INFO :Downloading https://www.virtualhere.com/sites/default/files/usbserver/windows/win64…
2019-02-25 14:38:10 INFO :Downloading https://www.virtualhere.com/sites/default/files/usbserver/windows/win64…
2019-02-25 14:38:12 INFO :OK driver installed try again...
2019-02-25 14:38:12 ERROR :Could not bind installed server driver for class SmartCardReader
2019-02-25 14:38:12 ERROR :Error binding device 14 [058f:9540] to connection 2, BIND_ERROR

#12

I tried use this version "vhusbdwindk64.exe" and my PC lost all usb ports (conflit drivers)
win7 64 bits
I have this problem with smartcard (Bind Error)

#13

Uninstall the server by running vhusbdwindk64.exe -u

Then reboot and try again

#14

There is no solution for this, friends, the only way is to install their systems again.

I say this from my own experience, I have a payment license and every time it happens, I have to format it to work correctly again.

#15

Are you using win10 or win7?

#17

I think you need to reinstall windows unfortunately.

#18

I got it working for me the following way:
1. Connect all your peripherals
2. Uninstall virtualhere server by running the cmd command: [virtualhere location] vhserver.exe -u (for example: "C:\Programs\vhserver.exe -u")
3. Go to Windows device manager
4. Look for unknown or unidentified devices and delete them (USE THIS AT YOUR OWN RISK, better to be sure what you delete, I knew which one I had to delete)
5. Disconnect the devices and connect them again, wait for a minute or two, the drivers should install again
6. Install vhserver again