views:

20

answers:

0

I have a windows mobile 6 device I would like to connect to a full SQL 2005 server. From the device I can ping the physical machine, but it won't find the sql server.

Using cn As New SqlConnection("Data Source='myServer\sql2005';Initial Catalog=myDB;User ID=User1;password=password")
         cn.Open()
End Using

I've tested this connection string on a C# console application from a laptop connecting over the same wifi network and it works fine.

Thanks