Hi,
I am trying to connect vb.net 2005 to sql server 2005
But i just cannot login. Its giving me an eroor stating that login failed. I have not used any password(becaus e i do not have any) I use windows authentication.
But i would like to add here that when i click on server explorer(right side). i cannot view my sql server but if i write my username on it then my databases do appear.
where does the problem lie?
Any one please...
thanks
=======
in fact i tried out now it works in vb.net but not in asp,net
here's the coding for vb.net
MyCon = New SqlConnection(" server=111.111. 1.111;uid=;pwd= ;database=demo" )
MsgBox("open")
Any help please
I am trying to connect vb.net 2005 to sql server 2005
But i just cannot login. Its giving me an eroor stating that login failed. I have not used any password(becaus e i do not have any) I use windows authentication.
But i would like to add here that when i click on server explorer(right side). i cannot view my sql server but if i write my username on it then my databases do appear.
where does the problem lie?
Any one please...
thanks
=======
in fact i tried out now it works in vb.net but not in asp,net
here's the coding for vb.net
MyCon = New SqlConnection(" server=111.111. 1.111;uid=;pwd= ;database=demo" )
MsgBox("open")
Any help please
Comment