SQL Server 2005 and vb.net >>>> Connection String
-
hi i'm using vb.net 2008 and database sql server 2005 ,, my connection string is as :
Data Source=ServerName; Initial Catalog=DataBaseName ;User ID=sa;Password=1111"
it's ok and works as good ,,, but when i test exe project on client pc ,, an error with the connectoin string , this problem has happend with me before with sql server 2000 and i solved by addNetwork=DBMSSOCN;
to the connection string , but with sql server 2005 it still doesn't work ,, what's is the correct connection string to allow the client coneects the server thanksjooooo
-
hi i'm using vb.net 2008 and database sql server 2005 ,, my connection string is as :
Data Source=ServerName; Initial Catalog=DataBaseName ;User ID=sa;Password=1111"
it's ok and works as good ,,, but when i test exe project on client pc ,, an error with the connectoin string , this problem has happend with me before with sql server 2000 and i solved by addNetwork=DBMSSOCN;
to the connection string , but with sql server 2005 it still doesn't work ,, what's is the correct connection string to allow the client coneects the server thanksjooooo
kindman_nb wrote:
an error with the connectoin string ,
What was the error ? Take a look at Connection strings[^]
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions