William
Wed Mar 09 14:01:46 CST 2005
Ok, did you install SQL Server on the local system? Did you install the
database? Is the server started? Did you grant rights to the database to the
login account you created on the server? Is the user a valid user in the
database?
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"Carlos G via DotNetMonster.com" <forum@DotNetMonster.com> wrote in message
news:79babd6f4d9c46ae836c54b8e36ad043@DotNetMonster.com...
> Sql Database (Northwind).
> the code is
>
> Dim cn As New SqlConnection("data source=(local);Initial
> Catalog=Northwind;integrated Security=True;")
> Try
> cn.Open()
> Catch ex As Exception
> MessageBox.Show(ex.Source)
> Return
> End Try
> MessageBox.Show("conexion abierta")
>
> really the application is ther , but i tried to connect this example,
>
> thanks
>
> --
> Message posted via
http://www.dotnetmonster.com