Another question on UniDirect .Net2 Mobile

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for universal data access
Post Reply
kk
Posts: 5
Joined: Tue 20 Nov 2007 10:37

Another question on UniDirect .Net2 Mobile

Post by kk » Wed 21 Nov 2007 07:33

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?

AlexeyB

Post by AlexeyB » Thu 22 Nov 2007 12:40

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

kk
Posts: 5
Joined: Tue 20 Nov 2007 10:37

Post by kk » Mon 26 Nov 2007 08:08

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.

AlexeyB

Post by AlexeyB » Mon 26 Nov 2007 17:28

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

Post Reply