Go to start>run>cmd
Type "/ipconfig/all" in the command prompt
Locate your dns address; there should be two different ones there. i:e 188.8.131.52; 184.108.40.206
Connect your Nintendo USB Wifi Connector
Go to My Network Connection and right click the USB connection and go to properties.
Under the General Tab there will be a list of options look for Internet Protocol TCP/IP Highlight it then click Properties
Now, click Use the Following DNS Addresses
Enter your two in and see if your Wii will now connect online
I'm not sure if it will work for you but it wouldn't hurt to give it a try. I may have just been lucky. Please post a response and tell me your results. Also I'm using the Official Nintendo Connector not the Datel one. By the way I was getting both 52140 and 51340 error. So this may or may not work for you.