Hey guys,
My issue is as follows. I had my application working fine.
My connection was the following
"Provider=SQLNCLI;Server=W02\SQLEXPRESS;Database=db1;Trusted_Connection=yes"
Then i dicided to add a datasource. After adding the datasource i think it created a user instance in the SQL Express database. And now im getting this error
Whenever i do the con.Open()Code:Login failed for user 'a\me'. Cannot open database "db1" requested by the login. The login failed.
How can i fix that?
Now when i opend the SQL mgmt to see the database i can only see its name, but the tables are gone![]()
![]()
EDIT:
I deleted the database from the SQL Express and deleted the dataset from VB.NEt and added the database again to the SQL Express. Now i can open the connections again in the VB.NET, but if i add the datasource again samething will happen. Im lost here![]()





Reply With Quote