djmikke


Hi, i'm a new in this, so when i create a Login form on VS 2005, i have a little trouble, i already create the db with a table called users and another called things, so the thing i wanna do is authenticate the users, for this on the table i have a 2 rows, "Users" and "password", an when in the login form i put the user an passwor i¡¯t'll be the same on the table, but when i debbug, it shows me

Cannot open database "clientes" requested by the login. The login failed.
Login failed for user 'MOBILEWORK\mikke.

thanks!!!!!!!!





Re: User Tables

Jens K. Suessmeyer


You are switching to a database context which either doesn not exists or the user mikke does not have permissions on. (You are either switching directly to the database or indirectly through a "Initial Catalog" statement within the connection string)

HTH, Jens K. Suessmeyer.

---
http://www.sqlserver2005.de
---