J
Joe
Hi,
I have been trying to create a connection to my SQL Server 2000 from
Pocket PC 2003, over a wireless network connection. The connection
always fails with the SQLException "SQL Server does not exist or
access denied".
It does the same both on the emulator and the device. I have tried
about 10 varieties of connection strings, and am very confident that
there is nothing wrong with it. The SQL Server is definitely running
and accessible, as we run another application which accesses it from
all of our computers on the network. Also I can browse to the SQL
Server and its databases through the browser available in Visual
studio, and in a windows vb.net app, the connection succeeds, using
the SQLConnection component available.
I am currently tring the Northwind application recommended in the
previous thread:
http://groups.google.com/groups?hl=...soft.public.dotnet.framework.compactframework
located at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnroad/html/road08272002.asp
I am using the connection string:
"user id=sa;password=pass;database=NorthWind;server=100.0.1.24"
I have tried both the name and the ip address, and a host of other
combinations
in connection strings, but always have the same problem.
The wireless network connection from the PDA can access the computer
running
SQL server, although it takes time, and the computer running the
emulator is
connected to it by wires and this still has the same problem.
Anyone got any ideas why this isn't working?
Thanks,
Joe
I have been trying to create a connection to my SQL Server 2000 from
Pocket PC 2003, over a wireless network connection. The connection
always fails with the SQLException "SQL Server does not exist or
access denied".
It does the same both on the emulator and the device. I have tried
about 10 varieties of connection strings, and am very confident that
there is nothing wrong with it. The SQL Server is definitely running
and accessible, as we run another application which accesses it from
all of our computers on the network. Also I can browse to the SQL
Server and its databases through the browser available in Visual
studio, and in a windows vb.net app, the connection succeeds, using
the SQLConnection component available.
I am currently tring the Northwind application recommended in the
previous thread:
http://groups.google.com/groups?hl=...soft.public.dotnet.framework.compactframework
located at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnroad/html/road08272002.asp
I am using the connection string:
"user id=sa;password=pass;database=NorthWind;server=100.0.1.24"
I have tried both the name and the ip address, and a host of other
combinations
in connection strings, but always have the same problem.
The wireless network connection from the PDA can access the computer
running
SQL server, although it takes time, and the computer running the
emulator is
connected to it by wires and this still has the same problem.
Anyone got any ideas why this isn't working?
Thanks,
Joe