I think it might be realted to XP SP2, but I have disabled the firewall
already!
Anyway I do some very simple code like that:
//------- OpenConnection ---------
SqlConnection sqlc = new SqlConnection();
sqlc.ConnectionString = "Server=172.16.0.115;Database=Northwind;User
ID=sa;Password=pwd;Trusted_Connection=False";
sqlc.Open();
sqlc.Close();
//-------------------------------
it used to work alright.
I didn't change anything in this code (but I did install SP2)
now when I try to connect to my SqlServer I get:
a SqlException with the message
"General network error. Check your network documentation."
I disabled the windows firewall already (from Control Panel) what else could
I do?
I read on a newsgroup that someone changed the dirver and it worked....
I don't quite understand, I just use the System.Data.SqlSclient.dll library
shiped with the compact framework, how could I change it ?
--
Lloyd Dupont, Software Architect
Get Your Data Mobile
http://www.ihookdb.com