P
Paul Bell
Hello
I am developing a Pocket PC (XDA 2 - Windows Mobile 2003) application
that needs to connect to a remote SQL Server 2000 database via GPRS.
I am hosting a test database myself so have full control over the
environment. The desktop machine currently has SQL Server 2000 (mixed
mode authentication) and IIS with SQL Server 2000 CE Agent installed
and all the latest service packs.
The problem I am having is that I cannot connect to the remote
database using System.Data.SQLClient namespace when connected via
GPRS. I can use SQLClient happily when connected to the desktop
machine via Activesync – even if the desktop SQL Server does not have
SQL Server CE Agent installed. However if I try the same code to
connect via GPRS it refuses to connect. I can however connect via GPRS
using RDA, if SQL Server CE Agent is installed and setup, but I was
hoping to use the added flexibility of the SQLClient namespace.
I've read that SQLClient only works in fully connected scenarios. Does
this mean that it only works through Activesync? Do I need to use a
different connection string when connecting over GPRS than through
Activesync?
Thanks for your help
Paul
I am developing a Pocket PC (XDA 2 - Windows Mobile 2003) application
that needs to connect to a remote SQL Server 2000 database via GPRS.
I am hosting a test database myself so have full control over the
environment. The desktop machine currently has SQL Server 2000 (mixed
mode authentication) and IIS with SQL Server 2000 CE Agent installed
and all the latest service packs.
The problem I am having is that I cannot connect to the remote
database using System.Data.SQLClient namespace when connected via
GPRS. I can use SQLClient happily when connected to the desktop
machine via Activesync – even if the desktop SQL Server does not have
SQL Server CE Agent installed. However if I try the same code to
connect via GPRS it refuses to connect. I can however connect via GPRS
using RDA, if SQL Server CE Agent is installed and setup, but I was
hoping to use the added flexibility of the SQLClient namespace.
I've read that SQLClient only works in fully connected scenarios. Does
this mean that it only works through Activesync? Do I need to use a
different connection string when connecting over GPRS than through
Activesync?
Thanks for your help
Paul