IneedaSmoke
Active member
- Joined
- Mar 4, 2008
- Messages
- 26
- Programming Experience
- Beginner
Hey again, I'm getting login errors running this code :
strConn = "Data Source=.\SQLExpress;Initial Catalog=_UFE_DataSet;Integrated Security=True;"
Dim cn As New SqlConnection(strConn)
cn.Open()
I've written other programs with the exact same syntax that work. I'm using SQL express on my local machine. Oddly enough I can preview data in the tables in this database. The error is :
"Cannot open database"_UFE)DataSet" requeste by teh login. The login failed. Login failed for user 'domain\Ineedasmoke'.
Any ideas? This sql stuff seems pretty tricky.
strConn = "Data Source=.\SQLExpress;Initial Catalog=_UFE_DataSet;Integrated Security=True;"
Dim cn As New SqlConnection(strConn)
cn.Open()
I've written other programs with the exact same syntax that work. I'm using SQL express on my local machine. Oddly enough I can preview data in the tables in this database. The error is :
"Cannot open database"_UFE)DataSet" requeste by teh login. The login failed. Login failed for user 'domain\Ineedasmoke'.
Any ideas? This sql stuff seems pretty tricky.