connection to sql server 2008
hi..
i want to connect to sql server 2008 in vb 2005.
connection string:
Code:
dim SmString as string = "Data Source=192.165.0.153\sqlserver,1433;Network Library=dbmssocn;Initial Catalog=ASM2005;User ID=sa;Password=;"
If gl_con.State = ConnectionState.Closed Then
gl_con = New SqlConnection(SmString)
gl_con.Open()
End If
it will not connect
error:
network related or instance specific error
Re: connection to sql server 2008
Moved To Database Development
Re: connection to sql server 2008
Is the instance name for the SQL Server install really sqlserver?