One of connection issues is that it searches for the wiimote in the windows HID device list and attempts to connect to the first remote. if it can't connect it returns an error.
I put troubleshooting in beta of wiimote plugin that's been released for connection issues. i've copied them below with steps removed that don't relate to releases:
Connecting the Wii Remote
Press the 1+2 buttons on your wiimote
Search for bluetooth devices on your computer
Connect to 'Nintendo RVL-CNT-01'
Troubleshooting
Check that WiimoteLib.dll is in the working directory (if you have opened the exe directly it will be the same folder as the exe)
Check that your Wiimote is connected
Delete any pairings with other Wii devices
Hope this helps