connect to SQL Server using PPC

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()"
 
P

Paul G. Tobey [eMVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top