I am developing an application for Pocket PC Mobile 2003. I am trying to
connect to a sql server with the following connection parameters in vb.net
compact framework:
Dim cn As SqlConnection
cn = New SqlConnection
cn.ConnectionString = "Data Source=192.168.1.109;database=TRAKSTAR;User
ID=TRAKSTAR ; password = warehouse"
cn.Open()
I cannot get connection to the sql server DB - I get an error of "SQL server
does not exist or access denied. Source: .net sqlclient data provider
procedure:connectionopen(connect())
I have tried the following for datasource : local , (local) ,localhost ,
adlhplaptop[server name], IP address , IP address with port (1433) and cannot
get a conenction.
I can connect from Networked PCs to the sqlserver Db both via named
instanaces and as well as by IP address alone. I have the same problem trying
to connect either from the Pocket PC device or from the Emulator. I need
some ideas on how to get this connection made.
Thanks in advance.