Page 1 of 1
Another question on UniDirect .Net2 Mobile
Posted: Wed 21 Nov 2007 07:33
by kk
I have tried to excute the sample program that is included in UniDirect .Net2 Mobile, however, I found that it has error on the connect with error message "SqlException". I have tested the same server with UniDirect .Net2 and it runs without any error.
How to run on UniDirect .Net2 Mobile correctly since I need to apply my code on handheld device?
Posted: Thu 22 Nov 2007 12:40
by AlexeyB
Please, specify additional information about your connection string.
Do you connect to an instance of SQL Server running on a non-standard port?
In this case for mobile version you should specify the Data Source connection string parameter in the following form: IP,Port, so that server is referenced as an IP address, not a DNS name. For example:192.168.0.1,1434
Posted: Mon 26 Nov 2007 08:08
by kk
Since there is no domain name in the network, I input the IP address: 192.168.1.1.
By the way, I have deploy to the palm and see the different error message that is platform not support.
Posted: Mon 26 Nov 2007 17:28
by AlexeyB
Check whether you configured network access correctly on your target device with ActiveSync and whether network addresses are visible from your device.
You can send the e-mail to unidirect*crlab*com and we will send you a ping demo program which allows you to determine easily whether network addresses are accessible from your device.
Platforms supported by Compact Framework are listed here:
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_fxnetcf/html/9108c732-5314-45ec-83c4-218289397e2e.htm