Can you write the code to connect to the database manually?
For example:
Code:
Imports System.Data.SqlClient
'Normal form code
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim con As New SqlConnection([i]ConnectionString[/i])
con.Open
con.Close
End Sub
If you need help writing the ConnectionString, then have a look at
You may need to add ";User Instance=true" (or false) to the end of the connection string, which could be your problem with the wizard for connecting to the database not adding this to the connection string.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.