I can connect to SQL Server on my PC from a Windows Mobile device connected to the PC via USB without any problem. But I can’t do the same from the emulator.
It throws an exception:
SQL Server does not exist or access denied.
The connection string is:
Data Source=172.16.6.114; Initial Catalog=Barcode; User ID=sa; Password=123
What could be a problem? There is not much information in internet 🙁
when connect emulator (connect AND dock), ActiveSync or WMDC should make a connection to your PC.The sql command requires an Internet connection. Check the connection settings in ActiveSync/WMDC for the cradled Emulator (needs DMA choosen as allowed connection type in WMDC, see “Allow connections to one of the following”).

Change the option “This PC connects to” to Internet or Automatic (just toggle between Internet and Automatic if it does not work) in WMDC-Connection Settings.
