Error while connecting to sql databaseWhen I try to connect to mssql database from my desktop application, it gives the error: "Cannot open database "crickyritesh_riteshcricscore" requested by the login. The login failed.
Login failed for user 'REETESH\Ritesh'.". What may be the reason behind it? Help me please.
My connection string is "Data Source=.\SQLExpress;Persist Security Info=True;Integrated Security=SSPI;Initial Catalog=myUserId_DatabaseName"