connect to SQL Server using PPC

  • Thread starter Thread starter thanhdh
  • Start date Start date
T

thanhdh

y program can connect to SQL Server when PPC connect PC by using
Microsoft ActiveSync but I don't know why it can not connect to SQL
Server by using card wireless.

I use Microsoft Visual Studio .NET 2003 and PPC is WM 2005, sql server
2000, my coonect string "Data Source=ServerIP,1433;Initial
Catalog=Northwind;user id=sa;password=sa" the problem is always error
everytime I open a connection. : "System.Data.sqlClient.SqlException:
SqlException at System.Data.sqlClient.SqlConnection.OnError() at
System.Data.SqlClient.SqlInternalConnection.OnError()"
 
At a guess, maybe because the network connection via WiFi is blocked by a
firewall. Can you ping the indicated server IP from the device when
connected via WiFi? Are you sure that you're using the right server IP?
*Not* the one that you see when connected via ActiveSync, for example?

Paul T.
 
Back
Top